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.

how do I manually update the webstats?

Discussion in 'General Discussion' started by SoftDux, Nov 23, 2006.

  1. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    For some odd reason, unknown to me, my server's web stats last ran on the 17th Novemember.

    How do I manually run it?
    And how do I see why it''s not running currently?

    logged into WHM as root, and clicked on the "Statistics Software Configuration" and get this message:

    But why? My average server is load is below 2

    Any suggestions?

    tia :)
     
  2. Un Area

    Un Area Well-Known Member

    Joined:
    Nov 16, 2006
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Log in as root a run /scripts/runlogsnow

    Then tell us if it gave you any error and if the stats were updated.

    Bye!
     
  3. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Resetting Logs for cwayyorg...Done
    Resetting Logs for joupaco...Done
    Resetting Logs for frdplace...Done
    /usr/bin/perl: error while loading shared libraries: /usr/local/cpanel/3rdparty/ lib/perl/auto/RRDs/RRDs.so: undefined symbol: Perl_Gthr_key_ptr
    /usr/bin/perl: error while loading shared libraries: /usr/local/cpanel/3rdparty/ lib/perl/auto/RRDs/RRDs.so: undefined symbol: Perl_Gthr_key_ptr



    That was right @ the end of the list, and none of the stats actually updated.

    So, how do I fix those errors?
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    try

    /usr/local/cpanel/bin/rrdtoolinstall --force
     
  5. Un Area

    Un Area Well-Known Member

    Joined:
    Nov 16, 2006
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    btw, what version of perl are you using? try running perl -v
    you should have version 5.8.7 if you have a lower version like 5.6.x, update perl.

    Bye!
     
  6. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Thanx,

    That seems to have worked. Only problem is, I now have to run the following script "/scripts/runweblogs" to update each user's logs.

    /scripts/runlogsnow
    didn't do it, probably cause it's set to run every 24 hours. So, without "disturbing" the server too much, I'll check and see tomorrow if all worked well, like it's supposed to :)

    ..... will keep you posted.
     
Loading...

Share This Page