Current time: 05-24-2024, 08:58 PM Hello There, Guest! (LoginRegister)


Post Reply 
Error in logs
Author Message
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #1
Error in logs
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
02-16-2008 11:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Error in logs
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
02-16-2008 11:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
faguila Offline


Posts: 1
Joined: Feb 2008
Reputation: 0
Post: #3
RE: Error in logs
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 ?
02-17-2008 03:36 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Error in logs
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
02-17-2008 04:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)