LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Cpanel + awstats: problems with permissions (http://www.litespeedtech.com/support/forum/showthread.php?t=5877)

fernandomm 04-22-2012 06:43 PM

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.

consultorpc 04-24-2012 02:21 PM

Hello, we have also this problem, we are a paid customer (ESB83964601), can someone of staff give us some support about this ? Kind regards.

webizen 04-24-2012 04:44 PM

Quote:

Originally Posted by fernandomm (Post 32892)
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?

fernandomm 04-25-2012 04:56 AM

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.

muiruri 04-25-2012 05:41 PM

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?

webizen 04-25-2012 05:47 PM

what's your LSWS version?

muiruri 04-25-2012 06:08 PM

Yes, forgot to mention our LSWS version is 4.1.11

NiteWave 04-25-2012 08:15 PM

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"


All times are GMT -7. The time now is 04:34 AM.