Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    3

    Default after update to centos5.4 perl error

    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. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Not sure if this is helpful or not, but you might go down this checklist to make sure your system has whats required.

    http://forums.cpanel.net/f5/cpanel-1...ist-66166.html

  3. #3
    Registered User
    Join Date
    Aug 2009
    Posts
    3

    Default

    thank you Infopro
    but perl before installed
    check perl -v and i see
    This is perl, v5.8.8 built for i686-linux

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Actually I was thinking of this part of your post:

    Can't locate YAML/Syck.pm

    And step 2) on that list.

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge txspaderz's Avatar
    Join Date
    Jun 2008
    Location
    Houston
    Posts
    33
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    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. #6
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    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. #7
    Registered User
    Join Date
    Aug 2009
    Posts
    3

    Default

    thank you so much admin
    all pro solved by
    Code:
    # /scripts/checkperlmodules --full
    and restart all service by hand.

Similar Threads & Tags
Similar threads

  1. Perl bless/overload Problem on RHEL5/CentOS5)
    By orty in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 08-31-2008, 03:32 PM
  2. how to update perl from 5.8.7 to 5.8.8 ?
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-06-2007, 11:43 PM
  3. Any update on Cpanel support for CentOS5?
    By vladi2n in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-03-2007, 10:35 PM
  4. HOW-TO: update perl to 5.8.3
    By foxboy in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-08-2004, 02:26 PM
  5. Perl Update
    By HostMaster in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 09-07-2003, 02:49 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube