From: Craig Ringer <craig@postnewspapers.com.au>
To: 李紅兵 <lihongbing@intasect.com.cn>
Cc: John R Pierce <pierce@hogranch.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site
Date: Wed, 11 May 2011 14:17:51 +0800
Message-ID: <4DCA2A0F.3000209@postnewspapers.com.au> (raw)
In-Reply-To: <3A15F4ECF69F46068FE5054FBDE17EC7@lhb3>
References: <201104260936.p3Q9aZTP029148@wwwmaster.postgresql.org>
<BANLkTi=+OWgHT8xVQ2VLKtB3E5v6AdSOUQ@mail.gmail.com>
<C9D7294EB32243AE96D8E503A2FBBBAD@lhb3>
<4DCA0539.3080800@hogranch.com>
<3A15F4ECF69F46068FE5054FBDE17EC7@lhb3>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: craig@postnewspapers.com.au, lihongbing@intasect.com.cn, pierce@hogranch.com
Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site
In-Reply-To: <4DCA2A0F.3000209@postnewspapers.com.au>
References: <201104260936.p3Q9aZTP029148@wwwmaster.postgresql.org> <BANLkTi=+OWgHT8xVQ2VLKtB3E5v6AdSOUQ@mail.gmail.com> <C9D7294EB32243AE96D8E503A2FBBBAD@lhb3> <4DCA0539.3080800@hogranch.com> <3A15F4ECF69F46068FE5054FBDE17EC7@lhb3> <4DCA2A0F.3000209@postnewspapers.com.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox