Re: PHP and PostgreSQL 9.0, pg_connect fails to connect

Поиск
Список
Период
Сортировка
От Michael Nolan
Тема Re: PHP and PostgreSQL 9.0, pg_connect fails to connect
Дата
Msg-id BANLkTimJnyehw6eGsXjLTKbhgjHgp++mgA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PHP and PostgreSQL 9.0, pg_connect fails to connect  (Thomas Harold <thomas-lists@nybeta.com>)
Ответы Re: PHP and PostgreSQL 9.0, pg_connect fails to connect
Список pgsql-general


On Wed, Apr 27, 2011 at 10:42 AM, Thomas Harold <thomas-lists@nybeta.com> wrote:
On 4/27/2011 9:16 AM, Thomas Harold wrote:
- SELinux is running, but there are no denied messages in
/var/log/audit/audit.log and no setroubleshooting alerts in
/var/log/messages either.


Well, interestingly enough it is SELinux getting in the way, but not logging anything.  Temporarily disabling SELinux suddenly makes it work.

# echo 0 > /selinux/enforce
(things now work)

This does not surprise me, I've been upgrading a server to Fedora 14 and fighting SELInux every inch of the way.  Setting up PostgreSQL on that box is coming up on the schedule, maybe forewarned is forearmed. :-)
--
Mike Nolan

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

Предыдущее
От: Phoenix Kiula
Дата:
Сообщение: NULL saves disk space?
Следующее
От: gabrielle
Дата:
Сообщение: PgDay at OSCON