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

Поиск
Список
Период
Сортировка
От Michael Monnerie
Тема Re: How to check whether PostgreSQL server is up and running?
Дата
Msg-id 200905081203.04465@zmi.at
обсуждение исходный текст
Ответ на How to check whether PostgreSQL server is up and running?  (Jan Muhammad <janmuhd@yahoo.com>)
Ответы Re: How to check whether PostgreSQL server is up and running?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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


Вложения

В списке pgsql-admin по дате отправления:

Предыдущее
От: Jan Muhammad
Дата:
Сообщение: How to check whether PostgreSQL server is up and running?
Следующее
От: Ray Stell
Дата:
Сообщение: Re: How to run PostgreSQL?