** Description changed:

- multiple instances don't start after reboot without the default apache
- enabled.
+ multiple apache 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to