enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #05727
[Bug 1627339] [NEW] multiple apache instances don't start after reboot
Public bug reported:
multiple instances don't start after reboot without the default apache
enabled.
:~# sh /usr/share/doc/apache2/examples/setup-instance xxx
:~# sh /usr/share/doc/apache2/examples/setup-instance yyy
:~# systemctl enable apache2-xxx
:~# systemctl enable apache2-yyy
disable default installed apache because ist should only the template
for the suffix apaches
:~# systemctl disable apache2
:~# shutdown -r now
/var/run/apache2 ist now no longer available because tmpfs
:~# cat /var/log/apache2-zzz/error.log
[...]
[Sat Sep 24 11:10:00.566132 2016] [core:error] [pid 2229] AH00100: apache2: could not log pid to file /var/run/apache2/apache2-xxx.pid
[...]
solution
:~# vim /etc/apache2-xxx/envvars
:~# vim /etc/apache2-yyy/envvars
[...]
#export APACHE_PID_FILE=/var/run/apache2/apache2$SUFFIX.pid
export APACHE_PID_FILE=/var/run/apache2$SUFFIX/apache2$SUFFIX.pid
or rather in /etc/apache2/envvars
** Affects: apache2 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1627339
Title:
multiple apache instances don't start after reboot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1627339/+subscriptions
Follow ups