Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id BE8E61337BA8 for ; Wed, 11 May 2011 04:18:55 -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 80631-04-7 for ; Wed, 11 May 2011 07:18:36 +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 709171337B6E for ; Wed, 11 May 2011 04:18:33 -0300 (ADT) Received: from lhb3 [222.209.225.106] by intasect.com.cn with ESMTP (SMTPD32-8.12) id A83A42A0372; Wed, 11 May 2011 15:18:18 +0800 Message-ID: <948E149EADB44B6594D9B0519E5D081B@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> Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site Date: Wed, 11 May 2011 15:18:18 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original 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=-0.668 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RDNS_NONE=0.793, STOX_REPLY_TYPE=0.439 X-Spam-Level: X-Archive-Number: 201105/85 X-Sequence-Number: 30224 addendum ,I can run my test code on a windows postgreSQL(8.4) with tcp/ip connection. ----- Original Message ----- From: "Craig Ringer" To: "李紅兵" Cc: "John R Pierce" ; Sent: Wednesday, May 11, 2011 2:17 PM Subject: Re: [BUGS] BUG #5994: Can't excute DBI->connect to oracle by client site > On 11/05/11 13:53, 李紅兵 wrote: >> Perhaps you misunderstanding what I mean. >> I can connect to postgreSQL server correctly, >> but When I connect postgreSQL with TCP Sockets, it return error to >> connect to oracle server by DBI->connect from perlu script. >> >> When I connect postgreSQL with Unix Domain Sockets,it works well. > > Are you _certain_ that you're connecting to the same database on the > same machine when you use TCP vs unix sockets? The simplest explanation > for this problem would be that you're running different test perlu code > or running it on different machines/DBs when connecting via TCP than > when connecting via unix socket. > > If that's not the case, about the only thing I can imagine is some weird > kernel security module getting in the way. Maybe something that tries to > isolate processes started as a result of tcp/ip connections so they > can't make new connections themselves, or something crazy like that. You > wouldn't happen to be on a box with SELinux/Apparmor/TOMOYO/SMACK/etc, > would you? > > -- > 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 > >