LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Cpanel + awstats: problems with permissions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2012, 06:43 PM
fernandomm fernandomm is offline
Member
 
Join Date: Oct 2010
Posts: 27
Default Cpanel + awstats: problems with permissions

Hi,

I noticed that after installing Litespeed, Awstats stops working on Cpanel servers.

This happens because it can't write on logs anymore. After changing the permissions to nobody:username, it works normally.

My question is: how do i fix this permanently and for all users? Any script that i should use?

Thanks.

Last edited by fernandomm; 04-23-2012 at 07:34 AM..
Reply With Quote
  #2  
Old 04-24-2012, 02:21 PM
consultorpc consultorpc is offline
New Member
 
Join Date: Sep 2010
Posts: 2
Hello, we have also this problem, we are a paid customer (ESB83964601), can someone of staff give us some support about this ? Kind regards.
Reply With Quote
  #3  
Old 04-24-2012, 04:44 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by fernandomm View Post
Hi,

I noticed that after installing Litespeed, Awstats stops working on Cpanel servers.

This happens because it can't write on logs anymore. After changing the permissions to nobody:username, it works normally.

My question is: how do i fix this permanently and for all users? Any script that i should use?

Thanks.
how about change logs owership to username.nobody and permission being group writeable?
Reply With Quote
  #4  
Old 04-25-2012, 04:56 AM
fernandomm fernandomm is offline
Member
 
Join Date: Oct 2010
Posts: 27
The problem is that at some point it changes back the ownership and permissions. This seems to happen only when running Litespeed. With Apache, the permissions/ownership are not touched at all.
Reply With Quote
  #5  
Old 04-25-2012, 05:41 PM
muiruri muiruri is offline
Member
 
Join Date: Jun 2008
Posts: 32
We're having the same problem also, awstats stopped working this past weekend on Saturday the 21st.

After cpanel tech-support checked also found at; /usr/local/apache/domlogs/

owner permissions had been changed by Litespeed to nobody.nobody

When we switch to Apache, they wrote a script to restore permissions to root.username

But when we switch back to Litespeed, in less than 16 secs, it changes permissions again back to nobody.nobody and that makes the logs files not writable.

For some strange reason, we have Litespeed on other servers and this problem is not there, plus on this server all has been fine with Litepseed for last 2 years and no such issue, therefore puzzle now is what happened to Litespeed this past weekend to start changing permissions to nobody.nobody for logs files at; /usr/local/apache/domlogs

Any ideas? Any help?
Reply With Quote
  #6  
Old 04-25-2012, 05:47 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
what's your LSWS version?
Reply With Quote
  #7  
Old 04-25-2012, 06:08 PM
muiruri muiruri is offline
Member
 
Join Date: Jun 2008
Posts: 32
Yes, forgot to mention our LSWS version is 4.1.11

Last edited by muiruri; 04-25-2012 at 06:17 PM..
Reply With Quote
  #8  
Old 04-25-2012, 08:15 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
please refer
http://www.litespeedtech.com/support...ead.php?t=5766
if that helps -- For 4.1.11, Just add "ruid2" to "Ignore Apache module"
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:24 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.