Re: PHP and PostgreSQL 9.0, pg_connect fails to connect

From: Michael Nolan <htfoot(at)gmail(dot)com>
To: Thomas Harold <thomas-lists(at)nybeta(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PHP and PostgreSQL 9.0, pg_connect fails to connect
Date: 2011-04-27 16:24:26
Message-ID: BANLkTimJnyehw6eGsXjLTKbhgjHgp++mgA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Apr 27, 2011 at 10:42 AM, Thomas Harold <thomas-lists(at)nybeta(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message gabrielle 2011-04-27 16:24:57 PgDay at OSCON
Previous Message Phoenix Kiula 2011-04-27 16:24:13 NULL saves disk space?