sudden awstats domlogs permission denied error

Posted by aww, 05-04-2007, 11:08 AM
so after successfully installing and testing litespeed last night along on alternate port 1080 on my cpanel setup, I try to look at my cpanel's awstats this morning and: Error: Couldn't open server log file "/usr/local/apache/domlogs/example.net" : Permission denied (awstats has worked fine for 5 weeks now) Googling for this shows other people with similar problem in the past but unfortunately no answers I tried chmod -R 644 /usr/local/apache/domlogs and looks like the owners are still correct I'm at a loss and really screwed if I can't easily fix soon... any ideas? (as a side note, litespeed has stopped working properly too but I've killed it for now)

Posted by aww, 05-04-2007, 12:23 PM
Okay I believe it's the ownership of the logs that has changed. Litespeed stupidly changes all domlogs to nobody.nobody when then should be root.username But changing that doesnt't solve the problem. Can someone tell me what domlogs itself should be set as? Is this correct? drw-r--r-- 2 root wheel 4096 May 4 11:01 domlogs/ UPDATE! GOT IT! chmod 711 domlogs you have to do that as well Proud of myself for figuring this out. Now to try to make litespeed behave.

Posted by bin_asc, 05-05-2007, 09:27 AM
Good going Helpfull for suviving with lightspeed.

Posted by aww, 05-08-2007, 08:07 AM
Actually it was not enough. Apparently there was a fault with litespeed and the 3.1.1 release is now updated to write the logs as nobody:username instead of nobody:nobody. I lost two days worth of logs working this problem out

آیا این پاسخ به شما کمک کرد؟

 پرینت این مقاله

در همین زمینه

Whostmgrd - Please Advice

Posted by Cyber-A, 06-28-2008, 05:19 PMHi all When I have checked the 'Current CPU Usage' in...

what could be the problem ?

Posted by jjk2, 06-26-2008, 03:13 AMi am experiencing some strange thing. i have to reload a page...

.htaccess problem

Posted by londonhogfan, 09-23-2008, 02:05 AMhi, I'm having quite a problem with my site on...

How-To: PHP bbCode Function // Intermediate

Posted by JustinSmall, 09-21-2008, 03:49 PMIt wouldn't let me post this is the tutorial section,...

Any PHP library to create .ico? Or just to convert a PNG to ICO?

Posted by yangyang2036, 09-21-2008, 09:17 PMSearched google with nothing relevant. Posted by...