Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    523

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

    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. #2
    Member
    Join Date
    Jul 2004
    Posts
    212

    Default

    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. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,931

    Default

    Template
    Lowest Host/Empire Technology LLC
    Affordable hosting solutions http://empire-hosting.net
    List Your hosting site FREE in http://hostgeneration.com

  4. #4
    Member
    Join Date
    Jul 2004
    Posts
    212

    Default

    sorry but what you mean by Template

    regards

    claudio

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,931

    Default

    that is the perl module you are missing
    Lowest Host/Empire Technology LLC
    Affordable hosting solutions http://empire-hosting.net
    List Your hosting site FREE in http://hostgeneration.com

  6. #6
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Please run:

    /usr/local/cpanel/bin/checkperlmodules --bootstrap
    /usr/local/cpanel/bin/checkperlmodules --full

  7. #7
    Member
    Join Date
    Sep 2004
    Posts
    523

    Default

    Fixed by cpanel staff, they did a upcp and everything is fixed.

    Thanks!!

  8. #8
    Member
    Join Date
    Jul 2004
    Posts
    212

    Default

    Quote Originally Posted by cpanelnick View Post
    Please run:

    /usr/local/cpanel/bin/checkperlmodules --bootstrap
    /usr/local/cpanel/bin/checkperlmodules --full
    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. #9
    Member
    Join Date
    Jul 2004
    Posts
    212

    Default

    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. #10
    Member
    Join Date
    Dec 2003
    Posts
    30

    Default 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/...n-3.1.8.tar.gz

    --06:07:47-- http://cpan.glines.org/CPAN/authors/...n-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/...n-3.1.8.tar.gz

    LWP failed with code[404] message[Not Found]
    Fetching with LWP:
    ftp://ftp.perl.org/pub/CPAN/authors/...n-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/...n-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/....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...n-3.1.8.tar.gz
    --06:07:49-- http://cpan.erlbaum.net/authors/id/J...n-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. #11
    Member
    Join Date
    Nov 2003
    Posts
    148

    Default

    Quote Originally Posted by tandyuk View Post
    Doing these perl checks results in

    ...

    same here since 2 days

  12. #12
    Member
    Join Date
    Sep 2004
    Posts
    523

    Default

    Edit /home/.cpcpan/modulesversions and change spamassassin 3.1.8 to 3.2.0 and It should be fixed.

    bye

  13. #13
    Member
    Join Date
    Jul 2004
    Posts
    212

    Default

    Quote Originally Posted by claudio View Post
    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
    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. #14
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    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

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 08-22-2011, 11:03 AM
  2. perl problem
    By olivier222333 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-15-2005, 09:42 AM
  3. Perl Problem
    By vijaykiran in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-15-2003, 03:37 AM
  4. Perl 5.8 problem
    By Aquitaine in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-30-2003, 09:54 PM
  5. perl problem?
    By haze in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 01-17-2003, 03:55 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube