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

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114784
interpreted = N
texte = 2410 --Apple-Mail=_F320FAD8-307A-4162-9122-D61851703DAD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Ken I just tried this on a new install, however it did not work and I had to = edit the /lib/systemd/system/apache2.service file directly. Did you find any more information on making override.conf file work ? Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 22 Sep 2019, at 00:05, WebDNA Solutions = wrote: >=20 > 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.=20 >=20 > Stuart saved me by pointing out that this WebDNA error was > caused by the Apache "PrivateTmp=3Dtrue" setting in this file: >=20 > /lib/systemd/system/apache2.service >=20 > 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 ... >=20 > :( >=20 > The first thing I checked was my PrivateTmp setting in this > file, and surprisingly it was set back to its original > "true" value! >=20 > 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. >=20 > 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: >=20 > sudo systemctl edit apache2.service >=20 > ... which creates a uniquely named OVERRIDE FILE in: >=20 > /etc/systemd/system/apache2.service.d/ >=20 > 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. >=20 > 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. >=20 > BOTTOM LINE: >=20 > 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. >=20 > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Urgent/Emergency Phone: (228) 222-2917 > Website, Database, Network, and Communication Systems >=20 >=20 >=20 > --------------------------------------------------------- > 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 --Apple-Mail=_F320FAD8-307A-4162-9122-D61851703DAD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = Ken

I just tried = this on a new install, however it did not work and I had to edit = the /lib/systemd/system/apache2.service file directly.

Did you find any more = information on making override.conf file work ?


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 22 Sep 2019, at 00:05, WebDNA Solutions <ken@webdnasolutions.com> 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 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 --Apple-Mail=_F320FAD8-307A-4162-9122-D61851703DAD-- . 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)
  5. [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry WebDNA server not running" (WebDNA Solutions 2019)
2410 --Apple-Mail=_F320FAD8-307A-4162-9122-D61851703DAD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Ken I just tried this on a new install, however it did not work and I had to = edit the /lib/systemd/system/apache2.service file directly. Did you find any more information on making override.conf file work ? Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 22 Sep 2019, at 00:05, WebDNA Solutions = wrote: >=20 > 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.=20 >=20 > Stuart saved me by pointing out that this WebDNA error was > caused by the Apache "PrivateTmp=3Dtrue" setting in this file: >=20 > /lib/systemd/system/apache2.service >=20 > 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 ... >=20 > :( >=20 > The first thing I checked was my PrivateTmp setting in this > file, and surprisingly it was set back to its original > "true" value! >=20 > 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. >=20 > 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: >=20 > sudo systemctl edit apache2.service >=20 > ... which creates a uniquely named OVERRIDE FILE in: >=20 > /etc/systemd/system/apache2.service.d/ >=20 > 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. >=20 > 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. >=20 > BOTTOM LINE: >=20 > 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. >=20 > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Urgent/Emergency Phone: (228) 222-2917 > Website, Database, Network, and Communication Systems >=20 >=20 >=20 > --------------------------------------------------------- > 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 --Apple-Mail=_F320FAD8-307A-4162-9122-D61851703DAD Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = Ken

I just tried = this on a new install, however it did not work and I had to edit = the /lib/systemd/system/apache2.service file directly.

Did you find any more = information on making override.conf file work ?


Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 22 Sep 2019, at 00:05, WebDNA Solutions <ken@webdnasolutions.com> 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 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 --Apple-Mail=_F320FAD8-307A-4162-9122-D61851703DAD-- . Stuart Tremain

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:

[WebDNA] MD5 Hash issue (2009) Security (1998) Linux Beta4 problems with multirecord returns (2000) RE: Formulas.db + Users.db (1997) Browser frames and URLs in the Location field (2004) $purchase WITHOUT creditcar (1997) Quick Question About Sorting (1997) POST (1997) [OT] Discussion forum, last visit, Cookie, ... (2003) [FoundItems] solved - thanks (1997) Major Security Hole IIS NT (1998) Euro Converter (1999) apparently to problem isolated (1997) Searchable list archive (1997) Email notification to one of multiple vendors ? (1997) Possible Bug in 2.0b15.acgi (1997) WebCatalog 4.0 Users that want to talk to the Media.... (2000) Catalogs and W* (1996) [delete] problem (1997) [WebDNA] [WSC] WebDNA Development Summit (2014)