When I try to start httpd via systemd I get the following:
root ~ $ systemctl start httpd.service Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -n' for details. root ~ false $ journalctl -n -- Logs begin at Thu, 2012-11-15 20:31:41 CET, end at Thu, 2012-11-15 22:32:42 CET. -- Nov 15 22:32:42 dachaigh systemd: Starting Apache Web Server... Nov 15 22:32:42 dachaigh apachectl: httpd (pid 849) already running Nov 15 22:32:42 dachaigh systemd: PID file /run/httpd/httpd.pid not readable (yet?) after st Nov 15 22:32:42 dachaigh systemd: Failed to start Apache Web Server. Nov 15 22:32:42 dachaigh systemd: Unit httpd.service entered failed state
If I try to start it with rc.d, this happens:
root ~ false $ /etc/rc.d/httpd start /etc/rc.d/httpd: line 5: /etc/rc.conf: No such file or directory /etc/rc.d/httpd: line 6: /etc/rc.d/functions: No such file or directory /etc/rc.d/httpd: line 12: stat_busy: command not found /etc/rc.d/httpd: line 15: add_daemon: command not found /etc/rc.d/httpd: line 16: stat_done: command not found
Despite the above errors this does actually start Apache. But I don't know what is stopping systemd from doing so. This is a fresh install of Arch and I was following the instructions on the LAMP wiki page.
Last edited by ksrm (2012-11-15 21:40:30)