Statistics Problem (Doesnt look too bad, simple fix?)

colinstillwell

Registered
Oct 16, 2005
3
0
151
Hey People,

Ive recently had problems with statistics and havent had a clue what was wrong. Peoples stats have suddenly stopped working and I couldnt understand why.

Ive been looking for help as someone wanted the problem fixed with their account, whilst browsing these forums for help and looking through whm I found the Statistics Software Configuration area to whm.

Ive looked at the Status' Per User / Domain and the following has been shown:

Analog Stats Last Processed at:
Thu Jan 1 01:00:00 1970

Awstats Bandwidth Last Processed at:
Tue Nov 29 22:04:54 2005

Webalizer Stats Processing is Behind 0.00 minutes

For the rest of the accounts they are all up to date and keeping up with the server.

Can someone please advise me as to how I get the broken accounts working again?

Cheers,
Colin.
 

crisdias

Member
Dec 8, 2005
8
0
151
Same here, same date

My AWStats also stopped working on the 29th for both of my servers.

Checking /usr/local/cpanel/logs/stats_log I see that the stats are looping over and over the same account. If I remove the logs for this account it will loop on the next account and so on.

What changed on CPanel on the 29th?
 

Skie

Active Member
Mar 27, 2003
39
0
156
crisdias said:
My AWStats also stopped working on the 29th for both of my servers.

Checking /usr/local/cpanel/logs/stats_log I see that the stats are looping over and over the same account. If I remove the logs for this account it will loop on the next account and so on.

What changed on CPanel on the 29th?
I'm experiencing the same problem. 3 of my servers are RedHat Enterprise Linux 3 with WHM 10.8.0 cPanel 10.8.1-C41. These 3 servers stopped processing around the 29th. It just seems as if they're stuck on one particular user and checking stats_log shows that it's just looping. My other 2 servers are RedHat Linux 9 with WHM 10.8.0 cPanel 10.8.1-C41 and they're doing just fine.
 

crisdias

Member
Dec 8, 2005
8
0
151
CPanel restart

This is what I have found so far:

To have stats move from user to the other CPanel is restarted every few minutes. If you:
tail -f /usr/local/cpanel/logs/stats_log

and then:
service cpanel restart


You will notice that Awstats is unstuck and moves to the next user. I, of course, have no idea what CPanel is not restarting automatically anymore, why the 29th is significant and why it even needs to restart to move on in the first place.

I am running my CPanel on RELEASE. Should I move back to STABLE? Should I just, manually, add a cron job to restart CPanel?
 

Skie

Active Member
Mar 27, 2003
39
0
156
I've tried that, but I think it just starts at the begnining again, it doesn't just move on to the next user in line. Maybe I'm wrong.
 

crisdias

Member
Dec 8, 2005
8
0
151
Current

Looks like I was not running RELEASE after all:

# cat /usr/local/cpanel/version

10.8.1-CURRENT_41

I rolled back to release. Let's see...
 

Skie

Active Member
Mar 27, 2003
39
0
156
Apparently an updated CPanel fixed the problem at that time. However, I've run into another issue recently with one particular user.
 

asuservice

Well-Known Member
Oct 24, 2001
84
0
306
Here too ...

Skie said:
Apparently an updated CPanel fixed the problem at that time. However, I've run into another issue recently with one particular user.
Got the same thing here but only with Webalizer ... WebilizerFTP & Analog look fine.
 

areha

Well-Known Member
Oct 30, 2002
52
0
156
My logs have stopped too (for all domains/statistic programs), and running /scripts/runweblogs give this:

(internal warning) Tue Mar 14 15:34:58 2006 [13467] warn: cpanellogd: stats_log is not defined in /var/cpanel/cpanel.config. Setting to default ( /usr/local/cpanel/logs/stats_log ) at /usr/local/cpanel/cpanellogd line 99.
at /usr/local/cpanel/cpanellogd line 99
[an error occurred while processing this directive]

However, for that one account, running that script updated it. But I would like to not run this every day for all users.
 

KenMaier

Member
Nov 5, 2002
23
0
151
I'm getting a slightly different error....

Code:
(internal death) Tue Mar 14 17:33:51 2006 [8014] error: Modification of a read-only value attempted at /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 279.
        eval {...} called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 276
        require DBI.pm called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBD/mysql.pm line 7
        DBD::mysql::BEGIN() called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Scalar/Util.pm line 0
        eval {...} called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Scalar/Util.pm line 0
        require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 60
        main::BEGIN() called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Scalar/Util.pm line 0
        eval {...} called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Scalar/Util.pm line 0
[a fatal error or timeout occurred while processing this directive]==> cPanel Log Daemon version 22.2
 

ThunderHostingDotCom

Well-Known Member
Nov 18, 2002
449
1
168
All over!
I just noticed today that on one site none of my stats are working. They stopped on July 14th. All other sites seem to be working fine. I have upgraded cPanel and Apache and I have the current version of perl. I even tried some of the scripts suggested above but nothing is working. The site has been on this server for over a year so I don't think it is the "1 year" issue that someone mentioned. If anyone has any suggestions I would appreciate it.