pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: dobber@bastun.net
Cc: pgsql-admin@postgresql.org
Subject: Re: how do you run postgres without dns server
Date: Wed, 10 Nov 2004 14:08:07 +0000
Message-ID: <1100095687.29685.89.camel@linda> (raw)
In-Reply-To: <200411101215.42767.dobber@bastun.net>
References: <200411101145.24279.dobber@bastun.net>
	<Pine.SGI.4.53.0411101203480.617277@jove.stowe.co.za>
	<200411101215.42767.dobber@bastun.net>

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 




view thread (4+ messages)

Message-ID: <1100095687.29685.89.camel@linda>
Permalink:  ../1100095687.29685.89.camel@linda/
Also on:    postgresql.org/message-id/1100095687.29685.89.camel@linda

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: olly@lfix.co.uk, dobber@bastun.net
  Subject: Re: how do you run postgres without dns server
  In-Reply-To: <1100095687.29685.89.camel@linda>
  References: <200411101145.24279.dobber@bastun.net> <Pine.SGI.4.53.0411101203480.617277@jove.stowe.co.za> <200411101215.42767.dobber@bastun.net> <1100095687.29685.89.camel@linda>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox