[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#803190: apache2: systectl status apache2.service reports startup failed, even though apache2 is running



On Dienstag, 27. Oktober 2015 12:51:42 CEST Adam Hupp wrote:
> After upgrading to jessie the apache2 init script reports failure (via
> systemctl) even though it actually starts up correctly.
> 
> adam@gaba:~$ sudo /etc/init.d/apache2 start
> Starting apache2 (via systemctl): apache2.serviceJob for apache2.service
> failed. See 'systemctl status apache2.service' and 'journalctl -xn' for
> details. failed!


> -- Configuration Files:
> /etc/apache2/apache2.conf changed:
...
> PidFile /var/run/apache2.pid

The init script depends on the pid file defined in /etc/apache2/envvars as 
APACHE_PID_FILE being tused in apache2.conf. You had a mismatch there and 
therefore the init script got confused.

Not sure if there is a reasonable way to fix that in the package.


Reply to: