Perl package error during Offline installation on Redhat 7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
biancoda
Posts: 2
Joined: Wed Aug 08, 2018 10:46 pm

Perl package error during Offline installation on Redhat 7

Post by biancoda »

I'm trying to install Nagios XI on a new RedHat 7 Offline.
I have downloaded the tarfile nagiosxi-5.5.2-1.el7.x86_64.tar.gz and run the fullinstall
I have installed all the packages, but I'm getting an error with the perl modules.

Code: Select all

--> Finished Dependency Resolution
Error: Package: nagiosxi-5.5.2-1.el7.x86_64 (/nagiosxi-5.5.2-1.el7.x86_64)
           Requires: perl(XML::Simple)
Error: Package: perl-Config-IniFiles-2.79-1.el7.noarch (/perl-Config-IniFiles-2.79-1.el7.noarch)
           Requires: perl(IO::Scalar) >= 2.109
Error: Package: perl-Net-SNMP-6.0.1-7.el7.noarch (/perl-Net-SNMP-6.0.1-7.el7.noarch)
           Requires: perl(Digest::SHA1)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
           Requires: perl(Config::Tiny)
Error: Package: nagiosxi-5.5.2-1.el7.x86_64 (/nagiosxi-5.5.2-1.el7.x86_64)
           Requires: perl(XML::Parser)
Error: Package: nagiosxi-5.5.2-1.el7.x86_64 (/nagiosxi-5.5.2-1.el7.x86_64)
           Requires: perl(Crypt::SSLeay)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
I don't want to use --skip-broken, because I know the modules are there.

Code: Select all

[root@nagios01 nagiosxi]# cpan -l | grep XML::Simple
XML::Simple     2.25
[root@nagios01 nagiosxi]# cpan -l | grep IO::Scalar
Test::Builder::IO::Scalar       2.114
IO::ScalarArray 2.111
IO::Scalar      2.111
Test::Builder::IO::Scalar       2.110
vendor_perl::Test::Builder::IO::Scalar  2.110
[root@nagios01 nagiosxi]# cpan -l | grep Digest::SHA1
Digest::SHA1    2.13
Crypt::Digest::SHA1     0.061
[root@nagios01 nagiosxi]# cpan -l | grep Config::Tiny
Config::Tiny    2.23
[root@nagios01 nagiosxi]# cpan -l | grep XML::Parser
XML::Parser     2.44
XML::Parser::Expat      2.44
XML::Parser::Style::Tree        undef
XML::Parser::Style::Subs        undef
XML::Parser::Style::Objects     undef
XML::Parser::Style::Debug       undef
XML::Parser::Style::Stream      undef
[root@nagios01 nagiosxi]# cpan -l | grep -i Crypt::SSLeay
Crypt::SSLeay   0.72
Crypt::SSLeay::MainContext      undef
Crypt::SSLeay::Conn     undef
Crypt::SSLeay::Version  undef
Crypt::SSLeay::X509     undef
Crypt::SSLeay::CTX      undef
Crypt::SSLeay::Err      undef
Any idea what I'm doing wrong?

thanks,
Daniel
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Perl package error during Offline installation on Redhat

Post by scottwilkerson »

The installer is looking to get these from the yum repositories, not cpan.

per the instructions here you are going to need to get these from the yum optional channel

https://repo.nagios.com/?repo=offline#install
RHEL

Offline server must still have access to RHEL Base & Optional Channel Repo (actual or clone) for installation/upgrade

Code: Select all

dejavu-lgc-sans-fonts.noarch
dejavu-lgc-sans-mono-fonts.noarch
graphviz-gd.x86_64
perl-Crypt-DES.x86_64
perl-Parse-RecDescent.noarch
php-mbstring.x86_64
php-snmp.x86_64
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
biancoda
Posts: 2
Joined: Wed Aug 08, 2018 10:46 pm

Re: Perl package error during Offline installation on Redhat

Post by biancoda »

I have installed the packaged for the optional channel.
But after a few hours of installing the perl modules manually, I end up installing them using the rpm.

So basically it needs the package.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Perl package error during Offline installation on Redhat

Post by scottwilkerson »

biancoda wrote:I have installed the packaged for the optional channel.
But after a few hours of installing the perl modules manually, I end up installing them using the rpm.

So basically it needs the package.
correct
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked