Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default The perl module Digest::MD5::File could not be installed.

    Any ideas how to get this fixed, perl mods are not running right like easy apache has a error. Centos 4.7 latest cpanel and the error has been here for a while.

    This module is required by cPanel, and the system may not function correctly until it is installed, and functional. Below is the results of the auto-install attempt:

    Test Run
    ==============
    (Missing operator before HTTP::StatuS?) Bareword found where operator expected at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 10, near "*sub new"
    (Missing operator before new?)
    Digest::MD5::File is not installed or broken (make sure not to trap this message, you should check for /Digest::MD5::File is installed/ as this message might not show if there is a symbol/object error).
    Bareword found where operator expected at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 7, near "*use HTTP::StatuS"
    (Missing operator before HTTP::StatuS?) Bareword found where operator expected at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 10, near "*sub new"
    (Missing operator before new?)
    syntax error at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 7, near "*use HTTP::StatuS "
    syntax error at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 11, near "*sub new "
    Global symbol "$class" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 12.
    Global symbol "$rc" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 12.
    Global symbol "$msg" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 12.
    Global symbol "$header" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 12.
    Global symbol "$content" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 12.
    Global symbol "$class" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 13.
    Global symbol "$header" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 13.
    Global symbol "$content" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 13.
    Global symbol "$rc" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 14.
    Global symbol "$msg" requires explicit package name at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 15.
    syntax error at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 17, near "}"
    /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm has too many errors.
    Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/LWP/UserAgent.pm line 11.
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/LWP/UserAgent.pm line 11.
    Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/Digest/MD5/File.pm line 8.
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Digest/MD5/File.pm line 8.
    Compilation failed in require at - line 1.
    BEGIN failed--compilation aborted at - line 1.


    Installer Run
    ==============
    Testing connection speed...(using fast method)...Done
    Ping:0.352 Testing connection speed to cpan.schatt.com using pureperl...(160900.00 bytes/s)...Done
    Ping:1.911 Testing connection speed to 208.74.123.20 using pureperl...(155550.00 bytes/s)...Done
    Ping:5.787 Testing connection speed to 64.50.161.11 using pureperl...(156200.00 bytes/s)...Done Three usable mirrors located Three usable mirrors located Mirror Check passed for cpan.schatt.com (/index.html) Unknown config variable 'less'
    commit: wrote '/usr/lib/perl5/5.8.8/CPAN/Config.pm'
    CPAN: Storable loaded ok (v2.18)
    Going to read /home/.cpan/Metadata
    Database was generated on Wed, 04 Feb 2009 10:26:56 GMT Bareword found where operator expected at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 7, near "*use HTTP::StatuS"
    (Missing operator before HTTP::StatuS?) Bareword found where operator expected at /usr/lib/perl5/site_perl/5.8.8/HTTP/Response.pm line 10, near "*sub new"
    (Missing operator before new?)
    CPAN: Time::HiRes loaded ok (v1.9719)
    CPAN: LWP loaded ok (v5.812)
    Fetching with LWP:
    http://cpan.schatt.com/authors/01mailrc.txt.gz
    Can't locate object method "new" via package "HTTP::Response" at /usr/lib/perl5/site_perl/5.8.8/LWP/UserAgent.pm line 809.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default

    I updated perl like this and it's fine now:

    wget http://layer1.cpanel.net/perl588installer.tar.gz
    tar xfvz perl588installer.tar.gz
    cd perl588installer
    ./install
    /usr/local/cpanel/bin/checkperlmodules

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Location
    New Jersey, USA
    Posts
    397

    Default

    You can also reinstall the specific perl module manually if you still have trouble with any of them.

Similar Threads & Tags
Similar threads

  1. The perl module Expect could not be installed
    By will72wein in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-18-2010, 09:27 PM
  2. Replies: 0
    Last Post: 06-10-2008, 04:14 AM
  3. digest::md5
    By teck in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-31-2004, 04:15 PM
  4. cpop problem Digest::MD5
    By phantom2 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-07-2004, 04:40 AM
  5. Perl Module Installed
    By Nico in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-07-2003, 03:59 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube