Re: Postgresql, Perl and DBI connect problem

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

Hi Tom,

It now works!

I hate SELinux, it always cause me problems.

Any suggestion on how to make SELinux happy without having to turn it off.

Thanks,

Bernard

Tom Lane wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>
>

--

_____________________________________________________________________
Bernard Miville
IODP Data Manager

IODP-MI Sapporo Office
CRIS Bldg., Room 05-103, Hokkaido University, N21, W10
Sapporo, Japan 001-0021
Voice: +81 (0)11 738-1072
Fax: +81 (0)11 738-3520
E-Mail: bmiville(at)iodp-mi-sapporo(dot)org
WWW: http://www.iodp.org
SIP: +1747-6068953 (6068953(at)proxy01(dot)sipphone(dot)com)
ENUM: +878107472468937
Skype: mivilleb
_____________________________________________________________________
INTEGRATED OCEAN DRILLING PROGRAM - MANAGEMENT INTERNATIONAL
Washington D.C. & Sapporo
_____________________________________________________________________

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-08-22 03:26:09 Re: Postgresql, Perl and DBI connect problem
Previous Message Tom Lane 2006-08-22 03:05:58 Re: Postgresql, Perl and DBI connect problem