kpmedia

Well-Known Member
Feb 13, 2011
87
1
58
USA, Europe
cPanel Access Level
Root Administrator
I don't quite understand why this is failing...

Code:
Updating munin....

Fetching http://httpupdate.cpanel.net/cpanelsync/addons/modules/munin-Linux-x86_64/.cpanelsync.lock (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/httpupdate.cpanel.net......searching for mirrors (mirror search attempt 1/3)......loaded mirror speeds from cache......mirror search success......connecting to [email protected]request success......Done
Fetching http://httpupdate.cpanel.net/cpanelsync/addons/modules/munin-Linux-x86_64/.cpanelsync.bz2 (connected:1).......(request attempt 1/12)[email protected]%......request success......Done
Checking for librrd version ...
Done
Adding munin user (if needed)...Done
Installing perl modules....Log::Log4perl..[needed]..Module::Build..[ok]..Time::HiRes..[ok]..HTML::Template..[needed]..Net::Server..[needed]..Net::Server::Fork..[needed]..Net::SNMP..[needed]..HTML::Template..[needed]..Cache::Cache..[needed]..Checking C compiler....C compiler (/usr/bin/cc) OK (cached Mon Jul 16 01:47:35 2012)
Tuned C compiler not available because it is not enabled....Done
CPAN fallback is disabled since /var/cpanel/conserve_memory exists, and cpanm is available.
Method: Using Perl Expect, Installer: cpanm
You have make /usr/bin/make
Falling back to HTTP::Tiny 0.009
You have /bin/tar: tar (GNU tar) 1.15.1
You have /usr/bin/unzip
You have Cpanel::HttpRequest 2.1
Testing connection speed...(using fast method)...Done
Ping:0 (ticks) Testing connection speed to cpan.weepee.org using pureperl...(cached .. 62700.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to cpan.mirror.versatel.nl using pureperl...(cached .. 59100.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to cpan.mirror.anlx.net using pureperl...(cached .. 31100.00 bytes/s)...Done
Ping:2 (ticks) Testing connection speed to mirror.tje.me.uk using pureperl...(cached .. 29200.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to mirror.leaseweb.com using pureperl...(cached .. 28000.00 bytes/s)...Done
Five usable mirrors located
Ping:8 (ticks) Testing connection speed to 69.72.212.11 using pureperl...(using cached speed)...Done
Ping:8 (ticks) Testing connection speed to 69.72.212.10 using pureperl...(using cached speed)...Done
Ping:10 (ticks) Testing connection speed to 208.43.108.66 using pureperl...(using cached speed)...Done
Three usable fallback mirrors located
Fetching http://cpan.weepee.org/index.html (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/cpan.weepee.org......searching for mirrors (mirror search attempt 1/3)...Ping:2 (ticks) Testing connection speed to 91.208.12.236 using pureperl...test failed...Done
Ping:2 (ticks) Testing connection speed to 91.208.12.235 using pureperl...test failed...Done
...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 2/12)...Resolving cpan.weepee.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 2/3)...Ping:2 (ticks) Testing connection speed to 91.208.12.236 using pureperl...test failed...Done
Ping:2 (ticks) Testing connection speed to 91.208.12.235 using pureperl...test failed...Done
...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 3/12)...Resolving cpan.weepee.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 3/3)...Ping:2 (ticks) Testing connection speed to 91.208.12.236 using pureperl...test failed...Done
Ping:2 (ticks) Testing connection speed to 91.208.12.235 using pureperl...test failed...Done
...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 4/12)...Resolving cpan.weepee.org...(resolve attempt 1/65)...cpan.weepee.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

