Re: PHP cann't access to postgres databse - Mailing list pgsql-admin

From donghe@caltech.edu
Subject Re: PHP cann't access to postgres databse
Date
Msg-id 1465.131.215.15.78.1246057609.squirrel@webmail.caltech.edu
Whole thread Raw
In response to Re: PHP cann't access to postgres databse  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Yes, the issue is from SELinux. thank everybody for help

> donghe@caltech.edu writes:
>>>> You do have a point on the "Permission denied", though.  If the
>>>> problem was where I was suggesting, it would probably say "Connection
>>>> refused".  Perhaps some OS security restriction is in play here.
>
>>> SELinux?  I've never used it personally but have heard it can throw
>>> some
>>> errors you don't normally expect.
>
>> i use fedora 11
>
> Then it's SELinux.  If it works after "setenforce permissive", it's
> definitely selinux.  File a bug against selinux-policy.
>
>             regards, tom lane
>



pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: PHP cann't access to postgres databse
Next
From: "Mark Lehmann"
Date:
Subject: Re: Optimal Flexible Architecture or Optimal Configuration Layout for Postgres