Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    288

    Question upcp generates an error

    While running an update of cPanel from RELEASE to CURRENT we had a few errors..

    one was a perl module install failure, so how broken will my cPanel box be? how should I go about fixing it, if needed?

    [checkperlmodules] The perl module Encode::Detect::Detector could not be installed.

    log file is attached.
    Attached Files
    Last edited by PPNSteve; 05-12-2008 at 01:27 PM.
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  2. #2
    Member viraj's Avatar
    Join Date
    Sep 2006
    Location
    India
    Posts
    209
    cPanel/Enkompass Access Level

    DataCenter Provider

    Smile

    Hi Steve,

    Can you try reinstalling Perl, by downloading the latest release : http://layer1.cpanel.net/perl588installer.tar.gz
    Download using "wget http://layer1.cpanel.net/perl588installer.tar.gz"
    Extract it & run the install script, it'd install all the necessary Perl modules & you can later on continue with the control panel upgrade. This has fixed most of my issues lately...

  3. #3
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    288

    Default

    we already have the latest perl installed.. but I may try reinstalling it to see what happens..

    perhaps the pm itself is messed up.?

    Quote Originally Posted by ssh
    root@wobbuffet-202 [/usr/local/apache/logs]# perl -v

    This is perl, v5.8.8 built for i686-linux
    Quote Originally Posted by ssh
    root@wobbuffet-202 [/usr/local/apache/logs]# /usr/local/cpanel/bin/checkperlmodules
    Method: Perl Expect
    Fetching CPAN timestamp...Done
    Testing connection speed...(this could take a while)...Done
    Ping:2.297 Testing connection speed to cpan.belfry.net using pureperl...(157400.00 bytes/s)...Done
    Ping:20.432 Testing connection speed to cpan.hexten.net using pureperl...(79250.00 bytes/s)...Done
    Ping:31.351 Testing connection speed to mirror.hiwaay.net using pureperl...(77900.00 bytes/s)...Done
    Three usable mirrors located
    Mirror Check passed for cpan.belfry.net (/index.html)
    Unknown config variable 'less'
    commit: wrote '/usr/lib/perl5/5.8.8/CPAN/Config.pm'
    CPAN: File::HomeDir loaded ok (v0.69)
    CPAN: Storable loaded ok (v2.18)
    Going to read /home/.cpan/Metadata
    Database was generated on Mon, 12 May 2008 01:30:52 GMT
    Devel::PPPort is up to date (3.13).
    HTTP::Date is up to date (5.810).
    Scalar::Util is up to date (1.19).
    cPCPAN: Module (LWP) holdback (5.812 held back to 5.810)
    MIME::Base64 is up to date (3.07).
    Digest::MD5 is up to date (2.36).
    URI is up to date (1.36).
    Net::FTP is up to date (2.77).
    HTML::Tagset is up to date (3.20).
    HTML::Parser is up to date (3.56).
    HTML::HeadParser is up to date (2.22).
    LWP is up to date (5.810).
    Crypt::SSLeay is up to date (0.57).
    Digest::MD5 is up to date (2.36).
    Digest::SHA1 is up to date (2.11).
    Encode is up to date (2.25).
    ExtUtils::Constant is up to date (0.17).
    ExtUtils::ParseXS is up to date (2.19).
    File::Touch is up to date (0.02).
    Filesys::Df is up to date (0.92).
    Filesys::Virtual is up to date (0.06).
    Filter::Util::Call is up to date (1.07).
    Getopt::Long is up to date (2.37).
    Getopt::Param::Tiny is up to date (0.4).
    cPCPAN: Module (Compress::Raw::Zlib) holdback (2.010 held back to 2.005)
    Compress::Raw::Zlib is up to date (2.005).
    Authen::Libwrap is up to date (0.20).
    Net::FTPSSL is up to date (0.04).
    Net::SSL is up to date (2.84).
    cPCPAN: Module (Net::SSLeay) holdback (1.32 held back to 1.30)
    Net::SSLeay is up to date (1.30).
    cPCPAN: Module (IO::Compress::Gzip) holdback (2.010 held back to 2.005)
    IO::Compress::Gzip is up to date (2.005).
    IO::Scalar is up to date (2.110).
    IO::Socket::SSL is up to date (1.13).
    IO::Stty is up to date (.02).
    cPCPAN: Module (IO::Uncompress::Gunzip) holdback (2.010 held back to 2.005)
    IO::Uncompress::Gunzip is up to date (2.005).
    Lchown is up to date (1.00).
    List::Util is up to date (1.19).
    MD5 is up to date (2.03).
    Net::AIM is up to date (1.22).
    Net::DNS is up to date (0.63).
    Net::OSCAR is up to date (1.925).
    Pod::Perldoc is up to date (3.14).
    Storable is up to date (2.18).
    Term::ReadKey is up to date (2.30).
    Term::ReadLine::Perl is up to date (1.0302).
    Time::HiRes is up to date (1.9715).
    Tree::MultiNode is up to date (1.0.10).
    Unix::PID is up to date (0.0.15).
    Unix::PID::Tiny is up to date (0.5).
    cPCPAN: Module (XML::Parser) holdback (2.36 held back to 2.34)
    XML::Parser is up to date (2.34).
    XML::SAX is up to date (0.16).
    XML::Simple is up to date (2.18).
    lib::restrict is up to date (0.0.5).
    Filesys::Statvfs is up to date (0.82).
    Crypt::GPG is up to date (1.63).
    Class::Accessor is up to date (0.31).
    Class::Accessor::Fast is up to date (0.31).
    File::MMagic::XS is up to date (0.09003).
    Email::Valid is up to date (0.179).
    File::ReadBackwards is up to date (1.04).
    ExtUtils::MakeMaker is up to date (6.44).
    Mail::SRS is up to date (0.31).
    Acme::Spork is up to date (0.0.7).
    Archive::Tar is up to date (1.38).
    Archive::Tar::Streamed is up to date (0.03).
    Archive::Zip is up to date (1.23).
    Encode::Guess is up to date (2.02).
    DBI is up to date (1.604).
    DBD::mysql is up to date (4.007).
    Digest::MD5 is up to date (2.36).
    Digest::SHA1 is up to date (2.11).
    MIME::Base64 is up to date (3.07).
    MIME::Lite is up to date (3.021).
    URI::URL is up to date (5.03).
    HTML::Tagset is up to date (3.20).
    HTML::Entities is up to date (1.35).
    MIME::Base64 is up to date (3.07).
    Digest::MD5 is up to date (2.36).
    URI is up to date (1.36).

    Net::FTP is up to date (2.77).
    HTML::Tagset is up to date (3.20).
    HTML::Parser is up to date (3.56).
    HTML::HeadParser is up to date (2.22).
    LWP is up to date (5.810).
    Parse::RecDescent is up to date (1.94).
    OLE::Storage_Lite is up to date (0.17).
    MIME::Base64 is up to date (3.07).
    Digest::MD5 is up to date (2.36).
    URI is up to date (1.36).
    Net::FTP is up to date (2.77).
    HTML::Tagset is up to date (3.20).
    HTML::Parser is up to date (3.56).
    HTML::HeadParser is up to date (2.22).
    LWP is up to date (5.810).
    Term::ReadKey is up to date (2.30).
    Term::ReadLine::Perl is up to date (1.0302).
    Text::Query is up to date (0.07).
    Image::Size is up to date (3.100001).
    DBI is up to date (1.604).
    Safe::Hole is up to date (0.10).
    Tie::ShadowHash is up to date (0.07).
    Set::Crontab is up to date (1.00).
    IO::Scalar is up to date (2.110).
    Storable is up to date (2.18).
    Spreadsheet::ParseExcel is up to date (0.32).
    Spreadsheet::WriteExcel is up to date (2.21).
    Business::OnlinePayment::AuthorizeNet is up to date (3.19).
    Business::UPS is up to date (1.13).
    CGI is up to date (3.37).
    Class::Std::Utils is up to date (0.0.3).
    Compress::Bzip2 is up to date (2.09).
    cPCPAN: Module (Compress::Zlib) holdback (2.010 held back to 1.42)
    Compress::Zlib is up to date (1.42).
    DBI is up to date (1.604).
    Date::Parse is up to date (2.27).
    File::Tail is up to date (0.99.3).
    GD::Graph is up to date (1.44).
    GD::Text::Align is up to date (1.18).
    Memoize is up to date (1.01).
    Geo::IPfree is up to date (0.2).
    HTML::Parser is up to date (3.56).
    HTTP::Daemon::App is up to date (0.0.9).
    IO::Socket::ByteCounter is up to date (0.0.2).
    Image::Size is up to date (3.100001).
    MIME::Base64 is up to date (3.07).
    Mail::DomainKeys is up to date (1.0).
    Mail::SPF is up to date (v2.005).
    Mail::SPF::Query is up to date (1.999.1).
    Mail::DKIM is up to date (0.31).
    IP::Country is up to date (2.24).
    Graph::Easy is up to date (0.62).
    Graph::Flowchart is up to date (0.11).
    cPCPAN: Module (Mail::SpamAssassin) holdback (3.002004 held back to 3.2.4)
    Mail::SpamAssassin is up to date (3.002004).
    XML::LibXML::Common is up to date (0.13).
    XML::LibXML is up to date (1.66).
    Net::DAV::Server is up to date (1.29).
    Net::Daemon::SSL is up to date (1.0).
    Net::LDAP is up to date (0.36).
    Net::LDAP::Schema is up to date (0.9905).
    Net::LDAP::Server is up to date (0.4).
    GD::Graph is up to date (1.44).
    Parse::RecDescent is up to date (1.94).
    Quota is up to date (1.6.2).
    SVG::TT::Graph is up to date (0.10).
    Safe::Hole is up to date (0.10).
    Spreadsheet::ParseExcel is up to date (0.32).
    Spreadsheet::WriteExcel is up to date (2.21).
    String::CRC32 is up to date (1.4).
    SQL::Statement is up to date (1.15).
    Tie::IxHash is up to date (1.21).
    Tie::ShadowHash is up to date (0.07).
    Tie::Watch is up to date (1.2).
    Tie::DBI is up to date (1.02).
    URI::URL is up to date (5.03).
    File::Scan::ClamAV is up to date (1.8).
    perlmod--Install done
    Tested 108, 108 ok, 0 failed.
    Cpanel::FastMath: [INSTALLED=1] [VERSION=0.2]
    Cpanel::POSIX::Tiny: [INSTALLED=1] [VERSION=0.7]
    Cpanel::Cleanup: [INSTALLED=1] [VERSION=0.4]
    Last edited by PPNSteve; 05-12-2008 at 07:56 PM.
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  4. #4
    Member
    Join Date
    May 2006
    Posts
    5

    Default

    Here is the solution

    http://wiki.cpaneldirect.net/wiki/in...tect::Detector

    Encode-Detect-1.00.tar.gz should already be on decompressed on your system. So just locate it and move there. Probably:

    cd /home/.cpan/build/Encode-Detect-1.00

    "patch -p0 filename" should be: "patch -p0 <filename"

    filename being whatever you save the patch as

    Then:

    perl Makefile.PL && make && make install

Similar Threads & Tags
Similar threads

  1. easyapache generates broken php.ini
    By AlexVB in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-13-2011, 01:45 PM
  2. Email on port 465 generates error in outlook
    By Silver_2000 in forum Security
    Replies: 10
    Last Post: 12-07-2010, 06:57 AM
  3. upcp generates some new errors..
    By PPNSteve in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 10-01-2010, 05:57 AM
  4. SQUIRREL MAIL -- clicking CC [more..] link generates an error
    By iconraul in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-01-2007, 01:28 PM
  5. Cant run upcp syntax error at /scripts/upcp line 46, near "system"
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-20-2005, 12:03 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube