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

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
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.
What version are you running?

Thanks
 

Dathorn_ADT

Active Member
Nov 16, 2002
42
2
158
cPanel Access Level
Root Administrator
re: "Can't locate Net/LibIDN.pm (DNSONLY) [case 59129]

Sorry, to be clear, it didn't apply updates it installed a few new packages:

Installed:
curl-devel.i386 0:7.15.5-15.el5 libaio-devel.i386 0:0.3.106-5
libtool-ltdl.i386 0:1.5.22-7.el5_4 libtool-ltdl-devel.i386 0:1.5.22-7.el5_4
pcre-devel.i386 0:6.6-6.el5_6.1
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
Looks like sysup is excluded from running on dnsonly (libidn-devel never gets installed because of this). I opened up case 59129 to have that behavior examined and resolved.

The fact that this only affects dnsonly was the key missing bit of information here. Thanks for posting the results.
 

Bigwebmaster

Active Member
Dec 3, 2003
32
9
158
Looks like you guys already figured things out, but just wanted to make a quick note that this happened to our DNS Only boxes today as well. The solution:

yum install libidn libidn-devel
/scripts/perlinstaller Net::LibIDN
Fixed it for us as well. Thanks!

I also ran:

/usr/local/cpanel/scripts/sysup

Since it was mentioned that maybe that is not running automatically on DNS Only boxes. Once I ran that i installed 12 packages and upgraded two others. Here is exactly what it updated:

Running Transaction
Updating : pcre 1/16
Updating : curl 2/16
Installing : libtool-ltdl 3/16
Installing : pcre 4/16
Installing : curl 5/16
Installing : libtool-ltdl 6/16
Installing : curl-devel 7/16
Installing : pcre-devel 8/16
Installing : pcre-devel 9/16
Installing : libtool-ltdl-devel 10/16
Installing : libaio-devel 11/16
Installing : curl-devel 12/16
Installing : libtool-ltdl-devel 13/16
Installing : libaio-devel 14/16
Cleanup : curl 15/16
Cleanup : pcre 16/16
 
Last edited:

Nick57

Well-Known Member
Jul 19, 2005
103
0
166
cPanel Access Level
Root Administrator
Same issues at my end, I have 4 DNSonly servers

I have run the yum install for the Lib:Idn and run the sysup script [12 updates]
But now receiving email from cron:

Output from your job 3 [4] [5] and so on...

exit level [die] [pid=15389] (Unable to compile update information)

Any ideas why?
 

texo

Well-Known Member
Mar 28, 2007
151
6
168
cPanel Access Level
Root Administrator
I am also receiving these "output from your job..." emails from my DNS Only servers after running

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

Nick57

Well-Known Member
Jul 19, 2005
103
0
166
cPanel Access Level
Root Administrator
I found this, not 100% sure if it is related.

/usr/local/cpanel/logs/error_log

[2012-04-29 02:29:20 +0100] warn [cloudlinux_update] Failed to load envtype. Defaulting to "standard". at /usr/local/cpanel/Cpanel/OSSys.pm line 106
Cpanel::OSSys::get_envtype() called at /usr/local/cpanel/Cpanel/CloudLinux.pm line 95
Cpanel::CloudLinux::supported_envtype() called at /usr/local/cpanel/bin/cloudlinux_update line 18
[2012-04-29 02:29:23 +0100] info [checkccompiler] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
[2012-04-29 02:29:27 +0100] info [checkperlmodules] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
[2012-04-29 02:29:33 +0100] info [cpanm] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
[2012-04-29 02:46:44 +0100] info [gather-update-logs] Assertions failed
[2012-04-29 02:46:44 +0100] die [gather-update-logs] Unable to compile update information at /usr/local/cpanel/scripts/gather-update-logs line 93
main::gather_send_cleanup(Cpanel::Update::Gatherer=HASH(0x4a42be0)) called at /usr/local/cpanel/scripts/gather-update-logs line 67
Building global cache for cpanel...[2012-04-29 02:48:34 +0100] warn [Cpanel::AdvConfig::apache::modules] Unable to locate executable Apache binary
[2012-04-29 02:48:34 +0100] warn [Cpanel::AdvConfig::apache::modules] Unable to locate executable Apache binary
Done
tail: cannot open `/usr/local/apache/logs/access_log' for reading: No such file or directory
tail: cannot open `/usr/local/apache/logs/error_log' for reading: No such file or directory
tail: cannot open `/usr/local/apache/logs/suexec_log' for reading: No such file or directory
tail: cannot open `/usr/local/apache/logs/suphp_log' for reading: No such file or directory


