Post Reply  Post Thread 
Error in logs
Author Message
kurgans
Junior Member
*


Posts: 53
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
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
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
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


2008-03-16 ispCP RC4 released!!!
02-16-2008 11:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
faguila



Posts: 1
Group: Registered
Joined: Feb 2008
Status: Offline
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
Moderator
*****


Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
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


2008-03-16 ispCP RC4 released!!!
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  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |