Solved: Apache won't start Unable to open logs

Questions related to the Apache server
Post Reply
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

Solved: Apache won't start Unable to open logs

Post by mister_v »

Hello,

I have the following problem:
Apache doesn't start.
It gives the error message:
Unable to open logs

But I don't see a problem with the logs
Last edited by mister_v on Mon Aug 25, 2014 4:42 pm, edited 1 time in total.
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

Re: Apache won't start Unable to open logs

Post by mister_v »

Checked the log-file:
less /var/log/apache2/error.log

Code: Select all

Unable to open logs
(2)No such file or directory: apache2: could not open error log file /var/log/httpd/mysite-error_log.

found the problem,
I changed servers and the log files are now under
/var/log/apache2/

edited the config file in
/etc/apache2/sites-enabled/mysite

and now it works
Post Reply