Nagios XI No More Mirrors to Try

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
ecolgroveMOT
Posts: 64
Joined: Thu Aug 22, 2019 1:58 pm

Nagios XI No More Mirrors to Try

Post by ecolgroveMOT »

My current current build is centos-7-6.1810.2.el7.centos.x86_64 I am trying to run a "yum update", and Nagios presents me with this output:

failure: repodata/repomd.xml from nagios-base: [Errno 256] No more mirrors to try.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"

How would I make it so it dose not do this?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios XI No More Mirrors to Try

Post by benjaminsmith »

Hello,

What is the output of the following command.

Code: Select all

yum repolist
Also are you able to connect using curl.

Code: Select all

curl -k -L -v https://repo.nagios.com/nagiosxi-deps/7
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!
ecolgroveMOT
Posts: 64
Joined: Thu Aug 22, 2019 1:58 pm

Re: Nagios XI No More Mirrors to Try

Post by ecolgroveMOT »

Here is the output of yum repolist:

[root@nagiosxi ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 17 kB 00:00
* base: ftpmirror.your.org
* epel: fedora-epel.mirror.lstn.net
* extras: mirror.mia11.us.leaseweb.net
* updates: reflector.westga.edu
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
mcp | 2.5 kB 00:00
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
base/7/x86_64/primary_db | 6.0 MB 00:01
epel/x86_64/primary_db | 6.1 MB 00:01
extras/7/x86_64/primary_db | 215 kB 00:00
mcp/primary_db | 6.1 kB 00:00
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
https://repo.nagios.com/nagiosxi-deps/7 ... repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
updates/7/x86_64 | 3.4 kB 00:00
updates/7/x86_64/primary_db | 7.4 MB 00:01
repo id repo name status
base/7/x86_64 CentOS-7 - Base 10,019
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,568
extras/7/x86_64 CentOS-7 - Extras 435
mcp Management Component Pack 5
nagios-base Nagios 0
nagiosxi-deps Nagios XI Dependencies 0
updates/7/x86_64 CentOS-7 - Updates 2,500
repolist: 25,527

Here is the connection output for curl -k -L -v https://repo.nagios.com/nagiosxi-deps/7:

[root@nagiosxi ~]# curl -k -L -v https://repo.nagios.com/nagiosxi-deps/7
* About to connect() to repo.nagios.com port 443 (#0)
* Trying 72.14.181.71...
* Connection refused
* Trying 2600:3c00::f03c:91ff:fedf:b821...
* Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable
* Failed connect to repo.nagios.com:443; Network is unreachable
* Closing connection 0
curl: (7) Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable
[root@nagiosxi ~]#
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios XI No More Mirrors to Try

Post by benjaminsmith »

Hello,

The server is not able to connect to the internet. What is the output of the following command? If it's unable to connect, try restarting network services.

Code: Select all

ping google.com
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!
ecolgroveMOT
Posts: 64
Joined: Thu Aug 22, 2019 1:58 pm

Re: Nagios XI No More Mirrors to Try

Post by ecolgroveMOT »

Here is the output:
[root@nagiosxi ~]# ping google.com
PING google.com (172.217.8.14) 56(84) bytes of data.
64 bytes from iad23s59-in-f14.1e100.net (172.217.8.14): icmp_seq=1 ttl=57 time=27.3 ms
64 bytes from iad23s59-in-f14.1e100.net (172.217.8.14): icmp_seq=2 ttl=57 time=28.0 ms
64 bytes from iad23s59-in-f14.1e100.net (172.217.8.14): icmp_seq=3 ttl=57 time=29.0 ms
64 bytes from iad23s59-in-f14.1e100.net (172.217.8.14): icmp_seq=4 ttl=57 time=30.7 ms
64 bytes from iad23s59-in-f14.1e100.net (172.217.8.14): icmp_seq=5 ttl=57 time=29.7 ms
64 bytes from iad23s59-in-f14.1e100.net (172.217.8.14): icmp_seq=6 ttl=57 time=28.7 ms
64 bytes from iad23s59-in-f14.1e100.net (172.217.8.14): icmp_seq=7 ttl=57 time=29.7 ms
64 bytes from iad23s59-in-f14.1e100.net (172.217.8.14): icmp_seq=8 ttl=57 time=29.8 ms
^C
--- google.com ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 7010ms
rtt min/avg/max/mdev = 27.364/29.178/30.770/1.039 ms
[root@nagiosxi ~]#
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios XI No More Mirrors to Try

Post by benjaminsmith »

Hi,

Looks like that is working. Can you connect of without SSL? What is the output of the following command?

Code: Select all

curl -k -L -v http://repo.nagios.com/nagiosxi-deps/7
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!
ecolgroveMOT
Posts: 64
Joined: Thu Aug 22, 2019 1:58 pm

Re: Nagios XI No More Mirrors to Try

Post by ecolgroveMOT »

Here is the output:
[root@nagiosxi ~]# curl -k -L -v http://repo.nagios.com/nagiosxi-deps/7
* About to connect() to repo.nagios.com port 80 (#0)
* Trying 72.14.181.71...
* Connected to repo.nagios.com (72.14.181.71) port 80 (#0)
> GET /nagiosxi-deps/7 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: repo.nagios.com
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Date: Mon, 16 Sep 2019 18:58:00 GMT
< Server: Apache
< Location: https://repo.nagios.com/nagiosxi-deps/7
< Vary: Accept-Encoding
< Content-Length: 247
< Content-Type: text/html; charset=iso-8859-1
<
* Ignoring the response-body
* Connection #0 to host repo.nagios.com left intact
* Issue another request to this URL: 'https://repo.nagios.com/nagiosxi-deps/7'
* Found bundle for host repo.nagios.com: 0x20f4e70
* About to connect() to repo.nagios.com port 443 (#1)
* Trying 72.14.181.71...
* Connection refused
* Trying 2600:3c00::f03c:91ff:fedf:b821...
* Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable
* Failed connect to repo.nagios.com:443; Network is unreachable
* Closing connection 1
curl: (7) Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable
[root@nagiosxi ~]#
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Nagios XI No More Mirrors to Try

Post by mbellerue »

* Trying 72.14.181.71...
* Connection refused
* Trying 2600:3c00::f03c:91ff:fedf:b821...
* Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable
So that's strange. Your machine is trying the IPv4 address first, getting rejected, and then moving on to IPv6.

First things first. Can you, at your desktop's browser, reach this URL, https://repo.nagios.com/nagiosxi-deps/7/
If you can't, that means your network is blocking our site.

The next thing to try is this. From the server, run this,

Code: Select all

wget https://repo.nagios.com/nagiosxi-deps/7/
If all goes well, you should end up with a file called index.html. If you could post that file, that would be great.
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!
ecolgroveMOT
Posts: 64
Joined: Thu Aug 22, 2019 1:58 pm

Re: Nagios XI No More Mirrors to Try

Post by ecolgroveMOT »

Internet browser way we are good.

however this is nagios output;
[root@nagiosxi ~]# wget https://repo.nagios.com/nagiosxi-deps/7/
--2019-09-16 14:33:45-- https://repo.nagios.com/nagiosxi-deps/7/
Resolving repo.nagios.com (repo.nagios.com)... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Connecting to repo.nagios.com (repo.nagios.com)|72.14.181.71|:443... failed: Connection refused.
Connecting to repo.nagios.com (repo.nagios.com)|2600:3c00::f03c:91ff:fedf:b821|:443... failed: Network is unreachable.
[root@nagiosxi ~]#
ecolgroveMOT
Posts: 64
Joined: Thu Aug 22, 2019 1:58 pm

Re: Nagios XI No More Mirrors to Try

Post by ecolgroveMOT »

Internet browser way we are good.

however this is nagios output;
[root@nagiosxi ~]# wget https://repo.nagios.com/nagiosxi-deps/7/
--2019-09-16 14:33:45-- https://repo.nagios.com/nagiosxi-deps/7/
Resolving repo.nagios.com (repo.nagios.com)... 72.14.181.71, 2600:3c00::f03c:91ff:fedf:b821
Connecting to repo.nagios.com (repo.nagios.com)|72.14.181.71|:443... failed: Connection refused.
Connecting to repo.nagios.com (repo.nagios.com)|2600:3c00::f03c:91ff:fedf:b821|:443... failed: Network is unreachable.
[root@nagiosxi ~]#
Locked