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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Litespeed: Issue with cPanel Awstats

View Poll Results: Is there any one facing the same issue?
YES 1 100.00%
NO 0 0%
Voters: 1. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #1  
Old 05-22-2012, 08:50 PM
jackwilliams jackwilliams is offline
New Member
 
Join Date: May 2012
Posts: 9
Cool Litespeed: Issue with cPanel Awstats

Hello,

I am running a shared server with litespeed. It was working fine till this march. However, now the AWSTATS are not updated properly. It is not updated properly also when i try to update manually it is giving huge errors.

++++++++
# /scripts/runweblogs xxxxxxx
Log checker loaded ok..
==> cPanel Log Daemon version 25.0
==> Loaded RRDs: version 1.4004
Processing xxxxxxx...
Run Logs domain: xxxxxxx.com.sg BW Limit: 52428800000 Domains: [extranet.xxxxxxx.com mail.xxxxxxx.com mail1.xxxxxxx.com ssl.xxxxxxx.com ssl1.xxxxxxx.com ssl2.xxxxxxx.com vpn2463.xxxxxxx.com webmail.xxxxxxx.com.sg xxxxxxx.com wiselypc.com.sg promis.xxxxxxx.com mail2.xxxxxxx.com]
[2012-05-22 17:32:03 +0800] Process bandwidth for xxxxxxx
[2012-05-22 17:32:04 +0800] Processing exim stats for xxxxxxx....
[2012-05-22 17:32:04 +0800] ...Done
[2012-05-22 17:32:26 +0800] Disk Usage for xxxxxxx on /dev/mapper/VolGroup00-LogVol00 (502908/5120000)
[2012-05-22 17:32:26 +0800] WEBLANG english
[2012-05-22 17:32:26 +0800] Archive Status: 1
[2012-05-22 17:32:26 +0800] About to fork for xxxxxxx [ALL DOMAINS: extranet.xxxxxxx.com, mail.xxxxxxx.com, mail1.xxxxxxx.com, ssl.xxxxxxx.com, ssl1.xxxxxxx.com, ssl2.xxxxxxx.com, vpn2463.xxxxxxx.com, webmail.xxxxxxx.com.sg, xxxxxxx.com, wiselypc.com.sg, promis.xxxxxxx.com, mail2.xxxxxxx.com, xxxxxxx.com.sg]
[2012-05-22 17:32:26 +0800] Create/Update database for config "/home/xxxxxxx/tmp/awstats/awstats.xxxxxxx.com.sg.conf" by AWStats version 7.0 (build 1.971)
[2012-05-22 17:32:26 +0800] From data in log file "/usr/local/apache/domlogs/xxxxxxx.com.sg.bkup"...
[2012-05-22 17:32:26 +0800] Error: Couldn't open server log file "/usr/local/apache/domlogs/xxxxxxx.com.sg.bkup" : Permission denied
[2012-05-22 17:32:26 +0800] Setup ('/home/xxxxxxx/tmp/awstats/awstats.xxxxxxx.com.sg.conf' file, web server or permissions) may be wrong.
[2012-05-22 17:32:26 +0800] Check config file, permissions and AWStats documentation (in 'docs' directory).
Complete

++++++++.

I found the root cause of this issue. The apache domlogs are running with nobody:nobody permission. It should be "root:username".

++++++++
root@host [/usr/local/apache]# ll |grep domlogs/
drwx--x--x 404 root wheel 516096 May 23 11:40 domlogs/
root@host [/usr/local/apache]#

User account:
-rw-r----- 2 nobody nobody 4450 May 23 11:15 xxxxxxx.com
-rw-r--r-- 1 nobody nobody 229 May 23 11:15 xxxxxxx.com-bytes_log
-rw-r--r-- 1 root root 1 Feb 20 2010 xxxxxxx.com-bytes_log.offset
++++++++

Could you please let me know how to change this or fix this issue?
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 09:56 PM.



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