Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    3

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

    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.

  2. #2
    Member
    Join Date
    Dec 2005
    Posts
    8

    Default 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?

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    39

    Default

    Quote Originally Posted by crisdias
    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.

  4. #4
    Member
    Join Date
    Dec 2005
    Posts
    8

    Unhappy 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?

  5. #5
    Member
    Join Date
    Mar 2003
    Posts
    39

    Default

    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.

  6. #6
    Member
    Join Date
    Dec 2005
    Posts
    8

    Default 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...

  7. #7
    Member
    Join Date
    Jun 2003
    Posts
    33

    Default

    Did anyone ever find a fix for this problem?

  8. #8
    Member
    Join Date
    Mar 2003
    Posts
    39

    Default

    Apparently an updated CPanel fixed the problem at that time. However, I've run into another issue recently with one particular user.

  9. #9
    Member
    Join Date
    Oct 2001
    Posts
    88

    Default Here too ...

    Quote Originally Posted by Skie
    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.
    Best Regards,
    Mike
    ASU Service
    http://www.NetBizHelpers.com

  10. #10
    Member
    Join Date
    Oct 2002
    Posts
    49

    Default

    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.

  11. #11
    Member
    Join Date
    Nov 2002
    Posts
    23

    Default

    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

  12. #12
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    5.6.1
    You need to upgrade perl to v5.8.7 from the tarball on http://layer1.cpanel.net
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  13. #13
    Member
    Join Date
    Jan 2005
    Posts
    71

    Default

    Quote Originally Posted by chirpy
    You need to upgrade perl to v5.8.7 from the tarball on http://layer1.cpanel.net
    I have perl
    PERL version 5.8.7
    installed on my server, but stats is not working also

  14. #14
    Member
    Join Date
    Nov 2002
    Location
    All over!
    Posts
    452

    Default

    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.
    Knowledge is Power!

Similar Threads & Tags
Similar threads

  1. simple question - Statistics
    By c0i0t3 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-22-2006, 11:50 AM
  2. Statistics problem
    By labahost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-21-2006, 04:31 PM
  3. Backup bug - very simple to fix, bu not touched almoust a year.
    By ankesen in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 12-14-2005, 02:28 PM
  4. How do you fix cpanel's bad phpbb forum installer?
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 08-13-2004, 02:46 PM
  5. Very bad mail queue statistics
    By pingo in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-04-2003, 05:05 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube