Skip site navigation (1) Skip section navigation (2)

Re: how do you run postgres without dns server

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: dobber(at)bastun(dot)net
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: how do you run postgres without dns server
Date: 2004-11-10 14:08:07
Message-ID: 1100095687.29685.89.camel@linda (view raw or flat)
Thread:
Lists: 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(at)lfix(dot)co(dot)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 


In response to

Responses

pgsql-admin by date

Next:From: Ivan DimitrovDate: 2004-11-10 15:19:47
Subject: Re: nscd [was] how do you run postgres without dns server
Previous:From: Oliver ElphickDate: 2004-11-10 13:56:43
Subject: Re: These Lists Are Being Cut To FOUR

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group