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, whole thread or download thread mbox)
Lists: pgsql-admin
On Wed, 2004-11-10 at 12:15 +0200, Ivan Dimitrov wrote:
> Yes, it is there
>        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                    
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


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-2017 The PostgreSQL Global Development Group