Nagiosxi full installation getting failed at http://www.cpan

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kunalv89
Posts: 2
Joined: Fri Oct 13, 2017 7:33 am

Nagiosxi full installation getting failed at http://www.cpan

Post by kunalv89 »

Hi Team,

I'm deploying the latest version of nagiosxi on fresh RHEL 8 server and installation got failed at 'http://www.cpan.org/authors/01mailrc.txt.gz' with error Connecting to http://www.cpan.org (http://www.cpan.org)|199.232.254.132|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

I have tried all possible ways with wget parameters but did not work. Please suggest.
User avatar
kfanselow
Posts: 254
Joined: Tue Aug 31, 2021 3:25 pm

Re: Nagiosxi full installation getting failed at http://www.

Post by kfanselow »

Hi Kunalv89,

There could be a couple of reasons that the download from cpan was reset. It may have been a cpan server issue or more likely an IDS/IPS system or firewall blocked the connection. The best thing to do is give it another try and if it resets again try pulling the file down manually using wget or curl:

To test with wget run the following on the command line as root:

Code: Select all

wget http://www.cpan.org/authors/01mailrc.txt.gz 
or with curl

Code: Select all

curl -k http://www.cpan.org/authors/01mailrc.txt.gz | gzip -dc
Thanks and Best Regards,
Keith
kunalv89
Posts: 2
Joined: Fri Oct 13, 2017 7:33 am

Re: Nagiosxi full installation getting failed at http://www.

Post by kunalv89 »

Hi Keith,

There is no progress, Still having the same issue.
From Firewall point of view, I'm able to downloads .gz files without any issue.

PFB the response of both the commands.

# wget http://www.cpan.org/authors/01mailrc.txt.gz
--2022-01-06 13:07:12-- (try: 2) http://www.cpan.org/authors/01mailrc.txt.gz
Connecting to www.cpan.org (www.cpan.org)|151.101.62.132|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

# curl -k http://www.cpan.org/authors/01mailrc.txt.gz | gzip -dc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (56) Recv failure: Connection reset by peer

gzip: stdin: unexpected end of file
User avatar
kfanselow
Posts: 254
Joined: Tue Aug 31, 2021 3:25 pm

Re: Nagiosxi full installation getting failed at http://www.

Post by kfanselow »

Hi Kunalv89,

Unfortunately this is something you're going to have to troubleshoot with your network/security/sysadmin teams. As you can see from the output of the wget and curl commands you executed something is resetting the network connection; without more information my guess would be an IDS/IPS system but your security/network/sysadmin teams should be able to help you to resolve the problem. Once you are able resolve the issue, and the wget and curl commands are succeeding, you should be able to restart the install and proceed normally.

Thanks and Best Regards,
Keith
Locked