Re: Postgresql, Perl and DBI connect problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: bmiville(at)iodp-mi-sapporo(dot)org
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql, Perl and DBI connect problem
Date: 2006-08-22 03:05:58
Message-ID: 28286.1156215958@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bernard Miville <bmiville(at)iodp-mi-sapporo(dot)org> writes:
> I am just trying to connect to a Postgresql DB using a Perl cgi script
> from a web page from my own computer on a remote network.
> I am using Postgresql 8.1.4 on Fedora Core 5 with a Linux firewall that
> allows all traffic.

Given that it's a "permission denied" error, I'm wondering about SELinux.
If you do "/usr/sbin/setenforce 0" as root, does it start working?

I don't suggest turning off SELinux as a permanent solution, but we
need to narrow down where the problem is.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bernard Miville 2006-08-22 03:15:26 Re: Postgresql, Perl and DBI connect problem
Previous Message Bernard Miville 2006-08-22 02:05:21 Postgresql, Perl and DBI connect problem