Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] /etc/hosts being ignored?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Andraž 'ruskie' Levstik" <ruskie AT mages.ath.cx>
  • To: <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] /etc/hosts being ignored?
  • Date: Mon, 30 Jul 2007 16:39:35 +0200

On 16:32:34 2007-07-30 Matthew Clark <matthewclark AT inlesserterms.net> wrote:
>
> I have a question that Google can't seem to help me with. I know this
> isn't SMGL specific, but I figured "What better group to ask?":
>
> One of my SMGL servers appears to be ignoring the /etc/hosts file. I
> get errors in various things that cannot resolve 'localhost' (and,
> yes, that line is in the hosts file). I even placed a bogus name and
> IP address in there as a test, and that confirmed that the file is,
> indeed, being ignored.
>
> Any reason the /etc/hosts file would be ignored?
>

Check: /etc/nsswitch.conf

hosts: files nisplus nis dns

Should have files in it... if not I'd guess tha might be it...

--
Andraž "ruskie" Levstik
Source Mage GNU/Linux Games grimoire guru
Geek/Hacker/Tinker

Hacker FAQ: http://www.plethora.net/%7eseebs/faqs/hacker.html
Be sure brain is in gear before engaging mouth.

Key id = F4C1F89C
Key fingerprint = 6FF2 8F20 4C9D DB36 B5B6 F134 884D 72CC F4C1 F89C





Archive powered by MHonArc 2.6.24.

Top of Page