CaughtO

Member
Jun 17, 2011
8
0
51
I'm pulling my hair out!

All my stats for Webalizer, AWStats and and Analog stats have not updated since 03-Jun-2011. When I got a cPanel license again.

I have checked WHM and it's set for them to update every 12 hours. I have made all 3 systems Available to Users and Active by Default. When checking WHM logs for the user it says Stats Last Processed at: Fri Jun 17 19:13:14 2011.

I have been on Tweak Settings and enabled all 3 programs, 'Allow users to update Awstats from cPanel' is also 'on' however in cPanel the 'Update' button does not appear.

Stats log level has been set a 3, as someone else suggested on this forum to see if there was an issue there. Everything is on default.

I would really appreciate some help, please remember I am not too good with all the SSH stuff and so would need some guidance on things like that.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello,

If you run the following command in root SSH, what output do you receive?

Code:
/scripts/runweblogs username
Please replace username with the cPanel username for one of the impacted accounts.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
You can only do it via SSH, once logged into root SSH on the machine, you would issue the command exactly as I indicated other than replacing username with the username having the issues.
 

CaughtO

Member
Jun 17, 2011
8
0
51
I've done that and the cPanel stats have updated (at 19:05BST - so before I ran the command), but they've only logged the last two days..

[2011-06-22 23:13:39 +0100] Process bandwidth for caught
[2011-06-22 23:13:39 +0100] Processing exim stats for caught....
[2011-06-22 23:13:39 +0100] ...Done
[2011-06-22 23:13:39 +0100] Disk Usage for caught on /dev/sda2 (0/0)
[2011-06-22 23:13:39 +0100] WEBLANG english
[2011-06-22 23:13:39 +0100] Archive Status: 0
[2011-06-22 23:13:39 +0100] About to fork for caught [ALL DOMAINS: *Removed*]
[2011-06-22 23:13:39 +0100] [webalizer] caught
[2011-06-22 23:13:39 +0100] [analog] caught
[2011-06-22 23:13:39 +0100] [awstats] caught
[2011-06-22 23:13:39 +0100] exec: [/usr/local/cpanel/bin/logrunner 1.0 /usr/local/cpanel/3rdparty/bin/webalizer -F ftp -N 10 -D /home/caught/tmp/webalizerftp/dns_cache.db -R 250 -p -n ftp.caught-offside.com -o /home/caught/tmp/webalizerftp /usr/local/apache/domlogs/ftp.caught-offside.com-ftp_log]
[2011-06-22 23:13:39 +0100] Webalizer V2.01-10 (Linux 2.6.18-194.26.1.el5) English
[2011-06-22 23:13:39 +0100] Using logfile /usr/local/apache/domlogs/ftp.caught-offside.com-ftp_log (ftp)
[2011-06-22 23:13:40 +0100] DNS Lookup (10): 10 addresses in 0.40 seconds
[2011-06-22 23:13:40 +0100] Using DNS cache file /home/caught/tmp/webalizerftp/dns_cache.db
[2011-06-22 23:13:40 +0100] Creating output in /home/caught/tmp/webalizerftp
[2011-06-22 23:13:40 +0100] Hostname for reports is 'ftp.caught-offside.com'
[2011-06-22 23:13:40 +0100] Reading history file... webalizer.hist
[2011-06-22 23:13:40 +0100] Reading previous run data.. webalizer.current
[2011-06-22 23:13:40 +0100] 54765 records (54765 ignored) in 0.27 seconds
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Putty is a client used to connect to SSH, so correct putty could get you to SSH on the machine if you have that client installed.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
After running the command, are stats now updating daily for the user or they have ceased updating again? It is likely not possible to obtain the prior missing days stats if they have been cleared out of the domlogs already.
 

CaughtO

Member
Jun 17, 2011
8
0
51
Still not working, I'm getting really frustrated now. They do not update themselves. I can manually update awstats now but it's empty. It says 'Last Update: 11 Jul 2011 - 21:12' however it shows no visitors at all since the last update.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please open up a ticket at this point using WHM > Support Center > Contact cPanel or using the link my signature. If you could, please post the ticket number here upon submitting it.
 

CaughtO

Member
Jun 17, 2011
8
0
51
Thanks for the help, my host is kindly looking into it as the license is bought through them and if they can not fix the issue I'll create a ticket here.
 

CaughtO

Member
Jun 17, 2011
8
0
51
For some reason the logfiles lines in /etc/httpd/conf/httpd.conf were commented for the domain - that's what my host said, all is working now :)