ispCP - Board - Support
Error in logs - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Error in logs (/thread-2466.html)



Error in logs - kurgans - 02-16-2008 11:44 PM

Hello,

I have changed the IP of my panel RC2, this mounted on a virtual machine, works all good but when beginning apache gives to Unable to open logs, some suggestion of so that east problem takes place


Thanks


RE: Error in logs - joximu - 02-16-2008 11:53 PM

Hi
well, and now?

please write either the whole error-message or better: read it and try to understand what it's saying...
A common problem is, when you delete the customers directory but not the entry in the apache config - so apache is missing the folder for the log files...

/J


RE: Error in logs - faguila - 02-17-2008 03:36 AM

Hello ... I'm working in the same trouble that Kurgans

Directory /var/log/apache2/users/ exist...

When I delete ispcp.conf from /etc/apache2/sites-enabled, apache runs ok.

Trying to start apache with the file /etc/apache2/sites-enabled/ispcp.conf makes exit apache2 with the error "Unable to open logs"

All we've done is to move a VMware virtual machine from a host to another one, changing the IP in the ispcp table and the apache/bind config files. All seems to be ok.

Files in /var/log/apache2/users are:
...
-rw-r--r-- 1 root adm 0 2007-12-05 20:49 http://www.torre-real.es-access.log
-rw-r--r-- 1 root adm 0 2007-12-05 20:49 http://www.torre-real.es-error.log
-rw-r--r-- 1 root adm 0 2007-10-12 21:39 http://www.webmail-access.log
-rw-r--r-- 1 root adm 0 2007-10-12 21:39 http://www.webmail-error.log
...

Any suggestion ?


RE: Error in logs - joximu - 02-17-2008 04:35 AM

it's important that you find out which logs are meant.

You could do a
Code:
grep -r Log /etc/apache2/
and check all file paths that are listed...

Then, maybe an "apache2 -S" gives more information...

/J