All available perl module install methods have failed
Log::Log4perl..[needed (forced)]..HTML::Template..[needed (forced)]..Net::Server..[needed (forced)]..Net::Server::Fork..[needed (forced)]..Net::SNMP..[needed (forced)]..HTML::Template..[needed (forced)]..Cache::Cache..[needed (forced)]..Checking C compiler....C compiler (/usr/bin/cc) OK (cached Mon Jul 16 01:47:35 2012)
Tuned C compiler not available because it is not enabled....Done
CPAN fallback is disabled since /var/cpanel/conserve_memory exists, and cpanm is available.
Method: Using Perl Expect, Installer: cpanm
You have make /usr/bin/make
Falling back to HTTP::Tiny 0.009
You have /bin/tar: tar (GNU tar) 1.15.1
You have /usr/bin/unzip
You have Cpanel::HttpRequest 2.1
Testing connection speed...(using fast method)...Done
Ping:0 (ticks) Testing connection speed to cpan.weepee.org using pureperl...(cached .. 62700.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to cpan.mirror.versatel.nl using pureperl...(cached .. 59100.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to cpan.mirror.anlx.net using pureperl...(cached .. 31100.00 bytes/s)...Done
Ping:2 (ticks) Testing connection speed to mirror.tje.me.uk using pureperl...(cached .. 29200.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to mirror.leaseweb.com using pureperl...(cached .. 28000.00 bytes/s)...Done
Five usable mirrors located
Ping:8 (ticks) Testing connection speed to 69.72.212.11 using pureperl...(using cached speed)...Done
Ping:8 (ticks) Testing connection speed to 69.72.212.10 using pureperl...(using cached speed)...Done
Ping:10 (ticks) Testing connection speed to 208.43.108.66 using pureperl...(using cached speed)...Done
Three usable fallback mirrors located
Fetching http://cpan.weepee.org/index.html (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/cpan.weepee.org......searching for mirrors (mirror search attempt 1/3)...Ping:2 (ticks) Testing connection speed to 91.208.12.236 using pureperl...test failed...Done
Ping:2 (ticks) Testing connection speed to 91.208.12.235 using pureperl...test failed...Done
...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 2/12)...Resolving cpan.weepee.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 2/3)...Ping:2 (ticks) Testing connection speed to 91.208.12.236 using pureperl...test failed...Done
Ping:2 (ticks) Testing connection speed to 91.208.12.235 using pureperl...test failed...Done
...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 3/12)...Resolving cpan.weepee.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 3/3)...Ping:2 (ticks) Testing connection speed to 91.208.12.236 using pureperl...test failed...Done
Ping:2 (ticks) Testing connection speed to 91.208.12.235 using pureperl...test failed...Done
...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 4/12)...Resolving cpan.weepee.org...(resolve attempt 1/65)...cpan.weepee.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

All available perl module install methods have failed
Done

ERROR: Failed to install Munin - in ./install at install_required_perl_modules (): 
Could not install perl module Log::Log4perl 
Munin install process cannot proceed further ... 
Exiting ...
Failed to update munin
I know I'm tired right now, but I'm just not seeing where the issue lies.
91.208.12.235 isn't blocked anywhere that I'm aware of.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello,

Please check if you have two perl binaries:

Code:
ls -lah /usr/bin/perl /usr/local/bin/perl
Two here would mean that one is not symlinking to the other. If you do show two separate perl binaries, then please do the following:

Code:
mv /usr/bin/perl /usr/bin/perl.bak.120716
ln -s /usr/local/bin/perl /usr/bin/perl
Please then run a full perl modules check before trying to reinstall Munin:

Code:
/usr/local/cpanel/scripts/checkperlmodules --full --force
Thanks!
 

kpmedia

Well-Known Member
Feb 13, 2011
87
1
58
USA, Europe
cPanel Access Level
Root Administrator
It looks to be symlinked properly already:

Code:
[email protected] [~]# ls -lah /usr/bin/perl /usr/local/bin/perl
lrwxrwxrwx 1 root root  17 Feb  2  2011 /usr/bin/perl -> ../local/bin/perl*
-rwxr-xr-x 2 root root 17K Feb  2  2011 /usr/local/bin/perl*
And the result of running /usr/local/cpanel/scripts/checkperlmodules --full --force

