El sáb, 04-03-2006 a las 08:25 -0800, Mont Rothstein escribió:
I recently had a problem logging into the admin console because
was listed before dns on the hosts line of my nsswitch.conf file.
It was hosts: files dns
It now is hosts: dns files
I understand that this line specifies the lookup order for host
information. What I'd like to know is if this implies that something
else is miss-configured on my system, or if this was the root problem?
i.e. does FDS simply require that dns be listed first or should it
have worked with files first?
As far as I know files does a look up in /etc/hosts. My /etc/hosts
has a single entry:
Those are the correct IP, FQDN, and server name for my server.
Any insight into this would be appreciated.
My /etc/hosts has three other lines before that one:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
You might be missing the 127.0.0.1 line.
Oscar A. Valdez