Re: Postgresql, Perl and DBI connect problem
От | Bernard Miville |
---|---|
Тема | Re: Postgresql, Perl and DBI connect problem |
Дата | |
Msg-id | 44EA76CE.60901@iodp-mi-sapporo.org обсуждение исходный текст |
Ответ на | Re: Postgresql, Perl and DBI connect problem (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Postgresql, Perl and DBI connect problem
|
Список | 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@iodp-mi-sapporo.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@iodp-mi-sapporo.org WWW: http://www.iodp.org SIP: +1747-6068953 (6068953@proxy01.sipphone.com) ENUM: +878107472468937 Skype: mivilleb _____________________________________________________________________ INTEGRATED OCEAN DRILLING PROGRAM - MANAGEMENT INTERNATIONAL Washington D.C. & Sapporo _____________________________________________________________________
В списке pgsql-general по дате отправления: