Re: How to check whether PostgreSQL server is up and running?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Monnerie <michael(dot)monnerie(at)is(dot)it-management(dot)at>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: How to check whether PostgreSQL server is up and running?
Date: 2009-05-08 14:33:25
Message-ID: 23498.1241793205@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Michael Monnerie <michael(dot)monnerie(at)is(dot)it-management(dot)at> writes:
> On Freitag 08 Mai 2009 Jan Muhammad wrote:
>> postmaster -D /usr/local/pgsql/data
>> LOG: could not translate host name "localhost", service "5432" to
>> address: Name or service not known

> This smells a lot like SElinux.

No, it looks like his DNS setup is broken. Not being able to translate
"localhost" to "127.0.0.1" will break most networking services, not
only Postgres ...

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Joshua D. Drake 2009-05-08 14:42:23 Re: How to run PostgreSQL?
Previous Message Ray Stell 2009-05-08 14:19:29 Re: How to run PostgreSQL?