Understand nsswitch.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 files
> 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:
> 
> 192.168.1.115    rheles4rs1.forayadams.foray.com    rheles4rs1
> 
> 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




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux