Re: dblink not working in FC5

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dblink not working in FC5
Дата
Msg-id 5135.1145489744@sss.pgh.pa.us
обсуждение исходный текст
Ответ на dblink not working in FC5  ("Manish Gupta" <ml_gupta@hotmail.com>)
Список pgsql-admin
"Manish Gupta" <ml_gupta@hotmail.com> writes:
> bulbulbo=# select dblink_connect('hostaddr=127.0.0.1 dbname=bulbulfo
> user=bulbul password=password');
> ERROR:  could not establish connection
> DETAIL:  could not connect to server: Permission denied
>        Is the server running on host "127.0.0.1" and accepting
>        TCP/IP connections on port 5432?

"Permission denied" seems a bit odd here.  Just as a wild guess: do you
have SELinux running in enforcement mode, and if so, does switching it
to permissive mode make this work?  (See /usr/sbin/getenforce and
setenforce)  Another thing to try is a non-TCP connection, ie, leave out
the hostaddr bit.

            regards, tom lane

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

Предыдущее
От: "Thomas F. O'Connell"
Дата:
Сообщение: Re: Invalid Page Headers
Следующее
От: "Manish Gupta"
Дата:
Сообщение: Re: dblink not working in FC5 (Solved)