Re: How to check whether PostgreSQL server is up and running? - Mailing list pgsql-admin

From Michael Monnerie
Subject Re: How to check whether PostgreSQL server is up and running?
Date
Msg-id 200905081203.04465@zmi.at
Whole thread Raw
In response to How to check whether PostgreSQL server is up and running?  (Jan Muhammad <janmuhd@yahoo.com>)
Responses Re: How to check whether PostgreSQL server is up and running?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@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


Attachment

pgsql-admin by date:

Previous
From: Jan Muhammad
Date:
Subject: How to check whether PostgreSQL server is up and running?
Next
From: Ray Stell
Date:
Subject: Re: How to run PostgreSQL?