Looks like it has to do with the option: Send Update Analysis to cPanel
But of course the DNSonly is not having this option, no tweak settings menu to disable this, will need to find out how to disable this manually...
 
Last edited:

rrwh

Well-Known Member
Oct 2, 2004
48
0
156
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
Suffered the same problem on a new dnsonly install - just needed to run the perlinstaller line and it all worked -

Symptoms - 500 Error on CSF plugin,

Could not sync DNS Zones
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
The fix for libidn-devel in case 59129 has already developed and sent to qa. It will publish as soon as it is approved.

As for the email with "exit level [die] [pid=15389] (Unable to compile update information)", this is not something we have been able to replicate. If you have a ticket number on the issue, please post it so we can take a look.

Thanks
 

Nick57

Well-Known Member
Jul 19, 2005
103
0
166
cPanel Access Level
Root Administrator
Hi,

I have already run the Lib:Idn fix with yum, also run the system update which also doesn't go automatic for dnsonly.
But now getting this cron job error seems I am not the only one! I posted the error log, so either it can't compile or it is due to the setting to send cPanel the update log!

Upgrade to Latest Version, Send Update Analysis to cPanel

Help cPanel improve our update process. Click the checkbox to send a log file to cPanel at the end of each update, telling us how the update proceeded. Yes, please send an update analysis log file to cPanel.
Note: You can disable this option later in Tweak Settings, under Support.

An unknown error occurred.

Previous post:

/usr/local/cpanel/logs/error_log

[2012-04-29 02:29:20 +0100] warn [cloudlinux_update] Failed to load envtype. Defaulting to "standard". at /usr/local/cpanel/Cpanel/OSSys.pm line 106
Cpanel::OSSys::get_envtype() called at /usr/local/cpanel/Cpanel/CloudLinux.pm line 95
Cpanel::CloudLinux::supported_envtype() called at /usr/local/cpanel/bin/cloudlinux_update line 18
[2012-04-29 02:29:23 +0100] info [checkccompiler] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
[2012-04-29 02:29:27 +0100] info [checkperlmodules] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
[2012-04-29 02:29:33 +0100] info [cpanm] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
[2012-04-29 02:46:44 +0100] info [gather-update-logs] Assertions failed
[2012-04-29 02:46:44 +0100] die [gather-update-logs] Unable to compile update information at /usr/local/cpanel/scripts/gather-update-logs line 93
main::gather_send_cleanup(Cpanel::Update::Gatherer=HASH(0x4a42be0)) called at /usr/local/cpanel/scripts/gather-update-logs line 67
Building global cache for cpanel...[2012-04-29 02:48:34 +0100] warn [Cpanel::AdvConfig::apache::modules] Unable to locate executable Apache binary
[2012-04-29 02:48:34 +0100] warn [Cpanel::AdvConfig::apache::modules] Unable to locate executable Apache binary
Done
tail: cannot open `/usr/local/apache/logs/access_log' for reading: No such file or directory
tail: cannot open `/usr/local/apache/logs/error_log' for reading: No such file or directory
tail: cannot open `/usr/local/apache/logs/suexec_log' for reading: No such file or directory
tail: cannot open `/usr/local/apache/logs/suphp_log' for reading: No such file or directory

I feel a bit stuck with this, because I can't turn of the daily updates in the DNSonly server!

Many thanks for looking into this.

Nick
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
Nick, Please open a ticket using the link in my signature. I'm not convinced that the error you are seeing is at related to libidn. To properly determine the root cause, one of our staff is going to need to look at it.

Thanks