Apache does not start: No such file or directory: could not create /etc/httpd/run/httpd.pid
# less /var/log/httpd/error_log [error] (2)No such file or directory: could not create /etc/httpd/run/httpd.pid [error] httpd: could not log pid to file /etc/httpd/run/httpd.pid
Absent directory "
Check if "
[root@apacvhe]# ls -la /etc/httpd/run lrwxrwxrwx. 1 root root 19 Sep 14 2013 /etc/httpd/run -> ../../var/run/httpd
Make sure that directory "
/etc/httpd/run" exists. If it is absent on the server, create it manually:
[root@apache]# mkdir /var/run/httpd [root@apache]# chown root:apache /var/run/httpd [root@apache]# chmod 710 /var/run/httpd