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.

New errors since upgrade? Encode::Detect::Detector

Discussion in 'General Discussion' started by ehask71, Jun 5, 2008.

  1. ehask71

    ehask71 Active Member

    Joined:
    Jul 13, 2007
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Tampa, Florida, United States
    cPanel Access Level:
    Root Administrator
    [checkperlmodules] The perl module Encode::Detect::Detector could not be installed.

    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 locate Encode/Detect/Detector.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.1/i686-linux /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at - line 1.
    BEGIN failed--compilation aborted at - line 1.


    Installer Run
    ==============
    Testing connection speed...(using fast method)...Done
    Ran out of working CPAN mirrors. Please contact cPanel Support at /scripts/cPanelPerl.pm line 280.


    Anyone else seeing this???
    WHM 11.23.0 cPanel 11.23.3-C25067
    REDHAT Enterprise 3 i686 on standard - WHM X v3.1.0

    Thx,
    Eric
     
  2. rmackay

    rmackay Well-Known Member

    Joined:
    Nov 26, 2002
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    I saw this as well with an update today. Not sure what it means but doesn't seem to be anything major.
     
  3. soundguy

    soundguy Well-Known Member
    PartnerNOC

    Joined:
    Oct 29, 2003
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    seattle
    yep, got this on two new servers with 64-bit CentOS 5.2
     
  4. Gavster

    Gavster Active Member

    Joined:
    Apr 3, 2002
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Same problem

    Also seeing this on a new CentOS 5.3 install (Intel Xeon E5405 CPU)

    Anyone seen a fix for this yet? I tried running:

    /scripts/realperlinstaller Encode::detect

    But no joy . . .
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Please try

    /scripts/perlinstaller Encode::Detect::Detector

    If that does not work

    /scripts/perlinstaller --force Encode::Detect::Detector
     
    #5 cPanelNick, Jul 15, 2009
    Last edited by a moderator: Jul 15, 2009
  6. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Run the following.

    /usr/local/cpanel/bin/checkperlmodules
     
  7. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    If that doesn't work, please try

    /scripts/autorepair encodedetectfix
     
  8. swampy

    swampy Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    Can't locate Encode/Detect/Detector.pm

    I too am getting this error this morning on a new server Centos 5.3 i have ran all the above but i still get the error at the end of the build it says

    make: *** [all] Error 2
    JGMYERS/Encode-Detect-1.01.tar.gz
    /usr/bin/make -- NOT OK
    Running make install
    Make had returned bad status, install seems impossible perlmod--Install done

    any help please

    Mark
     
  9. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    Have you tried /scripts/upcp --force ?
     
  10. swampy

    swampy Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    Yes i have ran that twice since the server was built last week i am running current current build

    cPanel 11.24.5-C37393 - WHM 11.24.2 - X 3.9
    CENTOS 5.3 i686 standard on saturn
     
  11. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    Please try to change it to stable from current .

    vi /etc/cpupdate.conf
    CPANEL=stable

    Then run

    /scripts/upcp --force
     
  12. swampy

    swampy Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    Will try that now thanks logicsupport
     
  13. swampy

    swampy Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0

    Well that looks like it fixed it thanks will see now when auto update updates cpanel again to see if it is sorted

    thanks logicsupport for your help

    Mark
     
  14. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    Hi Mark,

    Great to hear that its working for you!! Let us know if you encounter any further issues.
     
  15. Phil_b

    Phil_b Registered

    Joined:
    Aug 4, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    strange I also receive this error and none of the above help, see below:

    at start:

    Code:
    Test Run
    ==============
    Can't locate Encode/Detect/Detector.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at - line 1.
    BEGIN failed--compilation aborted at - line 1.
    at the end

    Code:
    I'd recommend removing
    /home/.cpan/sources/authors/id/D/DA/DAGOLDEN/Module-Build-0.34.tar.gz. Its
    MD5
    checksum is incorrect. Maybe you have configured your 'urllist' with
    a bad URL. Please check this array with 'o conf urllist', and
    
    retry.make: *** No targets specified and no makefile found.  Stop.
     /usr/bin/make OTHERLDFLAGS=-L/usr/lib64 LDFLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 -- NOT OK
    Running make install
     make had returned bad status, install seems impossible
    perlmod--Install done
    Please advise

    Thanks
     
    #15 Phil_b, Aug 4, 2009
    Last edited by a moderator: Aug 4, 2009
  16. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Please let our technical analysts take a closer look so we can determine the cause of this issue. Once we know the cause of the issue, we'll be able to resolve this issue: http://tickets.cPanel.net/submit

    Feel welcome to PM me your ticket ID number so I can follow up with this internally.
     
  17. bizzy

    bizzy Member

    Joined:
    Nov 30, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    I had this problem with an August 5th install on Centos 5.3. The cPanel report produced by running /scripts/upcp --force concluded:

    I'd recommend removing
    /home/.cpan/sources/authors/id/T/TO/TOMHUGHES/IO-Zlib-1.10.tar.gz. Its MD5
    checksum is incorrect.


    Did so, ran /scripts/upcp --force again and the problem went away. So maybe a corrupt installation?
     
Loading...

Share This Page