Code:
[email protected] [~]# /usr/local/cpanel/scripts/checkperlmodules --full --force
The following modules are now being installed/updated/verified: Locales,version,CDB_File,Module::Build,BSD::Resource,Class::Std,Digest::MD5::File,Expect,Encode::Guess,Encode::MIME::Name,Encode::Detect::Detector,Data::Dump,File::Copy::Recursive,File::ReadBackwards,File::Find::Rule,IO::Tty,Sys::Hostname::Long,local::lib,AppConfig,Template,YAML::Syck,JSON::Syck,cPanel::MemTest,List::MoreUtils,DateTime::Locale,DateTime,DB_File,HTTP::Date,Scalar::Util,MIME::Base64,URI,Net::FTP,HTML::Tagset,HTML::Parser,HTML::HeadParser,LWP,Bundle::LWP,DBI,Crypt::SSLeay,CPAN::SQLite,Data::Dumper,Digest::MD5,Digest::SHA1,Encode,ExtUtils::Constant,ExtUtils::Install,ExtUtils::ParseXS,File::Touch,Filesys::Df,Filesys::Virtual,Filter::Util::Call,Getopt::Long,Getopt::Param::Tiny,IO::Interactive::Tiny,Compress::Raw::Zlib,Authen::Libwrap,Net::FTPSSL,Net::SSL,Net::SSLeay,IO::Compress::Gzip,IO::Scalar,IO::Socket::INET6,IO::Socket::SSL,IO::Stty,IO::Uncompress::Gunzip,Lchown,List::Util,MD5,Net::DNS,Net::OSCAR,Net::LibIDN,Pod::Perldoc,Socket6,Storable,Sys::Syslog,TAP::Harness,Term::ReadKey,Term::ReadLine::Perl,Time::HiRes,Tree::MultiNode,Unix::PID,Unix::PID::Tiny,XML::LibXML::Common,XML::LibXML,XML::Parser,XML::SAX,XML::Simple,lib::restrict,Crypt::Passwd::XS,DBD::mysql,Filesys::Statvfs,Crypt::GPG,Class::Accessor,Class::Accessor::Fast,File::MMagic::XS,Email::Valid,ExtUtils::MakeMaker,Mail::SRS,Acme::Spork,Archive::Tar,Archive::Tar::Streamed,Archive::Zip,MIME::Lite,Business::OnlinePayment::AuthorizeNet,Business::UPS,CGI,Class::Std::Utils,Compress::Bzip2,Compress::Zlib,DBIx::MyParsePP,DBD::SQLite2,Date::Parse,File::Tail,GD::Graph,GD::Text::Align,Memoize,Geo::IPfree,HTTP::Daemon::App,IO::Socket::ByteCounter,Image::Size,Mail::DomainKeys,Error,NetAddr::IP,Net::DNS::Resolver::Programmable,Mail::SPF,Mail::SPF::Query,Mail::DKIM,IP::Country,Graph::Easy,Graph::Flowchart,Mail::SpamAssassin,URI::Escape,File::Find::Rule::Filesys::Virtual,File::Slurp,Net::DAV::Server,Net::Daemon,Net::Daemon::SSL,Net::LDAP,Net::LDAP::Schema,Net::LDAP::Server,Net::IP::Match::Regexp,OLE::Storage_Lite,Parse::RecDescent,Quota,SVG::TT::Graph,Safe::Hole,Text::CSV,Spreadsheet::ParseExcel,Spreadsheet::WriteExcel,String::CRC32,SQL::Statement,Set::Crontab,Tie::IxHash,Tie::ShadowHash,Tie::DBI,URI::URL,Bundle::Interchange,File::Scan::ClamAV,Devel::PPPort,Linux::Inotify2
Checking C compiler....info [checkperlmodules] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_cc
C compiler (/usr/bin/cc) OK (cached Tue Jul 17 04:13:53 2012)
Tuned C compiler not available because it is not enabled....Done
CPAN fallback is disabled since /var/cpanel/conserve_memory exists, and cpanm is available.
Method: Using Perl Expect, Installer: cpanm
You have make /usr/bin/make
Falling back to HTTP::Tiny 0.009
You have /bin/tar: tar (GNU tar) 1.15.1
You have /usr/bin/unzip
You have Cpanel::HttpRequest 2.1
Testing connection speed...(using fast method)...Done
Ping:0 (ticks) Testing connection speed to cpan.weepee.org using pureperl...(cached .. 62700.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to cpan.mirror.versatel.nl using pureperl...(cached .. 59100.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to mirror.leaseweb.com using pureperl...(cached .. 56000.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to cpan.mirror.anlx.net using pureperl...(cached .. 31100.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to mirror.tje.me.uk using pureperl...(cached .. 29200.00 bytes/s)...Done
Five usable mirrors located
Ping:10 (ticks) Testing connection speed to 208.43.108.66 using pureperl...(using cached speed)...Done
Ping:8 (ticks) Testing connection speed to 69.72.212.11 using pureperl...(using cached speed)...Done
Ping:9 (ticks) Testing connection speed to 69.72.212.10 using pureperl...(using cached speed)...Done
Three usable fallback mirrors located
Fetching http://cpan.weepee.org/index.html (connected:0).......(request attempt 1/12)...Using dns cache file /root/.HttpRequest/cpan.weepee.org......searching for mirrors (mirror search attempt 1/3)...Ping:2 (ticks) Testing connection speed to 91.208.12.236 using pureperl...test failed...Done
Ping:2 (ticks) Testing connection speed to 91.208.12.235 using pureperl...test failed...Done
...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 2/12)...Resolving cpan.weepee.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 2/3)...Ping:2 (ticks) Testing connection speed to 91.208.12.236 using pureperl...test failed...Done
Ping:2 (ticks) Testing connection speed to 91.208.12.235 using pureperl...test failed...Done
...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 3/12)...Resolving cpan.weepee.org...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 3/3)...Ping:2 (ticks) Testing connection speed to 91.208.12.236 using pureperl...test failed...Done
Ping:2 (ticks) Testing connection speed to 91.208.12.235 using pureperl...test failed...Done
...0 usable mirrors located. (less then expected)......mirror search failed......(request attempt 4/12)...Resolving cpan.weepee.org...(resolve attempt 1/65)...cpan.weepee.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

