Update issue with NNA

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Update issue with NNA

Post by snapon_admin »

It really does, but it definitely isn't. Also, hilariously enough, this server now DOES go through our proxy. There was maintenance this weekend to re-route all the servers on this particular VLAN through the proxy so, I am now using the proxy. I updated my yum.conf and wgetrc files with the proxy info and still getting the same issue. Disclaimer: I also tried it again without the proxy to verify that wasn't the issue. With proxy off I get a "cannot reach host" error, with proxy off I get the "Error: Cannot retrieve metalink for repository: epel" error. So it's the same as before just with the proxy on/off situations reversed since this is now using the proxy.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Update issue with NNA

Post by tgriep »

Can you run the following 2 commands on the NA server and post the output?

Code: Select all

wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -4
wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -6
Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Update issue with NNA

Post by snapon_admin »

Sorry, was out all week last week.

With Proxy

Code: Select all

[root@lisl-ngna-01-pv nagiosna]# wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -4
Setting --inet4-only (inet4only) to 1
DEBUG output created by Wget 1.12 on linux-gnu.

--2016-02-01 10:08:02--  http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml
Resolving iproxyweb03.snapon.com... 208.65.151.192
Caching iproxyweb03.snapon.com => 208.65.151.192
Connecting to iproxyweb03.snapon.com|208.65.151.192|:8080... Closed fd 3
failed: Connection refused.
Releasing 0x0000000002182ad0 (new refcount 1).

[root@lisl-ngna-01-pv nagiosna]# wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -6
Setting --inet6-only (inet6only) to 1
DEBUG output created by Wget 1.12 on linux-gnu.

--2016-02-01 10:09:20--  http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml
Resolving iproxyweb03.snapon.com... failed: Name or service not known.
wget: unable to resolve host address â€iproxyweb03.snapon.com”
Without proxy:

Code: Select all

[root@lisl-ngna-01-pv nagiosna]# wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -4
Setting --inet4-only (inet4only) to 1
DEBUG output created by Wget 1.12 on linux-gnu.

--2016-02-01 10:07:40--  http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml
Resolving centos.host-engine.com... 204.45.61.34
Caching centos.host-engine.com => 204.45.61.34
Connecting to centos.host-engine.com|204.45.61.34|:80... Closed fd 3
failed: Connection refused.
Releasing 0x0000000001dbb8f0 (new refcount 1).

[root@lisl-ngna-01-pv nagiosna]# wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -6
Setting --inet6-only (inet6only) to 1
DEBUG output created by Wget 1.12 on linux-gnu.

--2016-02-01 10:10:26--  http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml
Resolving centos.host-engine.com... 2001:49f0:a023:1::5
Caching centos.host-engine.com => 2001:49f0:a023:1::5
Connecting to centos.host-engine.com|2001:49f0:a023:1::5|:80... Closed fd 3
failed: Network is unreachable.
Releasing 0x0000000002145900 (new refcount 1).
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Update issue with NNA

Post by ssax »

DNS isn't resolving?

Code: Select all

Resolving iproxyweb03.snapon.com... failed: Name or service not known.
Set the IP for your proxy manually in your /etc/hosts file or investigate why DNS isn't working.

I just dealt with this exact issue 5 minutes ago and it was the proxy that was blocking HTTPS, the IPv6 was not the problem.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Update issue with NNA

Post by snapon_admin »

Nothing seems to have changed, maybe I did it wrong?

Code: Select all

127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6

XXX.XXX.XXX.XXX iproxyweb03.snapon.com
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Update issue with NNA

Post by tgriep »

Can you login as root in one shell and run a tcpdump command like below

Code: Select all

tcpdump host  centos.host-engine.com -w capture.cap
Then in another shell on the server, run the following

Code: Select all

 wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d
After the wget command is done, stop the tcpdump and post the capture.cap so we can review it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Update issue with NNA

Post by snapon_admin »

Don't have tcpdump installed on the NA server and can't get it because of this issue. Also, I checked my XI server and there is no proxy info in /etc/wgetrc, just in the yum.conf. Not sure if that means anything but figured I'd include that info here as well.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Update issue with NNA

Post by tgriep »

Can you take the proxy settings that are in the XI server's yum.conf file, add them to the NA's server yum.conf file and see if you can do an update?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Update issue with NNA

Post by snapon_admin »

Yeah I already did that, the 2 servers' yum.conf files are identical.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Update issue with NNA

Post by ssax »

What do you have for your hosts entry in /etc/nsswitch.conf?
Locked