Re: how do you run postgres without dns server - Mailing list pgsql-admin

From Oliver Elphick
Subject Re: how do you run postgres without dns server
Date
Msg-id 1100095687.29685.89.camel@linda
Whole thread Raw
In response to Re: how do you run postgres without dns server  (Ivan Dimitrov <dobber@bastun.net>)
Responses Re: nscd [was] how do you run postgres without dns server
List pgsql-admin
On Wed, 2004-11-10 at 12:15 +0200, Ivan Dimitrov wrote:
> Yes, it is there
> 127.0.0.1        localhost
> but when i strace postmaster on startup it never looks in /etc/hosts

Look at the "hosts:" line in /etc/nsswitch.conf.  It needs to have the
word "files" in there.

--
Oliver Elphick                                          olly@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                 ========================================
     "But thanks be to God, which giveth us the victory
      through our Lord Jesus Christ."
                              I Corinthians 15:57


pgsql-admin by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: These Lists Are Being Cut To FOUR
Next
From: Ivan Dimitrov
Date:
Subject: Re: nscd [was] how do you run postgres without dns server