The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by colinstillwell, Dec 8, 2005.

  1. colinstillwell

    colinstillwell Registered

    Joined:
    Oct 16, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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. crisdias

    crisdias Member

    Joined:
    Dec 8, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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. Skie

    Skie Active Member

    Joined:
    Mar 27, 2003
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    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. crisdias

    crisdias Member

    Joined:
    Dec 8, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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. Skie

    Skie Active Member

    Joined:
    Mar 27, 2003
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    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. crisdias

    crisdias Member

    Joined:
    Dec 8, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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. russellhosting

    russellhosting Active Member

    Joined:
    Jun 19, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    6
    Did anyone ever find a fix for this problem?
     
  8. Skie

    Skie Active Member

    Joined:
    Mar 27, 2003
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Apparently an updated CPanel fixed the problem at that time. However, I've run into another issue recently with one particular user.
     
  9. asuservice

    asuservice Well-Known Member

    Joined:
    Oct 24, 2001
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Here too ...

    Got the same thing here but only with Webalizer ... WebilizerFTP & Analog look fine.
     
  10. areha

    areha Well-Known Member

    Joined:
    Oct 30, 2002
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    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. KenMaier

    KenMaier Member

    Joined:
    Nov 5, 2002
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    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. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
  13. rip_curl

    rip_curl Well-Known Member

    Joined:
    Jan 30, 2005
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    I have perl
    installed on my server, but stats is not working also
     
  14. ThunderHostingDotCom

    ThunderHostingDotCom Well-Known Member

    Joined:
    Nov 18, 2002
    Messages:
    450
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    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.
     
Loading...

Share This Page