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.

"Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

Discussion in 'Bind / DNS / Nameserver Issues' started by Archmactrix, Apr 5, 2012.

  1. Archmactrix

    Archmactrix Well-Known Member

    Joined:
    Jan 20, 2012
    Messages:
    132
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    After cPanel upgrade (11.32.2.15) I got this message from my server with this subject line:

    Cron <root@server> /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify

    Code:
    Can't locate Net/LibIDN.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/cpaddons /usr/local/cpanel /usr/local/cpanel/whostmgr/docroot/cgi /usr/local/cpanel/cpaddons /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Encoder/Punycode.pm line 10.
    Compilation failed in require at /usr/local/cpanel/Cpanel/DomainTools.pm line 13.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/DomainTools.pm line 13.
    Compilation failed in require at /usr/local/cpanel/Cpanel/CheckData.pm line 8.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CheckData.pm line 8.
    Compilation failed in require at /usr/local/cpanel/Cpanel/cPAddons.pm line 39.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/cPAddons.pm line 39.
    Compilation failed in require at /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl line 12.
    BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl line 12.
    
    
    I got also one other with this subject line:

    [checkperlmodules] The perl module IO::Interactive::Tiny could not be installed.

    Code:
    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 IO/Interactive/Tiny.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at - line 1.
    BEGIN failed--compilation aborted at - line 1.
    
    
    Installer Run
    ==============
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

    Your best bet here would be to open a ticket.

    However, by chance do you have two diffrent version of perl installed ?

    Code:
    ls -l /usr/bin/perl /usr/local/bin/perl
    
     
  3. Archmactrix

    Archmactrix Well-Known Member

    Joined:
    Jan 20, 2012
    Messages:
    132
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

    I get this:

    Code:
    lrwxrwxrwx 1 root root    17 Dec 21 19:31 /usr/bin/perl -> ../local/bin/perl*
    -rwxr-xr-x 2 root root 17326 Dec 21 19:31 /usr/local/bin/perl*
     
  4. Archmactrix

    Archmactrix Well-Known Member

    Joined:
    Jan 20, 2012
    Messages:
    132
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

    This seems to be solved now as I got report for upcp this evening that says that these two that I mentioned, was installed successfully.

    Even csf control panel is up now (internal server error 500 for the page, after the upgrade yesterday).
     
  5. brainyron

    brainyron Member

    Joined:
    Apr 7, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Seattle, WA
    cPanel Access Level:
    Root Administrator
    Net::LibIDN bug

    This afternoon I had a client report to me that he was unable to create a new subdomain for his site. It wasn't erroring out for him but any attempt to access the site was dumping to the cPanel default page. I checked the cPanel error log and found that /usr/local/cpanel/scripts/ensure_vhost_includes was failing due to Net::LibIDN being missing. I tried to build the Net::LibIDN module but it refused to install, insisting that I did not have GNU LibIDN installed on the system. I verified that the system did indeed have LibIDN and LibIDN-Devel installed but could not get the cPanel module installer to install this module, always failing with the same error. Even an upcp --force failed to fix the issue. Finally I manually downloaded the package for Net::LibIDN and was able to get this installed the first time around.

    I'm now in the process of cleaning up a bunch of bad entries in my httpd.conf due to this issue.
     
  6. 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
    Re: Net::LibIDN bug

    What version of cPanel are you using?

    Code:
    cat /usr/local/cpanel/version
    We had a case (50132) where this was reported as occurring, but it should be fixed as of 11.31.0.8 and higher.
     
  7. brainyron

    brainyron Member

    Joined:
    Apr 7, 2008
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Seattle, WA
    cPanel Access Level:
    Root Administrator
    Re: Net::LibIDN bug

    I use the "stable" releases almost exclusively:

    # cat /usr/local/cpanel/version
    11.32.2.15
     
  8. 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
    Re: Net::LibIDN bug

    STABLE is on 11.30.6.6 right now:

    Downloads - cPanel Inc.

    You are likely using the RELEASE tier, which can be determined in WHM > Update Preferences area (or by checking /etc/cpupdate.conf file for the CPANEL= line). Anyway, based on your version, that issue should have been fixed.
     
  9. adam.datascribe

    Joined:
    Apr 10, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    #9 adam.datascribe, Apr 10, 2012
    Last edited: Apr 10, 2012
  10. lorio

    lorio Well-Known Member

    Joined:
    Feb 25, 2004
    Messages:
    243
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Re: Net::LibIDN bug

    Is that fixed on the cpanel dns only branch too?
    11.32.2.18 under Centos 5.8 is showing this problem with cpanel dns only.
     
  11. 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
    re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

    Please submit a ticket.
     
  12. Dathorn_ADT

    Dathorn_ADT Active Member

    Joined:
    Nov 16, 2002
    Messages:
    41
    Likes Received:
    1
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Re: Net::LibIDN bug

    Just got the same issue on DNS only now that this has been rolled out to stable. Did you submit a ticket?
     
  13. dexus

    dexus Well-Known Member

    Joined:
    Jan 14, 2006
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

    Yes, this issue exist on cPanel "DNS Only" from today. Here are the steps to fix the problem...

    Code:
    # yum install libidn libidn-devel
    # /scripts/perlinstaller Net::LibIDN
    
     
  14. lorio

    lorio Well-Known Member

    Joined:
    Feb 25, 2004
    Messages:
    243
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Re: Net::LibIDN bug

    No, i didn't submit a ticket. I fixed the problem via yum and the related perl libs. The solution posted above is the better idea. It all depends on your OS.
     
  15. inteliport

    inteliport Member

    Joined:
    Dec 31, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

    This corrected the issue on a DNS only box...

    Thanks
     
  16. Dathorn_ADT

    Dathorn_ADT Active Member

    Joined:
    Nov 16, 2002
    Messages:
    41
    Likes Received:
    1
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

    It is indeed a trivial fix (our servers were only missing the devel package). I was just wondering if you had submitted a ticket so that they could resolve this in their build. Surely with all of these additional reports they can finally take a look and get it resolved....
     
  17. dexus

    dexus Well-Known Member

    Joined:
    Jan 14, 2006
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

    If you are asking me, no I didn't submited ticket. I hope that cPanelTristan is following this discussion so he will probably notify the developers...
     
  18. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

    libidn-devel is installed from /usr/local/cpanel/scripts/sysup. Are there any indications of failure in your update logs in /var/cpanel/upatelogs?


    Code:
    # grep libidn-devel /usr/local/cpanel/scripts/sysup
          libidn-devel
    
    Code:
    # /usr/local/cpanel/scripts/sysup
    centos 5 (Linux) detected.
    All Needed RPMS are installed.
    
     
  19. dexus

    dexus Well-Known Member

    Joined:
    Jan 14, 2006
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

    No, I don't see any attempts to install libidn-devel in update logs. Only attempts to install Net::LibIDN perl module which failed because of missing idn library.
     
  20. Dathorn_ADT

    Dathorn_ADT Active Member

    Joined:
    Nov 16, 2002
    Messages:
    41
    Likes Received:
    1
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

    Same. Yum doesn't appear to run at all during our upcps. We always run it manually to apply OS updates on our DNS only servers. I'm guessing this is a legacy issue from when you had the ability to disable automatic updates in the WHM interface on DNS only.
     
Loading...

Share This Page