Installation of Nagios XI 5.7.4 fails on Rhel8

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Installation of Nagios XI 5.7.4 fails on Rhel8

Post by vtrac »

Hi
Can you try force the install?

Code: Select all

cpanm -f Class::Accessor
You can check all your installed module with the "instmodsh" command.

Code: Select all

Exanple (select "l" to list all installed modules):

[root@vt-nagiosxi-62 .cpanm]# instmodsh
Available commands are:
   l            - List all installed modules
   m <module>   - Select a module
   q            - Quit the program
cmd? l
Please upload screenshot or status.

If you still having issue, we might try manually doing the make.
cd ~/.cpnm/latest-build/

look at the "build.log" and see what error you get.


Regards,
Vinh
portbris
Posts: 12
Joined: Thu Jun 12, 2014 1:07 am

Re: Installation of Nagios XI 5.7.4 fails on Rhel8

Post by portbris »

We definitely don't have a proxy here. I have a sneaky suspicion that it might be some specific app we have blocked on the corp firewall that may be blocking it. We are investigating that now.

Yes, this was a clean VM install.

[root@vmnagios01 tmp]# cpanm -f Class::Accessor
-bash: cpanm: command not found


[root@vmnagios01 tmp]# instmodsh
Available commands are:
l - List all installed modules
m <module> - Select a module
q - Quit the program
cmd? l
Installed modules are:
Perl
cmd? q


[root@vmnagios01 tmp]# cd ~/.cpnm/latest-build/
-bash: cd: /root/.cpnm/latest-build/: No such file or directory
[root@vmnagios01 tmp]#
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Installation of Nagios XI 5.7.4 fails on Rhel8

Post by vtrac »

Hi,
Looks like you only have just "Perl" module installed.

Once you have figured out the internet issue, please install CPAN, then cpanm.

Code: Select all

yum install perl-CPAN

Code: Select all

cpan App::cpanminus

Code: Select all

cpanm -f Class::Accessor
Regards,
Vinh
portbris
Posts: 12
Joined: Thu Jun 12, 2014 1:07 am

Re: Installation of Nagios XI 5.7.4 fails on Rhel8

Post by portbris »

Chased this down on the Cisco Firewall. Firesight was not impressed with that txt.gz file. It could not open the archive to inspect it, so it was blocking as potential malware.

Once this was fixed, I could run the cpan command and then the ./fullinstall worked.

Thanks for all your help.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Installation of Nagios XI 5.7.4 fails on Rhel8

Post by scottwilkerson »

portbris wrote:Chased this down on the Cisco Firewall. Firesight was not impressed with that txt.gz file. It could not open the archive to inspect it, so it was blocking as potential malware.

Once this was fixed, I could run the cpan command and then the ./fullinstall worked.

Thanks for all your help.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked