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.

Problem with Perl 5.8.8 help!!!!!!!!

Discussion in 'General Discussion' started by bsasninja, Jun 8, 2007.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    I updated my cpanel v10 box from perl 5.8.7 to perl 5.8.8 now I get lot of errors when backups run at night.

    As far I can see it´s not locating a file caled Temlate.pm and DnsUtils.pm
    I went to install a perl module at whm but i dont know which one I have to install.

    here is the error in when de backup mail arrives:

    tar: Removing leading `/' from member names
    tar: Removing leading `/' from member names
    Can't locate Template.pm in @INC (@INC contains: /scripts /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /scripts/cPScript/Template.pm line 10.
    BEGIN failed--compilation aborted at /scripts/cPScript/Template.pm line 10.
    Compilation failed in require at /scripts/cPScript/DnsUtils.pm line 16.
    BEGIN failed--compilation aborted at /scripts/cPScript/DnsUtils.pm line 16.
    Compilation failed in require at /scripts/pkgacct line 14.
    BEGIN failed--compilation aborted at /scripts/pkgacct line 14.
    Can't locate Template.pm in @INC (@INC contains: /scripts /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /scripts/cPScript/Template.pm line 10.
    BEGIN failed--compilation aborted at /scripts/cPScript/Template.pm line 10.
    Compilation failed in require at /scripts/cPScript/DnsUtils.pm line 16.
    BEGIN failed--compilation aborted at /scripts/cPScript/DnsUtils.pm line 16.
    Compilation failed in require at /scripts/pkgacct line 14.
    BEGIN failed--compilation aborted at /scripts/pkgacct line 14.
    Can't locate Template.pm in @INC (@INC contains: /scripts /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /scripts/cPScript/Template.pm line 10.
    BEGIN failed--compilation aborted at /scripts/cPScript/Template.pm line 10.
    Compilation failed in require at /scripts/cPScript/DnsUtils.pm line 16.
    BEGIN failed--compilation aborted at /scripts/cPScript/DnsUtils.pm line 16.
    Compilation failed in require at /scripts/pkgacct line 14.
    BEGIN failed--compilation aborted at /scripts/pkgacct line 14.
    Can't locate Template.pm in @INC (@INC contains: /scripts /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /scripts/cPScript/Template.pm line 10.
    BEGIN failed--compilation aborted at /scripts/cPScript/Template.pm line 10.
    Compilation failed in require at /scripts/cPScript/DnsUtils.pm line 16.
    BEGIN failed--compilation aborted at /scripts/cPScript/DnsUtils.pm line 16.
    Compilation failed in require at /scripts/pkgacct line 14.
    BEGIN failed--compilation aborted at /scripts/pkgacct line 14.
    Can't locate Template.pm in @INC (@INC contains: /scripts /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /scripts/cPScript/Template.pm line 10.
    BEGIN failed--compilation aborted at /scripts/cPScript/Template.pm line 10.
    Compilation failed in require at /scripts/cPScript/DnsUtils.pm line 16.
    BEGIN failed--compilation aborted at /scripts/cPScript/DnsUtils.pm line 16.
    Compilation failed in require at /scripts/pkgacct line 14.
    BEGIN failed--compilation aborted at /scripts/pkgacct line 14.
     
  2. claudio

    claudio Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    same problem here besides i didnt any update on cpanel i cant figure out how it changed alone in some servers of mine

    /scripts/upcp solved issue in one of then

    other threads here solved issues in other perl modules

    but one of then i am getting this same message in cpbackup
     
  3. 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
    Template :)
     
  4. claudio

    claudio Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    sorry but what you mean by Template :)

    regards

    claudio
     
  5. 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
    that is the perl module you are missing
     
  6. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Please run:

    /usr/local/cpanel/bin/checkperlmodules --bootstrap
    /usr/local/cpanel/bin/checkperlmodules --full
     
  7. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    Fixed by cpanel staff, they did a upcp and everything is fixed.

    Thanks!!
     
  8. claudio

    claudio Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    hi

    i tried this above unfortunatly didnt work...

    i will try a /upcp and report back if it worked

    besides i still cant figure out why am i upgrading so many cpanel boxes if all of then were configured to NEVER perform auto updates so they are the same as last week when everything was working fine... : (

    regards

    Claudio
     
  9. claudio

    claudio Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    after de /upcp everything is ok backup is ok again and CREATE ACCOUNT is working again...

    to do the upcp as i used to chmod 0 wget, compilers and others i need to check this before performing this upgrade

    good luck to you all

    Claudio
     
  10. tandyuk

    tandyuk Active Member

    Joined:
    Dec 18, 2003
    Messages:
    32
    Likes Received:
    1
    Trophy Points:
    8
    I'm trying to fix!

    Doing these perl checks results in



    LWP failed with code[404] message[Not Found]

    Trying with "/usr/bin/wget -O /home/.cpan/sources/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.tmp9434" to get
    http://cpan.glines.org/CPAN/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.gz

    --06:07:47-- http://cpan.glines.org/CPAN/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.gz
    => `/home/.cpan/sources/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.tmp9434'
    Resolving cpan.glines.org... 72.36.206.66
    Connecting to cpan.glines.org|72.36.206.66|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    06:07:47 ERROR 404: Not Found.


    System call "/usr/bin/wget -O /home/.cpan/sources/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.tmp9434 "http://cpan.glines.org/CPAN/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.gz" "
    returned status 1 (wstat 256)
    Warning: expected file [/home/.cpan/sources/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.gz.tmp9434] doesn't exist
    Fetching with LWP:
    http://www.perl.org/CPAN/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.gz

    LWP failed with code[404] message[Not Found]
    Fetching with LWP:
    ftp://ftp.perl.org/pub/CPAN/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.gz

    LWP failed with code[404] message[File 'Mail-SpamAssassin-3.1.8.tar.gz' not found]
    Fetching with Net::FTP:
    ftp://ftp.perl.org/pub/CPAN/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.gz

    Couldn't fetch Mail-SpamAssassin-3.1.8.tar.gz from ftp.perl.org: Can't open Mail-SpamAssassin-3.1.8.tar.gz: No such file or directory
    Fetching with Net::FTP
    ftp://ftp.perl.org/pub/CPAN/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.gz.gz
    Couldn't fetch Mail-SpamAssassin-3.1.8.tar.gz.gz from ftp.perl.org: Can't open Mail-SpamAssassin-3.1.8.tar.gz.gz: No such file or directory

    Trying with "/usr/bin/wget -O /home/.cpan/sources/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.tmp9434" to get
    http://cpan.erlbaum.net/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.gz
    --06:07:49-- http://cpan.erlbaum.net/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.gz
    => `/home/.cpan/sources/authors/id/J/JM/JMASON/Mail-SpamAssassin-3.1.8.tar.tmp9434'
    Resolving cpan.erlbaum.net...



    Any suggestions??
     
  11. ezztro

    ezztro Well-Known Member

    Joined:
    Nov 11, 2003
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    16

    same here since 2 days
     
  12. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    Edit /home/.cpcpan/modulesversions and change spamassassin 3.1.8 to 3.2.0 and It should be fixed.

    bye
     
  13. claudio

    claudio Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    in fact as i did the upcp to stable version i realise that stable version has a bug in pure-ftp that needs to use username@domain.com to log in and not just username as usually was

    so i would need to upcp to last build or switch to old pro-ftp in order to solve this issue : (

    well my advice is to avoid stable at this time and do direct upcp in a build version

    Claudio
     
  14. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    I would run the following:

    Code:
    /usr/local/cpanel/bin/checkperlmodules --bootstrap
    /usr/local/cpanel/bin/checkperlmodules --full
    /usr/local/cpanel/bin/checkperlmodules
    /scripts/upcp --force
    
    It sometimes takes a few passes for "checkperlmodules" to get all the modules
    which is the reason for the third no option checkperlmodules call above.

    Hope that helps



    EDIT: Cpanelnick, just saw your post. I guess we think alike! LOL
     
Loading...

Share This Page