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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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