Results 1 to 1 of 1
  1. #1
    Join Date
    Mar 2005
    Location
    Orlando, Florida
    Posts
    2,625

    * cPanel 11.25 installation/update warnings

    Hello Fellow WHT members,

    Over the past 17 hours, I've run into countless errors upon cPanel installations, with what appears to be a fairly high amount of users experiencing these issues.

    Upon a fresh installation of CentOS 5.4, cPanel fails to install it's PERL modules and the updated CPAN respository appropriately leading to the ultimate failure of cPanel and all services of which it installs that require management by PERL script, namely Apache.

    Upon investigating this issue and running /scripts/checkperlmodules there were 60 modules of which were not installing correctly.

    These were the modules listed below --

    Code:
    Tested 116, 56 ok, 60 failed.
    Failed install: Crypt::SSLeay
    Failed install: File::Touch
    Failed install: Filesys::Df
    Failed install: Filesys::Virtual
    Failed install: Net::FTPSSL
    Failed install: Net::SSL
    Failed install: IO::Scalar
    Failed install: IO::Socket::SSL
    Failed install: Net::DNS
    Failed install: Net::OSCAR
    Failed install: Tree::MultiNode
    Failed install: Unix::PID
    Failed install: XML::Parser
    Failed install: XML::SAX
    Failed install: XML::Simple
    Failed install: Filesys::Statvfs
    Failed install: Crypt::GPG
    Failed install: Class::Accessor
    Failed install: Class::Accessor::Fast
    Failed install: File::MMagic::XS
    Failed install: Email::Valid
    Failed install: File::ReadBackwards
    Failed install: Mail::SRS
    Failed install: Acme::Spork
    Failed install: Archive::Tar::Streamed
    Failed install: Business::OnlinePayment::AuthorizeNet
    Failed install: Business::UPS
    Failed install: Compress::Bzip2
    Failed install: DBIx::MyParsePP
    Failed install: DBD::SQLite2
    Failed install: File::Tail
    Failed install: GD::Graph
    Failed install: GD::Text::Align
    Failed install: Geo::IPfree
    Failed install: HTML::Parser
    Failed install: HTTP::Daemon::App
    Failed install: Image::Size
    Failed install: Mail::DomainKeys
    Failed install: Mail::SPF
    Failed install: Mail::SPF::Query
    Failed install: Mail::DKIM
    Failed install: IP::Country
    Failed install: Mail::SpamAssassin
    Failed install: XML::LibXML::Common
    Failed install: XML::LibXML
    Failed install: Net::DAV::Server
    Failed install: Net::Daemon::SSL
    Failed install: Net::LDAP::Server
    Failed install: GD::Graph
    Failed install: SVG::TT::Graph
    Failed install: Safe::Hole
    Failed install: Text::CSV
    Failed install: Spreadsheet::ParseExcel
    Failed install: Spreadsheet::WriteExcel
    Failed install: String::CRC32
    Failed install: SQL::Statement
    Failed install: Tie::IxHash
    Failed install: Tie::ShadowHash
    Failed install: Tie::Watch
    Failed install: Tie::DBI
    The CPAN repository was downloaded in a corrupt manner, leading essential processes and PERL modules to fail to install.

    Running --

    Code:
    cpan
    install LWP::Agent
    quit
    Will correct the issue with the failed mirror.

    However, it will not fix everything as Mail::SPF will still refuse to install.

    To install Mail::SPF, run the below --

    Code:
    perl -MCPAN -e "get('Mail::SPF')" && cd /home/.cpan/sources/authors/id/J/JM/JMEHNLE/mail-spf && tar -xzvf Mail-SPF-v2.007.tar.gz && cd Mail-SPF-v2.007 && perl Build.PL && ./Build && ./Build test && ./Build install && /scripts/checkperlmodules --full
    Once finished --
    Code:
    /scripts/upcp --force
    /scripts/easyapache
    I have just gotten Apache up and running after several OS reloads of CentOS 5.4, using strictly the cPanel "lastest" bash script installer located on their website.

    I very highly suggest not making any changes to PERL, or running /scripts/upcp --force unless you're ready to potentially be plagued with this issue.

    The only assistance cPanel was able to give me was the following

    It appears there was a corrupt CPAN mirror; I ran the following commands to fix it:

    cpan
    install LWP::Agent
    quit

    Then I ran '/scripts/checkperlmodules' and all modules appear okay, except for Mail::SPF which there is an open issue for (the maintainer upstream broke it, so it won't install)
    Which was helpful, but useless in getting my web server online.

    Also note that if you do run into this issue, do NOT compile Apache with mod_perl as it will fail, as Perl is still being quite troublesome.

    I felt it important to post this publicly as this lead to 17+ hours downtime for our main company website, and I'm still rebuilding this. I just wanted to let everyone know how to "fix" (more like band-aid) the issue to get your systems back online if you ever run into this issue.

    Feel free to contact me with any questions you might have, my AIM is located in my profile, or you can PM me.

    All the best,
    Matt
    Last edited by Matt R; 01-28-2010 at 07:14 AM.
    Matthew Rosenblatt, and I do lots of things.
    Used to be a full time server administrator, now I help build cruise ships and inspect homes.
    My company, Ferrell Solutions, specializes in home inspections and property management.
    RecallScan is a service for monitoring appliances and vehicles in your home for recalls.

Similar Threads

  1. ClamAv Update and Installation problem
    By nihal2 in forum Hosting Security and Technology
    Replies: 5
    Last Post: 05-02-2008, 05:25 PM
  2. cPanel Horde Vulnerability Found - Please update your cPanel ASAP
    By Virtuoso Host in forum Hosting Security and Technology
    Replies: 14
    Last Post: 03-09-2008, 02:35 PM
  3. WHMCS Licenses - V2.5.8 Released - FREE Installation / Update
    By Kemik in forum Other Web Hosting Related Offers
    Replies: 0
    Last Post: 10-28-2006, 08:16 AM
  4. cpanel warnings
    By xfob in forum Hosting Security and Technology
    Replies: 7
    Last Post: 09-02-2005, 08:19 PM
  5. Cpanel Security Warnings !!!
    By goolex in forum Hosting Security and Technology
    Replies: 0
    Last Post: 07-19-2005, 04:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •