Yum update fails

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
glitchcowboy
Posts: 38
Joined: Tue Sep 29, 2015 2:59 pm

Yum update fails

Post by glitchcowboy »

Nagios XI on RHEL7.
2 Issues.
1: With nagios-7.repo in /etc/yum.repos.d,

Code: Select all

yum update
fails like this:

Code: Select all

nagios-base/primary            FAILED                                          
http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz: [Errno 12] Timeout on http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
nagiosxi-deps/primary          FAILED                                          
http://repo.nagios.com/nagiosxi-deps/7/repodata/fc575084d092cdc3a4c223f7e94b71e1eb7d4944f82793f9ba306c31cae7f6aa-primary.xml.gz: [Errno 12] Timeout on http://repo.nagios.com/nagiosxi-deps/7/repodata/fc575084d092cdc3a4c223f7e94b71e1eb7d4944f82793f9ba306c31cae7f6aa-primary.xml.gz: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
nagios-base/primary            FAILED                                          
http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz: [Errno 12] Timeout on http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
etc...

Yes, I'm behind a proxy, yes, repo.nagios.com is bypassed from filtering/decryption at the proxy

2: I thought I'd bypass this and just mirror the repo in Satellite. But Satellite syncing errors out with:

Code: Select all

Yum Metadata: CRC check failed 0x3c375ed8 != 0xaed64c1cL 
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Yum update fails

Post by lmiltchev »

Try running the following commands to see if this is going to fix the issue:

Code: Select all

yum clean all
rm -rf /var/cache/yum/*
yum update
Be sure to check out our Knowledgebase for helpful articles and solutions!
glitchcowboy
Posts: 38
Joined: Tue Sep 29, 2015 2:59 pm

Re: Yum update fails

Post by glitchcowboy »

No Change:
It starts and then slows down so much as to not work at all. Is yum an appropriate way to update nagios XI or just through the web UI?

Code: Select all


nagios-base/primary            FAILED                                                 99% [==========================================================================-] 2.8 kB/s |  25 MB  00:00:45 ETA 
http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz: [Errno 12] Timeout on http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
nagiosxi-deps/primary          FAILED                                          
http://repo.nagios.com/nagiosxi-deps/7/repodata/fc575084d092cdc3a4c223f7e94b71e1eb7d4944f82793f9ba306c31cae7f6aa-primary.xml.gz: [Errno 12] Timeout on http://repo.nagios.com/nagiosxi-deps/7/repodata/fc575084d092cdc3a4c223f7e94b71e1eb7d4944f82793f9ba306c31cae7f6aa-primary.xml.gz: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
epel/x86_64/updateinfo         FAILED                                                 99% [==========================================================================-]  0.0 B/s |  25 MB  --:--:-- ETA 
http://mirrors.rit.edu/fedora/epel/7/x86_64/repodata/31b8ad7f35f59313d29864411ab85cd687a318e61ded69e258d4d3421abb975e-updateinfo.xml.bz2: [Errno 12] Timeout on http://mirrors.rit.edu/fedora/epel/7/x86_64/repodata/31b8ad7f35f59313d29864411ab85cd687a318e61ded69e258d4d3421abb975e-updateinfo.xml.bz2: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
nagios-base/primary            FAILED                                          
http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz: [Errno 12] Timeout on http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
nagiosxi-deps/primary          FAILED                                          
http://repo.nagios.com/nagiosxi-deps/7/repodata/fc575084d092cdc3a4c223f7e94b71e1eb7d4944f82793f9ba306c31cae7f6aa-primary.xml.gz: [Errno 12] Timeout on http://repo.nagios.com/nagiosxi-deps/7/repodata/fc575084d092cdc3a4c223f7e94b71e1eb7d4944f82793f9ba306c31cae7f6aa-primary.xml.gz: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
^C
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Yum update fails

Post by ssax »

What does this output?

Code: Select all

wget 'http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz'
Here's mine:

Code: Select all

[root@centos72 ~]# wget 'http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz'
--2016-07-27 16:02:39--  http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz
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|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8605 (8.4K) [application/x-gzip]
Saving to: ‘8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz.1’

100%[======================================>] 8,605       --.-K/s   in 0.001s

2016-07-27 16:02:40 (5.70 MB/s) - ‘8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz.1’ saved [8605/8605]
Can you validate with your proxy admins that it is actually being bypassed? It kind of looks like something is blocking it.
glitchcowboy
Posts: 38
Joined: Tue Sep 29, 2015 2:59 pm

Re: Yum update fails

Post by glitchcowboy »

Interesting... It's going 95% and hanging. It must be my side.

Code: Select all

# wget 'http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz'
--2016-07-27 16:23:57--  http://repo.nagios.com/nagios/7/repodata/8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz
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|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8605 (8.4K) [application/x-gzip]
Saving to: ‘8881a54830935071d84a1c8e43c626857133d0b7182268d847a411b5c4dd12e8-primary.xml.gz’

91% [=========================================================================================>         ] 7,880       --.-K/s  eta 2s     
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Yum update fails

Post by bwallace »

Yeah I'd double check that proxy - seems like might it be scanning the content and it's taking to long, or of course high network latency. Definitely let us know what you find out.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked