pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ivan Dimitrov <dobber@bastun.net>
To: pgsql-admin@postgresql.org
Subject: Re: how do you run postgres without dns server
Date: Wed, 10 Nov 2004 12:15:37 +0200
Message-ID: <200411101215.42767.dobber@bastun.net> (raw)
In-Reply-To: <Pine.SGI.4.53.0411101203480.617277@jove.stowe.co.za>
References: <200411101145.24279.dobber@bastun.net>
	<Pine.SGI.4.53.0411101203480.617277@jove.stowe.co.za>

Yes, it is there
127.0.0.1        localhost
but when i strace postmaster on startup it never looks in /etc/hosts

На 10.11.2004 12:05 вие написахте:
> localhost should be defined in your hosts file, which in most unixoid
> environments is /etc/hosts.  It is not an error.
>
> Hal
>
> On Wed, 10 Nov 2004, Ivan Dimitrov wrote:
> > I have a database on a machine that does not know what localhost is. Yes,
> > I have 127.0.0.1, but I can't resolve localhost to it. I don't want to
> > start a caching dns, and don't want to change resolve.conf. Upon
> > starting, postgres gives error cannot bind to localhost. then starts
> > accepting connections to 127.0.0.1 normaly.
> > So, why does postgres try to resolve localhost in the first place?
> > Because of this error pg_autovacuum does not start.
> > --
> >
> >
> > Hi! I'm your friendly neighbourhood signature virus.
> > Copy me to your signature file and help me spread!

-- 


Hi! I'm your friendly neighbourhood signature virus.
Copy me to your signature file and help me spread!

view thread (4+ messages)  latest in thread

Message-ID: <200411101215.42767.dobber@bastun.net>
Permalink:  ../200411101215.42767.dobber@bastun.net/
Also on:    postgresql.org/message-id/200411101215.42767.dobber@bastun.net

 · 

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: dobber@bastun.net
  Subject: Re: how do you run postgres without dns server
  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>

* 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