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 »

Code: Select all

#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Valid entries include:
#
#       nisplus                 Use NIS+ (NIS version 3)
#       nis                     Use NIS (NIS version 2), also called YP
#       dns                     Use DNS (Domain Name Service)
#       files                   Use the local files
#       db                      Use the local database (.db) files
#       compat                  Use NIS on compat mode
#       hesiod                  Use Hesiod for user lookups
#       [NOTFOUND=return]       Stop searching if not found so far
#

# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis

passwd:     files
shadow:     files
group:      files

#hosts:     db files nisplus nis dns
hosts:      files dns

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   nisplus

publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Update issue with NNA

Post by ssax »

You would need to add the IPV6 one your /etc/hosts file as well if you're using IPV6:

Code: Select all

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

XXX.XXX.XXX.XXX iproxyweb03.snapon.com
XXXX:XXX::1 iproxyweb03.snapon.com
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 »

We're not using IPv6 though.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Update issue with NNA

Post by rkennedy »

Is your DNS server sending results in IPv6 possibly?

What is the result of a ping to 8.8.8.8? Does it go through?
How about a curl http://45.33.1.79?

I'm trying to figure out if IPv4 is working for you or not at this point. Your system seems to be resolving IPv6 from somewhere.
Former Nagios Employee
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, neither of those work. Is there somewhere I can tell it to not IPv6?
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Update issue with NNA

Post by bwallace »

Be sure to check out the 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 »

Thanks, that didn't do it either. I did find this link, though: http://serverfault.com/questions/637549 ... sing-error

After running this command:

Code: Select all

sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo
That seemed to take care of it. After that I was able to run the update finally, thanks for all your help with this!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Update issue with NNA

Post by hsmith »

Nice! Bookmarked that one. Thanks for letting us know. Are we good to close this topic?
Former Nagios Employee.
me.
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 »

Yep, lock it up, thanks again!
Locked