Page 3 of 3

Re: Installation of Nagios XI 5.7.4 fails on Rhel8

Posted: Mon Feb 08, 2021 11:29 am
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

Re: Installation of Nagios XI 5.7.4 fails on Rhel8

Posted: Wed Feb 10, 2021 7:12 pm
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]#

Re: Installation of Nagios XI 5.7.4 fails on Rhel8

Posted: Thu Feb 11, 2021 10:52 am
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

Re: Installation of Nagios XI 5.7.4 fails on Rhel8

Posted: Tue Feb 16, 2021 12:41 am
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.

Re: Installation of Nagios XI 5.7.4 fails on Rhel8

Posted: Tue Feb 16, 2021 8:25 am
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