Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 41ADC1337BEB for ; Wed, 11 May 2011 06:18:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 16313-02 for ; Wed, 11 May 2011 09:18:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [173.230.139.50]) by mail.postgresql.org (Postfix) with ESMTP id ED6B31337BE4 for ; Wed, 11 May 2011 06:18:31 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by www.postnewspapers.com.au (Postfix) with ESMTP id 75DD237; Wed, 11 May 2011 05:18:31 -0400 (EDT) X-Virus-Scanned: amavisd-new at postnewspapers.com.au.com Received: from www.postnewspapers.com.au ([127.0.0.1]) by localhost (www.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UTVnP2M5RnJr; Wed, 11 May 2011 05:18:30 -0400 (EDT) Received: from mail.postnewspapers.com.au (ppp171-128.static.internode.on.net [150.101.171.128]) by www.postnewspapers.com.au (Postfix) with ESMTP id A0A372D; Wed, 11 May 2011 05:18:30 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 6B808AE3AB; Wed, 11 May 2011 17:18:29 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (mail.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id L6B8ULQngHwo; Wed, 11 May 2011 17:18:21 +0800 (WST) Received: from [10.1.1.5] (124-169-254-58.dyn.iinet.net.au [124.169.254.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id 469E3AE2F9; Wed, 11 May 2011 17:18:21 +0800 (WST) Message-ID: <4DCA545C.4020402@postnewspapers.com.au> Date: Wed, 11 May 2011 17:18:20 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 MIME-Version: 1.0 To: =?UTF-8?B?5p2O57SF5YW1?= CC: John R Pierce , pgsql-bugs@postgresql.org Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site References: <201104260936.p3Q9aZTP029148@wwwmaster.postgresql.org> <4DCA0539.3080800@hogranch.com> <3A15F4ECF69F46068FE5054FBDE17EC7@lhb3> <4DCA2A0F.3000209@postnewspapers.com.au> <89CBD04606734B4F9BEB759F4C37C9AF@lhb3> In-Reply-To: <89CBD04606734B4F9BEB759F4C37C9AF@lhb3> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/86 X-Sequence-Number: 30225 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