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

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

From: Michael Monnerie <michael(dot)monnerie(at)is(dot)it-management(dot)at>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: How to check whether PostgreSQL server is up and running?
Date: 2009-05-08 10:03:04
Message-ID: 200905081203.04465@zmi.at (view raw or flat)
Thread:
Lists: pgsql-admin
On Freitag 08 Mai 2009 Jan Muhammad wrote:
> After having various error message in starting PostgreSQL version
> 8.2.11; finally uninstalled/deleted it. Now trying my luck on  8.3.7,
> but things haven't changed for me. When I try to check that
> postmaster server is running or not? I get the following error: $
> postmaster -D /usr/local/pgsql/data
> LOG:  could not translate host name "localhost", service "5432" to
> address: Name or service not known WARNING:  could not create listen
> socket for "localhost"
> FATAL:  could not create any TCP/IP sockets
> .....................................................................
>... Similarly when I try to start postgres server with
> [postgres(at)callisto postgresql-8.3.7]$ pg_ctl -D pg8 start
> postgres cannot access the server configuration file
> "/usr/local/pgsql/postgresql-8.3.7/pg8/postgresql.conf": No such file
> or directory

This smells a lot like SElinux. Do you use SElinux? Try disabling it.

mfg zmi
-- 
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net                  Key-ID: 1C1209B4

In response to

Responses

pgsql-admin by date

Next:From: Ray StellDate: 2009-05-08 14:19:29
Subject: Re: How to run PostgreSQL?
Previous:From: Jan MuhammadDate: 2009-05-08 09:11:21
Subject: How to check whether PostgreSQL server is up and running?

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