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.

The perl module GD::Graph could not be installed.

Discussion in 'General Discussion' started by joepublic, Nov 9, 2012.

  1. joepublic

    joepublic Member

    Joined:
    Nov 8, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi all,

    I've recently started receiving this error via email:

    Subject: The perl module GD::Graph could not be installed.

    Code:
    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
    ==============
    Can't load '/usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux/auto/GD/GD.so' for module GD: libX11.so.6: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.8.8/x86_64-linux/DynaLoader.pm line 224.
    at /usr/local/lib/perl5/site_perl/5.8.8/GD/Graph.pm line 38
    Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/GD/Graph.pm line 38.
    BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/GD/Graph.pm line 38.
    Compilation failed in require at - line 1.
    BEGIN failed--compilation aborted at - line 1.
    So I then ran:

    Code:
    /scripts/upcp --force
    followed by:

    Code:
    /usr/local/cpanel/scripts/checkperlmodules --full --force
    which produced the following:

    Code:
    The following modules are now being installed/updated/verified: Locales,version,CDB_File,Module::Build,BSD::Resource,Class::Std,Digest::MD5::File,Expect,Encode::Guess,Encode::MIME::Name,Encode::Detect::Detector,Data::Dump,File::Copy::Recursive,File::ReadBackwards,File::Find::Rule,IO::Tty,Sys::Hostname::Long,local::lib,AppConfig,Template,YAML::Syck,JSON::Syck,cPanel::MemTest,List::MoreUtils,DateTime::Locale,DateTime::TimeZone,DateTime,DB_File,HTTP::Date,Scalar::Util,MIME::Base64,URI,Net::FTP,HTML::Tagset,HTML::Parser,HTML::HeadParser,LWP,Bundle::LWP,DBI,Crypt::SSLeay,CPAN::SQLite,Data::Dumper,Digest::MD5,Digest::SHA1,Encode,ExtUtils::Constant,ExtUtils::Install,ExtUtils::ParseXS,File::Touch,Filesys::Df,Filesys::Virtual,Filter::Util::Call,Getopt::Long,Getopt::Param::Tiny,IO::Interactive::Tiny,Compress::Raw::Zlib,Authen::Libwrap,Net::FTPSSL,Net::SSL,Net::SSLeay,IO::Compress::Gzip,IO::Scalar,IO::Socket::INET6,IO::Socket::SSL,IO::Stty,IO::Uncompress::Gunzip,Lchown,List::Util,MD5,Net::DNS,Net::OSCAR,Net::LibIDN,Pod::Perldoc,Socket6,Storable,Sys::Syslog,TAP::Harness,Term::ReadKey,Term::ReadLine::Perl,Time::HiRes,Tree::MultiNode,Unix::PID,Unix::PID::Tiny,XML::LibXML::Common,XML::LibXML,XML::Parser,XML::SAX,XML::Simple,lib::restrict,Crypt::Passwd::XS,DBD::mysql,Filesys::Statvfs,Crypt::GPG,Class::Accessor,Class::Accessor::Fast,File::MMagic::XS,Email::Valid,ExtUtils::MakeMaker,Mail::SRS,Acme::Spork,Archive::Tar,Archive::Tar::Streamed,Archive::Zip,MIME::Lite,Business::OnlinePayment::AuthorizeNet,Business::UPS,CGI,Class::Std::Utils,Compress::Bzip2,Compress::Zlib,DBIx::MyParsePP,DBD::SQLite2,Date::Parse,File::Tail,GD::Graph,GD::Text::Align,Memoize,Geo::IPfree,HTTP::Daemon::App,IO::Socket::ByteCounter,Image::Size,Mail::DomainKeys,Error,NetAddr::IP,Net::DNS::Resolver::Programmable,Mail::SPF,Mail::SPF::Query,Mail::DKIM,IP::Country,Graph::Easy,Graph::Flowchart,Mail::SpamAssassin,URI::Escape,File::Find::Rule::Filesys::Virtual,File::Slurp,Net::DAV::Server,Net::Daemon,Net::Daemon::SSL,Net::LDAP,Net::LDAP::Schema,Net::LDAP::Server,Net::IP::Match::Regexp,OLE::Storage_Lite,Parse::RecDescent,Quota,SVG::TT::Graph,Safe::Hole,Text::CSV,Spreadsheet::ParseExcel,Spreadsheet::WriteExcel,String::CRC32,SQL::Statement,Set::Crontab,Tie::IxHash,Tie::ShadowHash,Tie::DBI,URI::URL,Bundle::Interchange,Devel::PPPort,Linux::Inotify2
    Checking C compiler....info [checkperlmodules] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_cc
    C compiler (/usr/bin/cc) OK (cached Fri Nov  9 03:32:33 2012)
    Tuned C compiler not available because it is not enabled....Done
    CPAN fallback is disabled since /var/cpanel/conserve_memory exists, and cpanm is available.
    Method: Using Perl Expect, Installer: cpanm
    You have make /usr/bin/make
    Falling back to HTTP::Tiny 0.009
    You have /bin/tar: tar (GNU tar) 1.15.1
    You have /usr/bin/unzip
    You have Cpanel::HttpRequest 2.1
    Testing connection speed...(using fast method)...Done
    Ping:1 (ticks) Testing connection speed to mirror.ox.ac.uk using pureperl...(cached .. 61000.00 bytes/s)...Done
    Ping:0 (ticks) Testing connection speed to cpan.mirror.anlx.net using pureperl...(cached .. 31100.00 bytes/s)...Done
    Ping:0 (ticks) Testing connection speed to www.mirror.8086.net using pureperl...(cached .. 30350.00 bytes/s)...Done
    Ping:1 (ticks) Testing connection speed to mirror.tje.me.uk using pureperl...(cached .. 29200.00 bytes/s)...Done
    Ping:2 (ticks) Testing connection speed to mirror.leaseweb.com using pureperl...(cached .. 28000.00 bytes/s)...Done
    Five usable mirrors located
    Ping:1 (ticks) Testing connection speed to 85.13.201.2 using pureperl...(using cached speed)...Done
    Ping:8 (ticks) Testing connection speed to 67.205.110.4 using pureperl...(using cached speed)...Done
    Ping:8 (ticks) Testing connection speed to 208.74.125.42 using pureperl...(using cached speed)...Done
    Three usable fallback mirrors located
    Fetching http://mirror.ox.ac.uk/sites/www.cpan.org/index.html (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/mirror.ox.ac.uk......searching for mirrors (mirror search attempt 1/3)...Ping:0 (ticks) Testing connection speed to 163.1.2.231 using pureperl...test failed...Done
    Ping:0 (ticks) Testing connection speed to 163.1.2.224 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 2/12)...Resolving mirror.ox.ac.uk...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 2/3)...Ping:0 (ticks) Testing connection speed to 163.1.2.231 using pureperl...test failed...Done
    Ping:0 (ticks) Testing connection speed to 163.1.2.224 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 3/12)...Resolving mirror.ox.ac.uk...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 3/3)...Ping:0 (ticks) Testing connection speed to 163.1.2.231 using pureperl...test failed...Done
    Ping:0 (ticks) Testing connection speed to 163.1.2.224 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 4/12)...Resolving mirror.ox.ac.uk...(resolve attempt 1/65)...mirror.ox.ac.uk did not have any working mirrors.  Please check your internet connection or dns server. at /usr/local/cpanel/Cpanel/HttpRequest.pm line 596.
    Perl Expect failed with non-zero exit status: 6400
    
    All available perl module install methods have failed
    Using fast module check.....checked 160 modules in 5 second(s)
    Checking C compiler....info [checkperlmodules] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_cc
    C compiler (/usr/bin/cc) OK (cached Fri Nov  9 03:32:33 2012)
    Tuned C compiler not available because it is not enabled....Done
    CPAN fallback is disabled since /var/cpanel/conserve_memory exists, and cpanm is available.
    Method: Using Perl Expect, Installer: cpanm
    You have make /usr/bin/make
    Falling back to HTTP::Tiny 0.009
    You have /bin/tar: tar (GNU tar) 1.15.1
    You have /usr/bin/unzip
    You have Cpanel::HttpRequest 2.1
    Testing connection speed...(using fast method)...Done
    Ping:1 (ticks) Testing connection speed to mirror.ox.ac.uk using pureperl...(cached .. 61000.00 bytes/s)...Done
    Ping:0 (ticks) Testing connection speed to cpan.mirror.anlx.net using pureperl...(cached .. 31100.00 bytes/s)...Done
    Ping:0 (ticks) Testing connection speed to www.mirror.8086.net using pureperl...(cached .. 30350.00 bytes/s)...Done
    Ping:1 (ticks) Testing connection speed to mirror.tje.me.uk using pureperl...(cached .. 29200.00 bytes/s)...Done
    Ping:2 (ticks) Testing connection speed to mirror.leaseweb.com using pureperl...(cached .. 28000.00 bytes/s)...Done
    Five usable mirrors located
    Ping:1 (ticks) Testing connection speed to 85.13.201.2 using pureperl...(using cached speed)...Done
    Ping:8 (ticks) Testing connection speed to 67.205.110.4 using pureperl...(using cached speed)...Done
    Ping:8 (ticks) Testing connection speed to 208.74.125.42 using pureperl...(using cached speed)...Done
    Three usable fallback mirrors located
    Fetching http://mirror.ox.ac.uk/sites/www.cpan.org/index.html (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/mirror.ox.ac.uk......searching for mirrors (mirror search attempt 1/3)...Ping:0 (ticks) Testing connection speed to 163.1.2.231 using pureperl...test failed...Done
    Ping:0 (ticks) Testing connection speed to 163.1.2.224 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 2/12)...Resolving mirror.ox.ac.uk...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 2/3)...Ping:0 (ticks) Testing connection speed to 163.1.2.231 using pureperl...test failed...Done
    Ping:0 (ticks) Testing connection speed to 163.1.2.224 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 3/12)...Resolving mirror.ox.ac.uk...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 3/3)...Ping:0 (ticks) Testing connection speed to 163.1.2.231 using pureperl...test failed...Done
    Ping:0 (ticks) Testing connection speed to 163.1.2.224 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 4/12)...Resolving mirror.ox.ac.uk...(resolve attempt 1/65)...mirror.ox.ac.uk did not have any working mirrors.  Please check your internet connection or dns server. at /usr/local/cpanel/Cpanel/HttpRequest.pm line 596.
    Perl Expect failed with non-zero exit status: 6400
    
    All available perl module install methods have failed
    Checking C compiler....info [checkperlmodules] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_cc
    C compiler (/usr/bin/cc) OK (cached Fri Nov  9 03:32:33 2012)
    Tuned C compiler not available because it is not enabled....Done
    CPAN fallback is disabled since /var/cpanel/conserve_memory exists, and cpanm is available.
    Method: Using Perl Expect, Installer: cpanm
    You have make /usr/bin/make
    Falling back to HTTP::Tiny 0.009
    You have /bin/tar: tar (GNU tar) 1.15.1
    You have /usr/bin/unzip
    You have Cpanel::HttpRequest 2.1
    Testing connection speed...(using fast method)...Done
    Ping:1 (ticks) Testing connection speed to mirror.ox.ac.uk using pureperl...(cached .. 61000.00 bytes/s)...Done
    Ping:0 (ticks) Testing connection speed to cpan.mirror.anlx.net using pureperl...(cached .. 31100.00 bytes/s)...Done
    Ping:0 (ticks) Testing connection speed to www.mirror.8086.net using pureperl...(cached .. 30350.00 bytes/s)...Done
    Ping:1 (ticks) Testing connection speed to mirror.tje.me.uk using pureperl...(cached .. 29200.00 bytes/s)...Done
    Ping:2 (ticks) Testing connection speed to mirror.leaseweb.com using pureperl...(cached .. 28000.00 bytes/s)...Done
    Five usable mirrors located
    Ping:1 (ticks) Testing connection speed to 85.13.201.2 using pureperl...(using cached speed)...Done
    Ping:8 (ticks) Testing connection speed to 67.205.110.4 using pureperl...(using cached speed)...Done
    Ping:8 (ticks) Testing connection speed to 208.74.125.42 using pureperl...(using cached speed)...Done
    Three usable fallback mirrors located
    Fetching http://mirror.ox.ac.uk/sites/www.cpan.org/index.html (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/mirror.ox.ac.uk......searching for mirrors (mirror search attempt 1/3)...Ping:0 (ticks) Testing connection speed to 163.1.2.231 using pureperl...test failed...Done
    Ping:0 (ticks) Testing connection speed to 163.1.2.224 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 2/12)...Resolving mirror.ox.ac.uk...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 2/3)...Ping:0 (ticks) Testing connection speed to 163.1.2.231 using pureperl...test failed...Done
    Ping:0 (ticks) Testing connection speed to 163.1.2.224 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 3/12)...Resolving mirror.ox.ac.uk...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 3/3)...Ping:0 (ticks) Testing connection speed to 163.1.2.231 using pureperl...test failed...Done
    Ping:0 (ticks) Testing connection speed to 163.1.2.224 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 4/12)...Resolving mirror.ox.ac.uk...(resolve attempt 1/65)...mirror.ox.ac.uk did not have any working mirrors.  Please check your internet connection or dns server. at /usr/local/cpanel/Cpanel/HttpRequest.pm line 596.
    Perl Expect failed with non-zero exit status: 6400
    
    All available perl module install methods have failed
    Tested 160, 158 ok, 2 failed.
    	Failed install: GD::Graph
    	Failed install: GD::Text::Align
    Using fast module check.....checked 5 modules in 0 second(s)
    Cpanel::FastMath: [INSTALLED=1] [VERSION=0.3]
    Cpanel::POSIX::Tiny: [INSTALLED=1] [VERSION=1.1]
    Cpanel::Cleanup: [INSTALLED=1] [VERSION=0.4]
    Cpanel::Class: [INSTALLED=1] [VERSION=1.0.5]
    Cpanel::TaskQueue: [INSTALLED=1] [VERSION=0.307]
    Can anyone tell me what's going on?
     
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    Could you open a ticket on this? We would like to take a closer look that will need login information.

    Thanks!
     
Loading...

Share This Page