Symptoms
Apache will not start, and the /var/log/apache2
folder doesn't exist.
[root@server ~]cPs# ls -lah /var/log/apache2
ls: cannot access '/var/log/apache2': No such file or directory
[root@server ~]cPs#
Description
Apache has to be able to open its log files before it can start. If the /var/log/apache2
folder doesn't exist, Apache cannot open or create log files. Creating the missing folder will allow Apache to create and open its log files.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Make the
/var/log/apache2
folder.mkdir /var/log/apache2
- Start Apache.
/usr/local/cpanel/scripts/restartsrv_httpd --start
Comments
0 comments
Article is closed for comments.