Public bug reported: If apache is running, doing 'systemctl stop apache2.service; systemctl start apache2.service' fails with:
● apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2) Active: failed (Result: exit-code) since to 2015-03-05 20:33:16 EET; 6s ago Docs: man:systemd-sysv-generator(8) Process: 27891 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS) Process: 27943 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE) maalis 05 20:32:56 ipa02.tyrell apache2[27943]: no listening sockets available, shutting down maalis 05 20:32:56 ipa02.tyrell apache2[27943]: AH00015: Unable to open logs maalis 05 20:32:56 ipa02.tyrell apache2[27943]: Action 'start' failed. maalis 05 20:32:56 ipa02.tyrell apache2[27943]: The Apache error log may have more information. maalis 05 20:33:16 ipa02.tyrell systemd[1]: apache2.service: control process exited, code=exited status=1 maalis 05 20:33:16 ipa02.tyrell systemd[1]: Failed to start LSB: Apache2 web server. maalis 05 20:33:16 ipa02.tyrell systemd[1]: Unit apache2.service entered failed state. maalis 05 20:33:16 ipa02.tyrell systemd[1]: apache2.service failed. maalis 05 20:33:16 ipa02.tyrell apache2[27943]: * maalis 05 20:33:16 ipa02.tyrell apache2[27943]: * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems error.log doesn't have more than this: [Thu Mar 05 20:32:56.258403 2015] [mpm_event:notice] [pid 27786:tid 139760377153408] AH00491: caught SIGTERM, shutting down so stopping the service returns too quickly and start gets run too early? ** Affects: apache2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in Ubuntu. https://bugs.launchpad.net/bugs/1428796 Title: "service stop; service start" fails with systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1428796/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs