I installed Apache for the first time, but when I do:
systemctl start httpd.service
I get this error:
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -n' for details.
when I do this:
I get this:
Oct 28 15:02:31 systemd: Starting Apache Web Server...
Oct 28 15:02:32 systemd: PID file /run/httpd/httpd.pid not readable (yet?) after start.
Oct 28 15:02:32 systemd: Failed to start Apache Web Server.
Oct 28 15:02:32 systemd: Unit httpd.service entered failed state
I tried changing apache config files, but I get this error every time I try to start apache...
How can I fix this?
Last edited by mathar (2012-10-29 13:40:38)
I just tried installing apache and was able to start it fine.
Does /run exist?
$ ls -ld /run drwxr-xr-x 22 root root 720 Oct 28 15:01 /run $ mount |grep /run run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
My whole system went crazy for some reason, so I did fresh install and now it's working fine. /run did exist on that system, so I don't know where the problem was...
Anyway thanks for help:).
You could have just manually created /run/httpd/httpd.pid
All men have stood for freedom...
For freedom is the man that will turn the world upside down.