You are not logged in.
Pages: 1
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[1]: Starting Apache Web Server...
Nov 15 22:32:42 dachaigh apachectl[894]: httpd (pid 849) already running
Nov 15 22:32:42 dachaigh systemd[1]: PID file /run/httpd/httpd.pid not readable (yet?) after st
Nov 15 22:32:42 dachaigh systemd[1]: Failed to start Apache Web Server.
Nov 15 22:32:42 dachaigh systemd[1]: 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.
Any ideas?
Last edited by ksrm (2012-11-15 21:40:30)
Offline
Identical to this https://bbs.archlinux.org/viewtopic.php?id=151596 but with no explanation of what fixed it
Offline
Pages: 1