Sunday, September 2, 2012

Apache start problem: Unable to open logs

,
Apache gave a friend some trouble the other night and i thought of sharing after fixing...
He gave me SSH and asked me to check what's going on.

service apache2 start
Unable to open logs.

After i ran through /var/logs i couldn't find apache2 directory.
Went back to apache2.conf to check if CustomLog command was given but the default value was there.
I simply created /var/logs/apache2 directory with write permisson and the problem was fixed.

mkdir /var/logs/apache2 |chmod 755 /var/logs/apache2

cheers!

0 people replied to “Apache start problem: Unable to open logs”

Post a Comment