RE: [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry WebDNA server not

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114788
interpreted = N
texte = 2414 --_000_CWLP265MB1556160F61D8E9BCF318E23E818A0CWLP265MB1556GBRP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Also grateful for the info below, thank you Ken, appreciated From: Stuart Tremain Sent: 21 September 2019 23:28 To: WebDNA Talk List Subject: Re: [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry WebDNA server n= ot running" ... Hey Ken That is a really great tip, thanks very much !! Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au On 22 Sep 2019, at 00:05, WebDNA Solutions > wrote: Two months ago I ran into the dreaded "Sorry WebDNA server not running" error message on my local development server after an OS upgrade to Ubuntu 18.04 and the follow-up installation of the then-latest version of Apache. Stuart saved me by pointing out that this WebDNA error was caused by the Apache "PrivateTmp=3Dtrue" setting in this file: /lib/systemd/system/apache2.service So I manually changed it to "PrivateTmp=3Dfalse" and rebooted. Then WebDNA ran fine until yesterday when I was hit by the "Sorry WebDNA server not running" error again ... :( The first thing I checked was my PrivateTmp setting in this file, and surprisingly it was set back to its original "true" value! This file was apparently overwritten during last week's Apache upgrade, but the problem never appeared until yesterday when I rebooted the server -- likely because last week's upgrade did not restart Apache or reboot the server, so the new file was never read into RAM until yesterday's reboot. It bothered me that an Apache upgrade would overwrite my manual configuration change, so I did some more research into this issue. Apparenly we're not supposed to manually edit this file. Instead we're supposed to run the command: sudo systemctl edit apache2.service .... which creates a uniquely named OVERRIDE FILE in: /etc/systemd/system/apache2.service.d/ And then since this new override file starts out blank, we must enter "PrivateTmp=3Dfalse" on a single line (without the quotes) and save it with its default name and in its default location, then close/exit the editor and restart Apache. This override file will not be changed during an Apache upgrade, which means any overrides we create in this file will persist after upgrading Apache in the future. BOTTOM LINE: Never edit "/lib/systemd/system/apache2.service" manually. Just edit it via the above command and instructions. Then restart Apache and check to make sure WebDNA is running. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Urgent/Emergency Phone: (228) 222-2917 Website, Database, Network, and Communication Systems --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list talk@webdna.us To= unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.u= s/page.dna?numero=3D55 Bug Reporting: support@webdna.us --_000_CWLP265MB1556160F61D8E9BCF318E23E818A0CWLP265MB1556GBRP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Also grateful for the info belo= w, thank you Ken, appreciated

 

From: Stuart Tremain
Sent: 21 September 2019 23:28
To: WebDNA Talk List
Subject: Re: [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry Web= DNA server not running" ...

 

Hey Ken

That is a really great tip, thanks very much !!


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 22 Sep 2019, at 00:05, WebDNA Solutions <ken@webdnasolutions.com> w= rote:

Two months ago I ran into the dreaded "Sorry WebDNA se= rver
not running" error message on my local development server
after an OS upgrade to Ubuntu 18.04 and the follow-up
installation of the then-latest version of Apache.

Stuart saved me by pointing out that this WebDNA error was
caused by the Apache "PrivateTmp=3Dtrue" setting in this file:
/lib/systemd/system/apache2.service

So I manually changed it to "PrivateTmp=3Dfalse" and rebooted. Then WebDNA ran fine until yesterday when I was hit by the
"Sorry WebDNA server not running" error again ...

:(

The first thing I checked was my PrivateTmp setting in this
file, and surprisingly it was set back to its original
"true" value!

This file was apparently overwritten during last week's Apache
upgrade, but the problem never appeared until yesterday when
I rebooted the server -- likely because last week's upgrade
did not restart Apache or reboot the server, so the new file
was never read into RAM until yesterday's reboot.

It bothered me that an Apache upgrade would overwrite my
manual configuration change, so I did some more research
into this issue. Apparenly we're not supposed to manually
edit this file. Instead we're supposed to run the command:

sudo systemctl edit apache2.service

.... which creates a uniquely named OVERRIDE FILE in:

/etc/systemd/system/apache2.service.d/

And then since this new override file starts out blank, we
must enter "PrivateTmp=3Dfalse" on a single line (without the
quotes) and save it with its default name and in its default
location, then close/exit the editor and restart Apache.

This override file will not be changed during an Apache
upgrade, which means any overrides we create in this file
will persist after upgrading Apache in the future.

BOTTOM LINE:

Never edit "/lib/systemd/system/apache2.service" manually.
Just edit it via the above command and instructions. Then
restart Apache and check to make sure WebDNA is running.

Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolu= tions.com
Urgent/Emergency Phone: (228) 222-2917
Website, Database, Network, and Communication Systems



---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: talk-leave@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list talk@webdna.us To= unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.u= s/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --_000_CWLP265MB1556160F61D8E9BCF318E23E818A0CWLP265MB1556GBRP_-- . Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry WebDNA server not ("Scott @ Itsula" 2019)
  2. Re: [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry WebDNA server not (Stuart Tremain 2019)
  3. Re: [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry WebDNA server not (Stuart Tremain 2019)
  4. Re: [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry WebDNA server not (Stuart Tremain 2019)
2414 --_000_CWLP265MB1556160F61D8E9BCF318E23E818A0CWLP265MB1556GBRP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Also grateful for the info below, thank you Ken, appreciated From: Stuart Tremain Sent: 21 September 2019 23:28 To: WebDNA Talk List Subject: Re: [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry WebDNA server n= ot running" ... Hey Ken That is a really great tip, thanks very much !! Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au On 22 Sep 2019, at 00:05, WebDNA Solutions > wrote: Two months ago I ran into the dreaded "Sorry WebDNA server not running" error message on my local development server after an OS upgrade to Ubuntu 18.04 and the follow-up installation of the then-latest version of Apache. Stuart saved me by pointing out that this WebDNA error was caused by the Apache "PrivateTmp=3Dtrue" setting in this file: /lib/systemd/system/apache2.service So I manually changed it to "PrivateTmp=3Dfalse" and rebooted. Then WebDNA ran fine until yesterday when I was hit by the "Sorry WebDNA server not running" error again ... :( The first thing I checked was my PrivateTmp setting in this file, and surprisingly it was set back to its original "true" value! This file was apparently overwritten during last week's Apache upgrade, but the problem never appeared until yesterday when I rebooted the server -- likely because last week's upgrade did not restart Apache or reboot the server, so the new file was never read into RAM until yesterday's reboot. It bothered me that an Apache upgrade would overwrite my manual configuration change, so I did some more research into this issue. Apparenly we're not supposed to manually edit this file. Instead we're supposed to run the command: sudo systemctl edit apache2.service .... which creates a uniquely named OVERRIDE FILE in: /etc/systemd/system/apache2.service.d/ And then since this new override file starts out blank, we must enter "PrivateTmp=3Dfalse" on a single line (without the quotes) and save it with its default name and in its default location, then close/exit the editor and restart Apache. This override file will not be changed during an Apache upgrade, which means any overrides we create in this file will persist after upgrading Apache in the future. BOTTOM LINE: Never edit "/lib/systemd/system/apache2.service" manually. Just edit it via the above command and instructions. Then restart Apache and check to make sure WebDNA is running. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Urgent/Emergency Phone: (228) 222-2917 Website, Database, Network, and Communication Systems --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list talk@webdna.us To= unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.u= s/page.dna?numero=3D55 Bug Reporting: support@webdna.us --_000_CWLP265MB1556160F61D8E9BCF318E23E818A0CWLP265MB1556GBRP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Also grateful for the info belo= w, thank you Ken, appreciated

 

From: Stuart Tremain
Sent: 21 September 2019 23:28
To: WebDNA Talk List
Subject: Re: [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry Web= DNA server not running" ...

 

Hey Ken

That is a really great tip, thanks very much !!


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 22 Sep 2019, at 00:05, WebDNA Solutions <ken@webdnasolutions.com> w= rote:

Two months ago I ran into the dreaded "Sorry WebDNA se= rver
not running" error message on my local development server
after an OS upgrade to Ubuntu 18.04 and the follow-up
installation of the then-latest version of Apache.

Stuart saved me by pointing out that this WebDNA error was
caused by the Apache "PrivateTmp=3Dtrue" setting in this file:
/lib/systemd/system/apache2.service

So I manually changed it to "PrivateTmp=3Dfalse" and rebooted. Then WebDNA ran fine until yesterday when I was hit by the
"Sorry WebDNA server not running" error again ...

:(

The first thing I checked was my PrivateTmp setting in this
file, and surprisingly it was set back to its original
"true" value!

This file was apparently overwritten during last week's Apache
upgrade, but the problem never appeared until yesterday when
I rebooted the server -- likely because last week's upgrade
did not restart Apache or reboot the server, so the new file
was never read into RAM until yesterday's reboot.

It bothered me that an Apache upgrade would overwrite my
manual configuration change, so I did some more research
into this issue. Apparenly we're not supposed to manually
edit this file. Instead we're supposed to run the command:

sudo systemctl edit apache2.service

.... which creates a uniquely named OVERRIDE FILE in:

/etc/systemd/system/apache2.service.d/

And then since this new override file starts out blank, we
must enter "PrivateTmp=3Dfalse" on a single line (without the
quotes) and save it with its default name and in its default
location, then close/exit the editor and restart Apache.

This override file will not be changed during an Apache
upgrade, which means any overrides we create in this file
will persist after upgrading Apache in the future.

BOTTOM LINE:

Never edit "/lib/systemd/system/apache2.service" manually.
Just edit it via the above command and instructions. Then
restart Apache and check to make sure WebDNA is running.

Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolu= tions.com
Urgent/Emergency Phone: (228) 222-2917
Website, Database, Network, and Communication Systems



---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: talk-leave@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list talk@webdna.us To= unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.u= s/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --_000_CWLP265MB1556160F61D8E9BCF318E23E818A0CWLP265MB1556GBRP_-- . "Scott @ Itsula"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Saving Text Areas with Orders (1997) Merging databases (1997) Plugin or CGI or both (1997) Re:Item options w/ price adjustment (1997) Round up prices (2000) [shownext] and sort (1998) [WebDNA] Is a '.webdna' suffix better? (2008) Emailer & WebStar Mail and 551 Error (2000) Looking for WebDNA 3.08 MAC (2003) New Mac Emailer... (1997) find with exceptions (1997) Another new bug found ... (2000) decrypt trouble (2006) [WriteFile] problems (1997) RE: [WebDNA] Why doesn't this returnraw redirect to the new page? (2009) How to stop WebCat services on NT? (2000) MacAutorize and T1 (1998) Multiple fields on 1 input (1997) problems with 2 tags (1997) WebCatalog 2.0 b 15 mac (1997)