Page 5 of 5

Re: Update issue with NNA

Posted: Mon Feb 08, 2016 10:48 am
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

Re: Update issue with NNA

Posted: Mon Feb 08, 2016 5:05 pm
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

Re: Update issue with NNA

Posted: Tue Feb 09, 2016 9:31 am
by snapon_admin
We're not using IPv6 though.

Re: Update issue with NNA

Posted: Tue Feb 09, 2016 12:15 pm
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.

Re: Update issue with NNA

Posted: Wed Feb 10, 2016 11:07 am
by snapon_admin
Yeah, neither of those work. Is there somewhere I can tell it to not IPv6?

Re: Update issue with NNA

Posted: Wed Feb 10, 2016 1:14 pm
by bwallace

Re: Update issue with NNA

Posted: Thu Feb 11, 2016 11:25 am
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!

Re: Update issue with NNA

Posted: Thu Feb 11, 2016 4:56 pm
by hsmith
Nice! Bookmarked that one. Thanks for letting us know. Are we good to close this topic?

Re: Update issue with NNA

Posted: Fri Feb 12, 2016 11:33 am
by snapon_admin
Yep, lock it up, thanks again!