Hi,
With CentOS6 EOL, we are trying to migrate our current version of xi 5.7.4 across to a fresh RHEL 8.3 VM with minimal install option.
Server is licensed with Red Hat. I'm following the manual install guide and have run the wget to grab the 5.7.4 version and unpacked. ./fullinstall runs for a while and looks to fail when doing some of the extra plugins.
install.log attached.
Installation of Nagios xi 5.7.4 fails on Rhel8
-
- Posts: 12
- Joined: Thu Jun 12, 2014 1:07 am
Installation of Nagios xi 5.7.4 fails on Rhel8
You do not have the required permissions to view the files attached to this post.
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: Installation of Nagios xi 5.7.4 fails on Rhel8
Please run this command as root and then try again:
Code: Select all
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
-
- Posts: 12
- Joined: Thu Jun 12, 2014 1:07 am
Re: Installation of Nagios xi 5.7.4 fails on Rhel8
That command ran successfully, but it still fails the install.
Log attached.
Log attached.
You do not have the required permissions to view the files attached to this post.
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: Installation of Nagios xi 5.7.4 fails on Rhel8
Please do this (we'll need to clean it up so it can re-run some things) as root:
Then send the full log on any failures.
Code: Select all
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.7.4.tar.gz
tar zxf xi-5.7.4.tar.gz
cd /tmp/nagiosxi
./fullinstall
-
- Posts: 12
- Joined: Thu Jun 12, 2014 1:07 am
Re: Installation of Nagios xi 5.7.4 fails on Rhel8
Hi,
Attached is the latest install.log file after running the recommended commands.
Attached is the latest install.log file after running the recommended commands.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 903
- Joined: Tue Oct 27, 2020 1:35 pm
Re: Installation of Nagios xi 5.7.4 fails on Rhel8
Hi portbris,
I noticed the below error in your install.log:
Please try install "Class::Accessor" from CPAN manually first, then try the install again.
Regards,
Vinh
I noticed the below error in your install.log:
Code: Select all
Base class package "Class::Accessor::Fast" is empty.
Code: Select all
perl -MCPAN -e 'install Class::Accessor'
Vinh
-
- Posts: 12
- Joined: Thu Jun 12, 2014 1:07 am
Re: Installation of Nagios xi 5.7.4 fails on Rhel8
Hi,
Got the below error when running that command.
[root@vmnagios01 nagiosxi]# perl -MCPAN -e 'install Class::Accessor'
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
read timeout at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 243. at /usr/share/perl5/vendor_perl/LWP/UserAgent.pm line 982.
Got the below error when running that command.
[root@vmnagios01 nagiosxi]# perl -MCPAN -e 'install Class::Accessor'
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
read timeout at /usr/share/perl5/vendor_perl/Net/HTTP/Methods.pm line 243. at /usr/share/perl5/vendor_perl/LWP/UserAgent.pm line 982.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Installation of Nagios xi 5.7.4 fails on Rhel8
Hi,
Do you have any proxies setup or any type of server hardening implemented. It looks like it's having connection issues. I was able to successfully run that same command on a Cent 8 test system without issue.
Regards,
--Benjamin
Do you have any proxies setup or any type of server hardening implemented. It looks like it's having connection issues. I was able to successfully run that same command on a Cent 8 test system without issue.
Regards,
--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 12
- Joined: Thu Jun 12, 2014 1:07 am
Re: Installation of Nagios xi 5.7.4 fails on Rhel8
No proxies in use and the server is yet to be hardened. IP address used has access to the internet on 443/80.
-
- Posts: 903
- Joined: Tue Oct 27, 2020 1:35 pm
Re: Installation of Nagios xi 5.7.4 fails on Rhel8
Hi portbris,
I have just tested the install of "Class::Accesso" (below) and it completed - OK:
From the error provided, looks like you don't have network connection.
Looks like it is waiting to download the very first file called "01mailrc.txt.gz".
As you see from my test (provided above). The very first thing from the installation process was to download the "01mailrc.txt.gz" to '/root/.cpan/sources/authors/' then reading it ..... which your install were NOT able to do:
Can you ping cpan? .... and manually download the file from cpan:
Also, who (user) are you installed as?
Regards,
Vinh
I have just tested the install of "Class::Accesso" (below) and it completed - OK:
Code: Select all
[root@vt-nagiosxi-62 ~]# perl -MCPAN -e 'install Class::Accessor'
Reading '/root/.cpan/Metadata'
Database was generated on Fri, 06 Nov 2020 09:41:03 GMT
Fetching with LWP:
http://mirror.uic.edu/CPAN/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://mirror.uic.edu/CPAN/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Thu, 28 Jan 2021 08:55:49 GMT
.............
New CPAN.pm version (v2.28) available.
[Currently running version is v1.9800]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
...............................................................DONE
Fetching with LWP:
http://mirror.uic.edu/CPAN/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
Running install for module 'Class::Accessor'
Running make for K/KA/KASEI/Class-Accessor-0.51.tar.gz
Fetching with LWP:
http://mirror.uic.edu/CPAN/authors/id/K/KA/KASEI/Class-Accessor-0.51.tar.gz
Fetching with LWP:
http://mirror.uic.edu/CPAN/authors/id/K/KA/KASEI/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/K/KA/KASEI/Class-Accessor-0.51.tar.gz ok
CPAN.pm: Building K/KA/KASEI/Class-Accessor-0.51.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Class::Accessor
Writing MYMETA.yml and MYMETA.json
cp lib/Class/Accessor/Fast.pm blib/lib/Class/Accessor/Fast.pm
cp lib/Class/Accessor/Faster.pm blib/lib/Class/Accessor/Faster.pm
cp lib/Class/Accessor.pm blib/lib/Class/Accessor.pm
Manifying blib/man3/Class::Accessor::Faster.3pm
Manifying blib/man3/Class::Accessor::Fast.3pm
Manifying blib/man3/Class::Accessor.3pm
KASEI/Class-Accessor-0.51.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/accessors.t ..... ok
t/aliases.t ....... ok
t/antlers.t ....... ok
t/bestpractice.t .. ok
t/caller.t ........ skipped: Sub::Name is not installed
t/croak.t ......... ok
t/getset.t ........ ok
All tests successful.
Files=7, Tests=133, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.40 cusr 0.12 csys = 0.56 CPU)
Result: PASS
KASEI/Class-Accessor-0.51.tar.gz
/usr/bin/make test -- OK
Running make install
Installing /usr/local/share/perl5/Class/Accessor.pm
Installing /usr/local/share/perl5/Class/Accessor/Fast.pm
Installing /usr/local/share/perl5/Class/Accessor/Faster.pm
Installing /usr/local/share/man/man3/Class::Accessor::Faster.3pm
Installing /usr/local/share/man/man3/Class::Accessor::Fast.3pm
Installing /usr/local/share/man/man3/Class::Accessor.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
KASEI/Class-Accessor-0.51.tar.gz
/usr/bin/make install -- OK
Looks like it is waiting to download the very first file called "01mailrc.txt.gz".
As you see from my test (provided above). The very first thing from the installation process was to download the "01mailrc.txt.gz" to '/root/.cpan/sources/authors/' then reading it ..... which your install were NOT able to do:
Code: Select all
Reading '/root/.cpan/Metadata'
Database was generated on Fri, 06 Nov 2020 09:41:03 GMT
Fetching with LWP:
http://mirror.uic.edu/CPAN/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
Code: Select all
ping www.cpan.org
cd /tmp
wget mirror.uic.edu/CPAN/authors/01mailrc.txt.gz
Regards,
Vinh