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.

after update to centos5.4 perl error

Discussion in 'General Discussion' started by cyberclub, Oct 27, 2009.

  1. cyberclub

    cyberclub Registered

    Joined:
    Aug 1, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    after yum update server centos5.3 update to 5.4 and get this error
    Code:
    /etc/cron.hourly/modsecparse.pl:
     
    Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /etc/cron.hourly/modsecparse.pl line 11.
    BEGIN failed--compilation aborted at /etc/cron.hourly/modsecparse.pl line 11.
    i use /scripts/checkperlmodules and solved after get this error
    Code:
     /etc/cron.hourly/modsecparse.pl:
     
    Please install the Perl module 'lib::restrict' (/scripts/realperlinstaller lib::restrict) at /etc/cron.hourly/modsecparse.pl line 7
    Compilation failed in require at /etc/cron.hourly/modsecparse.pl line 7.
    and
    Code:
    Can't locate YAML/Syck.pm in @INC (@INC contains: /scripts /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /usr/local/cpanel/Cpanel /usr/local/cpanel /usr/lib/perl5/site_perl/5.8.7/i686-linux) at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 10.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 10.
    Compilation failed in require at /root/rvadmin/real_auto_rvskin.pl line 56.
    BEGIN failed--compilation aborted at /root/rvadmin/real_auto_rvskin.pl line 56.
    and every hour get this by Cron Daemon
    how can solve it?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. cyberclub

    cyberclub Registered

    Joined:
    Aug 1, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    thank you Infopro
    but perl before installed
    check perl -v and i see
    This is perl, v5.8.8 built for i686-linux
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Actually I was thinking of this part of your post:

    Can't locate YAML/Syck.pm

    And step 2) on that list.
     
  5. txspaderz

    txspaderz Active Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    UPCP your server. If that doesn't work, run
    /scripts/checkperlmodules

    I got errors like that, and I had to upcp a few times to totally clear them up.
     
  6. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    If the same problem is still experienced, please try attempting a re-install of the specified Perl modules that are mentioned in the errors, for example, by using a command like the following (via root SSH access) based off of the provided log detail:
    Code:
    # /scripts/perlinstaller DBI lib::restrict YAML::Syck
    If the above fails, try it with force; to force the re-install, "--force" may be added:
    Code:
    # /scripts/perlinstaller --force DBI lib::restrict YAML::Syck
    Optionally, to check a full list of Perl modules used by cPanel/WHM:
    Code:
    # /scripts/checkperlmodules --full
     
  7. cyberclub

    cyberclub Registered

    Joined:
    Aug 1, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    thank you so much admin
    all pro solved by
    Code:
    # /scripts/checkperlmodules --full
    and restart all service by hand.
     
Loading...

Share This Page