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.

[checkperlmodules] The perl module XXXXX could not be installed.

Discussion in 'General Discussion' started by Jonno, Aug 18, 2007.

  1. Jonno

    Jonno Member

    Joined:
    Jan 3, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I woke up yesterday morning to find the following errors in my inbox:

    [​IMG]

    I didnt have any free time to investigate yesterday, but this morning i get

    [​IMG]

    what's gone wrong?

    :(

    Jonno
     
  2. Jonno

    Jonno Member

    Joined:
    Jan 3, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I also have

    all over my cpanel accounts.

    :(
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Search on the forums for this
    [checkperlmodules]

    There are threads here that explain how to fix.
     
  4. Jonno

    Jonno Member

    Joined:
    Jan 3, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    will have a look... but i did have a look before i posted.

    seems my WHM has been upgraded to version 11, which must have something to do with it?

    seems this is in most of the emails?

     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    So did I, and I believe I saw the answers you seek.
     
  6. zombo

    zombo Active Member

    Joined:
    Jan 28, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Austria
    The basic answer to you is, update your perl distribution to at least 5.8.5 or better (5.8.8 is available). There are some new modules used which do not work with older versions. Updating of perl and modules can be started in WHM (Software, install RPM ... install perl modules)
     
  7. Jonno

    Jonno Member

    Joined:
    Jan 3, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    yes i have installed perl 5.8.8, it was previously 5.8.5.

    Now just 4 errors remain:

    [checkperlmodules] The perl module Mail::SPF could not be installed.
    [checkperlmodules] The perl module XML::LibXML could not be installed.
    [checkperlmodules] The perl module Net::DAV::Server could not be installed.
    [checkperlmodules] The perl module Mail::SPF could not be installed.

    i've tried running as per searching

    /scripts/realperlinstaller --force XML::LibXML

    however the errors are still present.
     
  8. zombo

    zombo Active Member

    Joined:
    Jan 28, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Austria
    I'd rather use the WHM / Software / install a perl module
    then type in e.g. XML::LibXML
    it will display this one and a coule of submodules
    click on the XML::LibXML only
    wait for the install

    repeat for the other modules

    be happy.

    (At least that worked perfect on my WHM/CPanel)
     
  9. Jonno

    Jonno Member

    Joined:
    Jan 3, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    done the above, same 2 errors :eek:

    [checkperlmodules] The perl module Net::DAV::Server could not be installed.
    [checkperlmodules] The perl module XML::LibXML could not be installed.
     
  10. zombo

    zombo Active Member

    Joined:
    Jan 28, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Austria
    did you check your perl version ?
    ssh to your account, type at the prompt:
    perl -v
    the result should be something like
    This is perl, v5.8.8 ...............
    if your version is lower than 5.8.6, some modules do not install.
     
  11. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    What is your OS?
     
  12. Jonno

    Jonno Member

    Joined:
    Jan 3, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Perl 5.8.8
    OS is FC3.

    :)
     
  13. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The XML::LibXML problem likely stems from the older version of libxml installed on the system. What is the output from:

    Code:
    /scripts/perlinstaller XML::LibXML
    
    Similarly, what is the output from doing that for Net::Dav::Server ?
     
  14. Jonno

    Jonno Member

    Joined:
    Jan 3, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    As requested :)

     
  15. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Well that's odd. What does /scripts/checkperlmodules --full produce? Only the output specific to those modules is needed.
     
  16. Jonno

    Jonno Member

    Joined:
    Jan 3, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    i only managed to get the bottom part, but i did get the same emails in my inbox again:

     
  17. MaraBlue

    MaraBlue Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    335
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Carmichael, CA
    cPanel Access Level:
    Root Administrator
    Hope it's OK if I tag onto this thread, I'm having the same problem, only on v 10.9.1.

    Code:
    root@biscuit [~]# /scripts/perlinstaller XML::LibXML
    Fetching http://cpan.cpanel.net/cPCPAN/modules.versions (0)....@74.200.65.162......connected......receiving...100%......Done
    Unable to fetch CPAN module version list from http://cpan.cpanel.net/cPCPAN/modules.versions at /scripts/cPScript/cPCPAN.pm line 54.
    
    I've been getting the same thing in the upcp email for the last 3 nights. I knew something was wrong when the upcp email was only 4kb. It's normally 10kb.

    From /scripts/cPScript/cPCPAN.pm line 54 :
    Code:
         52     if ((stat($self->{'basedir'} . '/.cpcpan/modules.versions'))[9] + 86400 < time()
         53         || (stat($self->{'basedir'} . '/.cpcpan/modules.versions'))[7] == 0) {
         54         die 'Unable to fetch CPAN module version list from http://cpan.cpanel.net/cPCPAN/modules.versions';
    
    Seems to be a CPAN problem...
     
    #17 MaraBlue, Aug 23, 2007
    Last edited: Aug 23, 2007
  18. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    From the command line, try:

    Code:
    cpan -i XML::LibXML
    
    If it can't download the module, then your CPAN mirror list is bad.
     
  19. MaraBlue

    MaraBlue Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    335
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Carmichael, CA
    cPanel Access Level:
    Root Administrator
    That worked...kind of. The download seemed to go fine, but the install failed some tests.

    Code:
    2 tests and 44 subtests skipped.
    Failed 1/32 test scripts. 6/1656 subtests failed.
    Files=32, Tests=1656,  4 wallclock secs ( 2.96 cusr +  0.40 csys =  3.36 CPU)
    Failed 1/32 test programs. 6/1656 subtests failed.
    make: *** [test_dynamic] Error 255
      PAJAS/XML-LibXML-1.63.tar.gz
      /usr/bin/make test -- NOT OK
    Running make install
      make test had returned bad status, won't install without force
    
    upcp still reports:
    Code:
    Unable to fetch CPAN module version list from http://cpan.cpanel.net/cPCPAN/modules.versions at /scripts/cPScript/cPCPAN.pm line 54.
    
    /usr/local/cpanel/bin/checkperlmodules:

    Code:
    root@biscuit [~]# /usr/local/cpanel/bin/checkperlmodules
    Fetching http://cpan.cpanel.net/cPCPAN/modules.versions (0)....@74.200.65.162......connected......receiving...100%......Done
    Unable to fetch CPAN module version list from http://cpan.cpanel.net/cPCPAN/modules.versions at /scripts/cPScript/cPCPAN.pm line 54.
    
     
    #19 MaraBlue, Aug 24, 2007
    Last edited: Aug 24, 2007
  20. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Try moving /root/.cpcpan out of the way:

    Code:
    mv .cpcpan .cpcpan.orig
    
    then either re-execute /usr/local/cpanel/bin/checkperlmodules or wait for upcp to do it.


    Also, which libxml versions are installed on your system?

    Code:
    rpm -q libxml
    rpm -q libxml2
    
     
Loading...

Share This Page