Re: PHP cann't access to postgres databse

From: donghe(at)caltech(dot)edu
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: PHP cann't access to postgres databse
Date: 2009-06-26 23:06:49
Message-ID: 1465.131.215.15.78.1246057609.squirrel@webmail.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Yes, the issue is from SELinux. thank everybody for help

> donghe(at)caltech(dot)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
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mark Lehmann 2009-06-27 00:58:51 Re: Optimal Flexible Architecture or Optimal Configuration Layout for Postgres
Previous Message Tom Lane 2009-06-26 22:17:07 Re: PHP cann't access to postgres databse