Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id BF0BF1337BD6 for ; Wed, 11 May 2011 08:13:33 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 16769-10 for ; Wed, 11 May 2011 11:13:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from intasect.com.cn (unknown [202.98.123.179]) by mail.postgresql.org (Postfix) with ESMTP id 3D0CC1337B96 for ; Wed, 11 May 2011 08:13:12 -0300 (ADT) Received: from lhb3 [222.209.225.106] by intasect.com.cn with ESMTP (SMTPD32-8.12) id AF37B014E; Wed, 11 May 2011 19:12:55 +0800 Message-ID: <645170EDFCC54874A358D8F5B2B2AD59@lhb3> From: =?utf-8?B?5p2O57SF5YW1?= To: "Craig Ringer" Cc: "John R Pierce" , References: <201104260936.p3Q9aZTP029148@wwwmaster.postgresql.org> <4DCA0539.3080800@hogranch.com> <3A15F4ECF69F46068FE5054FBDE17EC7@lhb3> <4DCA2A0F.3000209@postnewspapers.com.au> <89CBD04606734B4F9BEB759F4C37C9AF@lhb3> <4DCA545C.4020402@postnewspapers.com.au> Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site Date: Wed, 11 May 2011 19:11:21 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.107 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RDNS_NONE=0.793 X-Spam-Level: X-Archive-Number: 201105/87 X-Sequence-Number: 30226 I found this problem two weeks ago in a project,and then go to other team.Environment and machine has been changed after. so I cannot test now.Colleague told me this problem has been resolved by other pepole. I read the config of selinux.It changed as you said. SELINUX=enforcing changed to SELINUX=disabled Have no test,but I think this is the reason why I cannot execute DBI-connect in my program. Thank you very mach. regards, Li Hongbing ----- Original Message ----- From: "Craig Ringer" To: "李紅兵" Cc: "John R Pierce" ; Sent: Wednesday, May 11, 2011 5:18 PM Subject: Re: [BUGS] BUG #5994: Can't excute DBI->connect to oracle by client site > On 05/11/2011 03:13 PM, 李紅兵 wrote: >> yes,I am sure that I connect to the same database and same machine. >> because I run my test code at the linux server with telnet. >> >> As you said,it likes some security modules inhibit to make a new >> connection. >> My server is Redhat Linux Enterprice version with typical >> installation.and I don't know about >> SELinux/Apparmor/TOMOYO/SMACK > > If you're running on RHEL, you're using SELinux. > > For a test, you could set SELinux policy to audit mode (ie: not enforcing) and see if you still have the problem. If the problem > goes away that way, you know you need to tweak your SELinux policies or set an SELinux boolean. > > See the SELinux documentation to learn more. > > -- > Craig Ringer > > -- > Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-bugs > >