Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 27 of 27
  1. #16
    Member
    Join Date
    Mar 2004
    Location
    Buffalo
    Posts
    22

    Default

    did something happen again?

    I have 3 cPanel servers and as of two days ago all stats have stopped...

    help!!

  2. #17
    Member
    Join Date
    Apr 2004
    Posts
    35

    Default

    Quote Originally Posted by chirpy
    I just discovered the exact same issue on a few of my servers. Upgraded from perl 5.8.1 to 5.8.7 using the cPanel perl distribution and that fixed those, the others were indeed fixed using the latest EDGE. Looks like two different problems affecting the same thing.
    How can we upgrade to perl 5.8.7 ?

  3. #18
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Dec 2004
    Posts
    392

    Default

    Hi

    Go here and download cpanels custom version of perl (perl587installer.tar.gz )
    http://layer1.cpanel.net/

    untar and unzip it and run the install file, it will install the new version of perl (5.8.7).

    then update cpanel (/scripts/upcp) to update all the perl modules.

    cheers
    Andy
    UK Managed Hosting
    UK Linux Support
    The information given above is intended to be advice only.

  4. #19
    Member
    Join Date
    Jun 2004
    Posts
    7

    Default

    stats still don't update here... i have the latest perl version (5.8.7.)

    stats update fine if i use the scripts/runweblogs script. the stats should update every 24 hours and there's a green text in the whm saying that the server can keep up with the stats generation...

    so why does it still not work

  5. #20
    Member
    Join Date
    Aug 2005
    Posts
    14

    Question

    I have same problem with new server, in cPanel accounts for every user show unlimited megabytes, and in whm, everyone have 0MB but, they have it, does anyone know how to fix this to show all stats in whm like it need to be.

    Thanks

  6. #21
    Member
    Join Date
    Apr 2005
    Posts
    318

    Default

    Quote Originally Posted by cgarvey
    So in /usr/lib/perl5/site_perl/5.6.1/i686-linux/DBI.pm I changed line 275+ to , to always return fals for the check (because, Scalar::Util warns me it's not available).. that stops the error I reported above from happening, and doesn't seem to break anything else (if there is a check in DBI, there is the implication that it's OK to not have it!).

    Hm, your fix worked. I have perl 5.8.0. on CentOS 3.6 x86_64 (well Chirpy it seems you were right about x86_64 linux, but this seems the only issue I couldn't not solve).


    I've been getting:

    /scripts/runlogsnow
    Resetting Logs for pef007...Done
    (internal death) Sun Feb 12 22:11:25 2006 [7453] error: Modification of a read-only value attempted at /usr/lib64/perl5/site_perl/5.8.0/DBI.pm line 279.
    eval {...} called at /usr/lib64/perl5/site_perl/5.8.0/DBI.pm line 276
    require DBI.pm called at /usr/lib64/perl5/site_perl/5.8.0/DBD/mysql.pm line 7
    DBD::mysql::BEGIN() called at /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/Scalar/Util.pm line 0
    eval {...} called at /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/Scalar/Util.pm line 0
    require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 60
    main::BEGIN() called at /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/Scalar/Util.pm line 0
    eval {...} called at /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/Scalar/Util.pm line 0
    [a fatal error or timeout occurred while processing this directive]==> cPanel Log Daemon version 22.2
    ==> Shared RRDTOOL support enabled
    I've tried to install perl 5.8.7 but everytime it downgrades back to 5.8.0. Any ideas why?
    http://www.crohoster.com/
    quality hosting services and managed dedicated servers

  7. #22
    Member
    Join Date
    Apr 2005
    Posts
    318

    Default

    One notice - my stats didn't stop working. Everything was fine except I've been getting those perl error messages.

    Stats are updating just fine.
    http://www.crohoster.com/
    quality hosting services and managed dedicated servers

  8. #23
    Member
    Join Date
    Jan 2005
    Posts
    71

    Default

    I have perl 5.8.7 installed on my server. But in https://server.com:2087/cgi/statmanager.cgi
    I see:

    The server is having trouble keeping up with your statistics processing schedule. You should increase the time between statistic generation, or upgrade the server. If you have recently decreased the time between statistic generation, you may wish to wait that amount of time to see if the server will catch up before changing back.
    Show which users are behind
    how can I fix it?
    can you tell me step by step?

    Also I have often my cppop failed, waht can it be? help please.

  9. #24
    Member
    Join Date
    Jan 2005
    Posts
    71

    Default

    root@web-c-1 [/usr/lib/perl5/site_perl/5.8.7/i686-linux]# /scripts/runstatsonce
    This script requires cPanel 6.4.2 Build 11+

    ==> WARNING: configured processor count does not match
    ==> actual processor count (2)! Running stats programs
    ==> on this system may cause excessive load!
    ==> You should set extracpus=0 in /var/cpanel/cpanel.config if this is not ok.
    ==> cPanel Log Daemon version 22.2
    ==> Shared RRDTOOL support enabled
    ==> Ignoring lastrun files and running all stats now
    ==> cpanellogd will exit after stats have run

  10. #25
    Member
    Join Date
    Apr 2005
    Location
    Texas
    Posts
    63

    Default

    After upgrading Perl on literally 500+ RHEL3 boxes, here is my fairly definite guide to ensure perl and it's modules are updated correctly :

    Line 11 of /etc/inputrc will frequently the following error with /scripts/perlinstaller (or the perl CPAN install module) :

    Warning [/etc/inputrc line 11]:
    Invalid variable `mark-symlinked-directories'

    Comment out the following entry in /etc/inputrc out :

    set mark-symlinked-directories on

    Now :
    cd /root (or wherever has a little over 110MB of space free)
    wget http://layer1.cpanel.net/perl587installer.tar.gz
    tar -xvzf perl587installer.tar.gz
    cd perl587installer/
    ./install

    After this completes, for good measure :

    /usr/local/cpanel/bin/checkperlmodules
    perl -MCPAN -e shell
    cpan> reload cpan
    cpan> reload index
    cpan> quit

    After this, the obligatory upcp should finish it out...let me know if I've missed something.

  11. #26
    Member
    Join Date
    Mar 2004
    Posts
    10

    Default

    Thanks xidica worked for me.

  12. #27
    Registered User
    Join Date
    Oct 2004
    Posts
    4

    Default

    Thanks xidica, your post helped me too.

Similar Threads & Tags
Similar threads

  1. Stats stopped working - any ideas?
    By Brook in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-11-2007, 11:48 AM
  2. Webalizer stats stopped
    By apc1 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-27-2005, 11:29 AM
  3. Stats stopped running
    By ethank in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 09-08-2005, 01:03 PM
  4. Urchin stats stopped working!
    By wills in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-27-2005, 07:38 PM
  5. Stats Stopped Working
    By VH-Robert in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-20-2003, 12:17 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube