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 Net::LDAP could not be installed

Discussion in 'General Discussion' started by seahorse, Sep 3, 2011.

  1. seahorse

    seahorse Well-Known Member

    Joined:
    Jul 3, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    I've receive several emails with the subject as below

    [checkperlmodules] The perl module Net::LDAP could not be installed

    Email content
    May i know how can i fix this?

    Thanks.
     
  2. Brian

    Brian Well-Known Member

    Joined:
    Dec 1, 2010
    Messages:
    117
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    The author of Net::LDAP released a broken version (v0.42) of the module this morning. The errors you are seeing are simply checkperlmodules recognizing that the newly updated module is broken and couldn't be installed.

    Since then (confirmed at about 2:30pm CDT) the author has pushed another update (v0.43) which has addressed the prior broken update. You can either wait until cPanel Update next runs on your server or manually run /scripts/checkperlmodules yourself. cPanel's mechanisms do not use Net::LDAP at this time so your server would not have been adversely affected during the time you had the broken module. Although, if you had any custom Perl scripts that rely on Net::LDAP that's another story.
     
  3. seahorse

    seahorse Well-Known Member

    Joined:
    Jul 3, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    thanks for the explanation.
     
  4. singh9211

    singh9211 Member

    Joined:
    Jan 18, 2011
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    thanks for the solutons, was having the same emails coming from the servers.

    [checkperlmodules] The perl module Net::LDAP could not be installed.

    Test Run
    ==============
    Can't call method "message" on an undefined value at /usr/local/share/perl5/Net/LDAP.pm line 329, <DATA> line 558.
    Compilation failed in require at - line 1, <DATA> line 558.
    BEGIN failed--compilation aborted at - line 1, <DATA> line 558.
     
  5. bhd

    bhd Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    JNB ZA
    cPanel Access Level:
    Root Administrator
    This is a pretty old thread but it looks like the developer has done the same thing he did in 2011. Getting exactly the same error on several servers.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    An internal case has been opened for this issue. For reference, the case number is 60987. This thread will be updated with more information as it becomes available.

    Thank you.
     
  7. hectorpn

    hectorpn Member

    Joined:
    Sep 23, 2010
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    I received the same notification today (05-SEP-2012)). Interested to hear what the solution is.
     
  8. outofcontrol

    outofcontrol Member

    Joined:
    May 18, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    Our cpanel servers are now giving us this error as well. Waiting for resolution. (05-SEP-2012)
     
  9. p123

    p123 Member

    Joined:
    Aug 20, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bangkok
    Just received the same email:


    Any advice?
     
  10. gbh

    gbh Active Member

    Joined:
    Sep 17, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sydney
    cPanel Access Level:
    Root Administrator
    yep same email here. subscribing for updates
     
  11. sh3lls.net

    sh3lls.net Member

    Joined:
    May 15, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    I'm also having same issue, please update

    Thanks
     
  12. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This should now be fixed. The problem was with Net::LDAP, which is a Perl module that cPanel requires but does not develop.

    To apply the fix on your server, just log into the shell as root and run the following command:

    Code:
    # /scripts/checkperlmodules --full
    You should see something like this before the command prompt returns:

    Code:
    Using fast module check.....checked 160 modules in 19 second(s)
    Tested 160, 160 ok, 0 failed.
    If it does not report "0 failed", you can submit a ticket to us and we will be happy to log in and look at what is wrong on your particular server.
     
  13. KenF

    KenF Member
    Staff Member

    Joined:
    Oct 29, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
  14. 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
    Thank you!

    Just wondering, is this OS version specific? Servers running CentOS 6.3 got this email, whereas servers running CentOS 5 didn't. All running Perl 5.8.8.
     
  15. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Nothing in our internal case nor the external perl module bug report indicate that this only impacted CentOS 6 systems. Do the CentOS 5 systems have Net::LDAP installed? If they do, what version of the module is being used?
     
  16. onef

    onef Member

    Joined:
    Mar 19, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I'm looking at a CentOS 5.8 server, and after running an upcp --force, checkperlmodules --full is still trying to install perl-ladp-0.45.

    I just confirmed this on another 5.8 server, but both servers try to install .46 but go back to .45 in fallback mode.

    The mirror changes, but the info is basically the same:
    Entering perl-ldap-0.46
    META.yml not found or unparsable. Fetching META.yml from search.cpan.org
    Fetching http://search.cpan.org/meta/perl-ldap-0.46/META.yml (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/search.cpan.org......searching for mirrors (mirror search attempt 1/3)...Ping:16 (ticks) Testing connection speed to 199.15.176.161 using pureperl...test failed...Done
    Ping:35 (ticks) Testing connection speed to 194.106.223.155 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 2/12)...Resolving search.cpan.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 2/3)...Ping:16 (ticks) Testing connection speed to 199.15.176.161 using pureperl...test failed...Done
    Ping:35 (ticks) Testing connection speed to 194.106.223.155 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 3/12)...Resolving search.cpan.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 3/3)...Ping:16 (ticks) Testing connection speed to 199.15.176.161 using pureperl...test failed...Done
    Ping:35 (ticks) Testing connection speed to 194.106.223.155 using pureperl...test failed...Done
    ...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 4/12)...Resolving search.cpan.org...(resolve attempt 1/65)...search.cpan.org did not have any working mirrors. Please check your internet connection or dns server. at /usr/local/cpanel/Cpanel/HttpRequest.pm line 596.
    Perl Expect failed with non-zero exit status: 6400

    CPAN fallback mode is active!
    Method: Using Perl Expect, Installer: cpan
     
    #16 onef, Sep 5, 2012
    Last edited: Sep 5, 2012
  17. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    And it's reporting as failed or it isn't reporting as failed? This thread previously indicated to open up a ticket if you were still experiencing issues. Please post the ticket number here.

    Edit: Your post was edited as I posted mine to show the error message, so the error is now showing in yours. As I mentioned, please submit a ticket then.
     
  18. onef

    onef Member

    Joined:
    Mar 19, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    3134375 and 3134379 are the ticket IDs. Thanks!
     
  19. BlaineM.

    BlaineM. cPanel QA Analyst
    Staff Member

    Joined:
    Apr 4, 2011
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If checkperlmodules is still having trouble, please check to make sure /etc/resolv.conf has working resolvers, then run checkperlmodules again.

    We've seen that a couple times today as well. Something simple to check :)
     
  20. bhd

    bhd Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    JNB ZA
    cPanel Access Level:
    Root Administrator
    I think it may have to do with the time your update script ran. Yesterday, we only had the problem on 3 servers. The others were fine.

    When I checked, the ones that failed had just caught the 0.45 update (like minutes) and the ones that were OK had picked up the older 0.44 version because they had run moments before the developer uploaded the broken 0.45.

    It was very confusing for a while but that's what happened in my case.
     
Loading...

Share This Page