-----Original Message----- From: CentOS [mailto:centos-bounces@centos.org] On Behalf Of TE Dukes Sent: Thursday, August 30, 2018 6:36 PM To: 'CentOS mailing list' Subject: Re: [CentOS] Mail has quit working
-----Original Message----- From: CentOS [mailto:centos-bounces@centos.org] On Behalf Of Gordon Messmer Sent: Thursday, August 30, 2018 6:23 PM To: centos@centos.org Subject: Re: [CentOS] Mail has quit working
On 08/29/2018 06:54 PM, TE Dukes wrote:
Added back the IPV6 to /etc/hosts a couple days ago for grins and
giggles.
No longer getting IPV6 errors in logwatch for bind. Everything
working.
I think removing my ISP's nameservers from /etc/resolv.conf was the
fix.
I just caught up on the thread. It looks like the core issue was never actually resolved: "getent hosts localhost" still doesn't return the expected result, right?
$ getent hosts localhost ::1 localhost localhost.localdomain localhost6
localhost6.localdomain6
Its returning exactly as above
$ grep ^hosts /etc/nsswitch.conf hosts: files dns myhostname
Its returning: files dns
If you're not getting the expected result from "getent", and if your nsswitch.conf lists "files", then glibc is somehow broken. "rpm -V glibc" might tell you how, or it might not. Could be that glibc can't load /lib64/libnss_files.so.2.
rpm -V returns nothing.
My bad, rpm -V glibc returns nothing.