All available perl module install methods have failed
Using fast module check.....checked 160 modules in 4 second(s)
Tested 160, 160 ok, 0 failed.
Using fast module check.....checked 5 modules in 0 second(s)
Cpanel::FastMath: [INSTALLED=1] [VERSION=0.3]
Cpanel::POSIX::Tiny: [INSTALLED=1] [VERSION=1.1]
Cpanel::Cleanup: [INSTALLED=1] [VERSION=0.4]
Cpanel::Class: [INSTALLED=1] [VERSION=1.0.5]
Cpanel::TaskQueue: [INSTALLED=1] [VERSION=0.307]
91.208.12.236 is not blocked in the VPS firewall.
And I can manually ping that IP from inside the VPS, too.

Munin still fails to install from within WHM.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Can you check your /etc/resolv.conf file and post the contents? Also, what do you have in /etc/hosts file?

Next, how about taking the firewall down temporarily to test to see the results?
 

kpmedia

Well-Known Member
Feb 13, 2011
87
1
58
USA, Europe
cPanel Access Level
Root Administrator
Can you check your /etc/resolv.conf file and post the contents? Also, what do you have in /etc/hosts file? Next, how about taking the firewall down temporarily to test to see the results?
/etc/resolve.conf
Code:
nameserver 77.235.xx.xx
nameserver 77.235.xx.xx
/etc/hosts
Code:
127.0.0.1               localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
77.235.xx.xx          vps.[I]myhostname[/I].com [I]username[/I]
Taking the firewall down had no effect.

In case it needed to be mentioned, it is up to date:
Code:
WHM 11.32.3 (build 21)
CENTOS 5.8 x86_64 virtuozzo on [I]username[/I]
I've submitted a ticket to the host, to see if they can confirm/deny a block in the local network.
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Can you try putting these into /etc/resolv.conf file for the time being:

Code:
nameserver 8.8.4.4
nameserver 8.8.8.8
These are the Google public resolvers. I'm uncertain if the existing IPs in your /etc/resolv.conf are your provider's or something else.

Thanks!
 

kpmedia

Well-Known Member
Feb 13, 2011
87
1
58
USA, Europe
cPanel Access Level
Root Administrator
Already ahead of you on that one. :)

I commented out the local DNS, and added 8.8.8.8 and 8.8.4.4
No effect.

Something else struck me, after having written a ticket... is it really a DNS issue?
Because I don't see the sites being requested by name anywhere. It's requesting an IP.

I can ping and tracert the IP from home and from the VPS.
From my laptop:
Code:
C:\>nslookup 91.208.12.235
Server:  resolver1.opendns.com
Address:  208.67.222.222
*** resolver1.opendns.com can't find 91.208.12.235: Non-existent domain
I don't think any NS is attached to the IP being requested by the Munin install.

The install is failing for something else, as far as I can tell.

Should I try to force cpan.weepee.org to 91.208.12.235 in the hosts file?

Slightly off-topic:
Do the plugins exist on the DNSONLY version of cPanel? I could test it from another location.
I don't have another full cPanel server available.
And I've been meaning to install DNSONLY on another low-end VPS for a while anyway.

... Update:

Code:
[email protected] [~]# nslookup cpan.weepee.org
Server:         77.235.xx.xx
Address:        77.235.xx.xx#53

Non-authoritative answer:
cpan.weepee.org canonical name = cpan.weepeetelecom.be.
Name:   cpan.weepeetelecom.be
Address: 91.208.12.236
Name:   cpan.weepeetelecom.be
Address: 91.208.12.235
... so the domain is at that IP, but there's no reverse record.
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello,

The munin plugins don't exist on DNS only, but you can use the /scripts/checkperlmodules --full --force command on DNS only machines.

If you aren't able to resolve this here shortly, please submit a ticket with us directly. You an do so using the link in my signature.

Thanks!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator

egrueda

Member
Mar 29, 2011
21
0
51
Madrid, Spain
I forced cpan.weepee.org to 91.208.12.235 in the hosts file.
Then I ran /scripts/checkperlmodules --full --force

That did it. :)

Both had to be done, and in that order.
Thanks! Same problem here and same solution, even when the mirrors were resolving correctly.
Strange, isn't it?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
We support the plugin version that we provide. We don't maintain it, as it isn't our product.
 

kpmedia

Well-Known Member
Feb 13, 2011
87
1
58
USA, Europe
cPanel Access Level
Root Administrator
I forced cpan.weepee.org to 91.208.12.235 in the hosts file.
^ As an update to my quote...

The problem with this method, unfortunately, it that I've caught cPanel overwriting the hosts file. So it starts to fail updates eventually, and you have to go back and redo everything.

My final decision is "screw it", and I've removed Munin for now. Between this, and the fact that Munin seemed to cause more load issues than why I wanted to monitor it to begin with, it's a completely wasted endeavor.

cPanel needs to do one of two things:
(1) Remove Munin integration entirely, since it's just a broken mess.
(2) Fix it, and that includes updating it to current versions.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please submit a ticket if you'd like us to investigate further, since this could be resolved in all likelihood with a ticket.