Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/scripts/runlogsnow cron error

Discussion in 'General Discussion' started by web12, Dec 4, 2005.

  1. web12

    web12 Well-Known Member

    Joined:
    Nov 20, 2002
    Messages:
    240
    Likes Received:
    0
    Trophy Points:
    166
    Hi

    For the last couple of days I have started receiving this error on 2 of my servers.

    My guess is that it came after one of the night upcp's, but not sure whats changed to cause it.

    Here is the cron email that is sent:-
    Anyone got any ideas what might be causing this?

    cheers
     
  2. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    166
    Get the same thing here when running /scripts/runweblogs but the logs
    is being updated so I don't know what it is.
     
  3. web12

    web12 Well-Known Member

    Joined:
    Nov 20, 2002
    Messages:
    240
    Likes Received:
    0
    Trophy Points:
    166
    I noticed that on the 1st of December quite a lot of things got updated in the UPCP. pretty sure that one of them has caused the issue, but where to start?

     
    #3 web12, Dec 5, 2005
    Last edited: Dec 5, 2005
  4. web12

    web12 Well-Known Member

    Joined:
    Nov 20, 2002
    Messages:
    240
    Likes Received:
    0
    Trophy Points:
    166
    Well it looks like the program being referenced at /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 279 is the Scalar-List one, but which file would it be calling which causes the error "error: Modification of a read-only value attempted " ?
     
  5. SupermanInNY

    SupermanInNY Well-Known Member

    Joined:
    Jul 19, 2003
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    166
    prmpt.com:/usr/local/apache/domlogs => /scripts/runweblogs
    Log checker loaded ok..
    What user's logs did you want to update? <I didn't specify anyone, just hit enter>
    (internal death) Wed Dec 7 00:21:16 2005 [18147] error: Modification of a read-only value attempted at /usr/lib/perl5/site_perl/5.8.1/i686-linux/DBI.pm line 279.
    eval {...} called at /usr/lib/perl5/site_perl/5.8.1/i686-linux/DBI.pm line 276
    require DBI.pm called at /usr/lib/perl5/site_perl/5.8.1/i686-linux/DBD/mysql.pm line 7
    DBD::mysql::BEGIN() called at /usr/lib/perl5/5.8.1/i686-linux/Scalar/Util.pm line 0
    eval {...} called at /usr/lib/perl5/5.8.1/i686-linux/Scalar/Util.pm line 0
    require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 58
    main::BEGIN() called at /usr/lib/perl5/5.8.1/i686-linux/Scalar/Util.pm line 0
    eval {...} called at /usr/lib/perl5/5.8.1/i686-linux/Scalar/Util.pm line 0
    [a fatal error or timeout occurred while processing this directive]==> cPanel Log Daemon version 22.0
    ==> Shared RRDTOOL support enabled

    so... where is the problem?

    -Alon.
     
  6. sgemma

    sgemma Member

    Joined:
    Nov 17, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    151
    Same here on several servers:

    -bash-2.05b# /scripts/runweblogs
    Log checker loaded ok..
    What user's logs did you want to update? dashadys
    (internal death) Wed Dec 7 16:56:50 2005 [19308] error: Modification of a read-only value attempted at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 279.
    eval {...} called at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 276
    require DBI.pm called at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBD/mysql.pm line 7
    DBD::mysql::BEGIN() called at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Scalar/Util.pm line 0
    eval {...} called at /usr/lib/perl5/5.8.0/i386-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/lib/perl5/5.8.0/i386-linux-thread-multi/Scalar/Util.pm line 0
    eval {...} called at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Scalar/Util.pm line 0
    [a fatal error or timeout occurred while processing this directive]==> WARNING: configured processor count does not match
     
  7. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    575
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Mbelitar
    how to fix this ?

    upgrade to C-60 got this problem :confused:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Solokron

    Solokron Well-Known Member

    Joined:
    Aug 8, 2003
    Messages:
    850
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Seattle
    cPanel Access Level:
    DataCenter Provider
    We are having the same issue here.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Izzee

    Izzee Well-Known Member

    Joined:
    Feb 6, 2004
    Messages:
    469
    Likes Received:
    0
    Trophy Points:
    166
  10. web12

    web12 Well-Known Member

    Joined:
    Nov 20, 2002
    Messages:
    240
    Likes Received:
    0
    Trophy Points:
    166
    Thanks for the post, but the 2 servers I am having this issue on have perl 5.8.1 and 5.6.1 respectively, both with perl* in the exclude line of yum.conf
     
  11. Izzee

    Izzee Well-Known Member

    Joined:
    Feb 6, 2004
    Messages:
    469
    Likes Received:
    0
    Trophy Points:
    166
    #11 Izzee, Dec 30, 2005
    Last edited: Dec 30, 2005
  12. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Indeed. You'll almost definitely have problems staying on 5.6.1 and 5.8.1 might also have difficulties. Upgrading to 5.8.7 would be the way to go.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. MattGetWeb

    MattGetWeb Well-Known Member

    Joined:
    Aug 4, 2005
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    156
    Just tried to upgrade to 5.8.7 following cpanelben's instructions. When I try to check I have all the modules, I get errors.

    OK, I'm confused, and somewhat nervous. Things haven't crashed, but /scripts/upcp has similar failures when trying to add any missing modules. Some delving around shows me that that the "commit" function has moved from CPAN.pm to CPAN/HandleConfig.pm. I'm not a perl guru, but what do I need to change to make /scripts/realperlinstaller use commit from the new location?

    edit: NM. --> CPAN::HandleConfig::commit
    2nd edit: /scripts/upcp "breaks" /scripts/realperlinstaller as it gets downloaded again, so I see this in my UPCP logs -> "Undefined subroutine &CPAN::Config::commit called at /scripts/realperlinstaller line 95."
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #13 MattGetWeb, Jan 4, 2006
    Last edited: Jan 4, 2006
  14. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    166
    I've updated to perl 5.8.7, but still am not able to run my runlogs file....it still gives these errors:

    (internal death) Thu Aug 10 22:37:31 2006 [14588] error: List::Util object version 1.14 does not match bootstrap parameter 1.18 at /usr/lib/perl5/5.8.7/i686-linux/XSLoader.pm line 92.
    at /usr/lib/perl5/5.8.7/i686-linux/XSLoader.pm line 92
    XSLoader::load('List::Util', 1.18) called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 25
    eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 27
    eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 19
    require List/Util.pm called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 12
    require Scalar/Util.pm called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 281
    eval {...} called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 280
    require DBI.pm called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBD/mysql.pm line 7
    DBD::mysql::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
    eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
    require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 62
    main::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
    eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
    (internal death) Thu Aug 10 22:37:31 2006 [14588] error: List::Util object version 1.14 does not match bootstrap parameter 1.18 at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 30.
    at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 30
    eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 19
    require List/Util.pm called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 12
    require Scalar/Util.pm called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 281
    eval {...} called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 280
    require DBI.pm called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBD/mysql.pm line 7
    DBD::mysql::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
    eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
    require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 62
    main::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
    eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/List/Util.pm line 0
    (internal death) Thu Aug 10 22:37:31 2006 [14588] error: Undefined subroutine &Scalar::Util::weaken called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 283.
    at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 283
    eval {...} called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBI.pm line 280
    require DBI.pm called at /usr/lib/perl5/site_perl/5.8.7/i686-linux/DBD/mysql.pm line 7
    DBD::mysql::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 0
    eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 0
    require DBD/mysql.pm called at /usr/local/cpanel/cpanellogd line 62
    main::BEGIN() called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 0
    eval {...} called at /usr/lib/perl5/5.8.7/i686-linux/Scalar/Util.pm line 0

    Then just sits there at this line:

    Run Logs domain: domain.com BW Limit: 20971520000 Domains: []

    And doesn't do anything?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice