Re: how do you run postgres without dns server

From: Ivan Dimitrov <dobber(at)bastun(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: how do you run postgres without dns server
Date: 2004-11-10 10:15:37
Message-ID: 200411101215.42767.dobber@bastun.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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!

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sander Steffann 2004-11-10 11:53:33 Re: These Lists Are Being Cut To FOUR
Previous Message Halford Dace 2004-11-10 10:05:00 Re: how do you run postgres without dns server