Web Hosting Talk







View Full Version : cPanel 11.25 installation/update warnings


Matt R
01-28-2010, 07:08 AM
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 --


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 --

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 --

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 --

/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