postmaster generates no socket

Поиск
Список
Период
Сортировка
От christoph.dellavalle@goetheanum.ch
Тема postmaster generates no socket
Дата
Msg-id D1ECCF616FF6D611A3C3000102755F45138B87@S2BDCMAIL
обсуждение исходный текст
Ответы Re: postmaster generates no socket  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hi

I can start postmaster, but it does not generate a socket.
I startet the postmaster with -i,
in postgresql.conf I set tcpip_socket=true
unix_socket_directory = '/tmp'
in pg_hba.conf I set the server's and the client's ip-address to trust.

The attempt to connect via PHP4 results in the mesage:
Warning: Unable to connect to PostgreSQL server: could not connect to server: No such file or directory Is the server
runninglocally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?  
Why does it expect the socket in /var/run/postgresql/ and why does the Postmaster not create any socket at all?

Thanks very much

Christoph Della Valle

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

Предыдущее
От: Nabil Sayegh
Дата:
Сообщение: Re: Probably a stupid question
Следующее
От: Nabil Sayegh
Дата:
Сообщение: Re: Address Table