Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group