Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Feb 05, 2011 12:58 pm 
Offline
Newbie

Joined: Thu Feb 03, 2011 10:30 am
Posts: 3
This is a strange one. On Ubuntu 10.04 server Apache 2.
Yesterday my error logs stopped updating on just some of my virtual hosts. But it is updating ok on other virtual hosts so I know Apache is set to output errors to logs.
It was working before, then 3 virtual hosts stopped updating errors at the same time.
The access logs are updating ok.

All the virtual host have the same format in the VirtualHosts entry in Apache:

ErrorLog /srv/www/mysite.co.uk/logs/error.log

I only thing I was thinking was yesterday I made 2 changes:
1) I issued a tail -F command to watch some of the logs.
2) I added a new virtual host for SSL and installed a new SSL (which is working fine)

I have tried restarting Apache and even rebooting the server.

Any ideas? It is driving me mad!


Top
   
 Post subject:
PostPosted: Sat Feb 05, 2011 3:02 pm 
Offline
Newbie

Joined: Thu Feb 03, 2011 10:30 am
Posts: 3
I managed to fix it - but I have no idea how. Lots of changing different log paths, restart apache many times.
Then it now works on all sites.


Top
   
 Post subject:
PostPosted: Mon Feb 07, 2011 9:51 am 
Offline
Senior Newbie

Joined: Tue May 20, 2008 8:39 pm
Posts: 10
Did you check the apache user had permissions to write to the log path - if you log path was withing the www directory tree that might not have been set, or if that path was under a symbolic link.

Glad it's working now anyway.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group