Skip site navigation (1) Skip section navigation (2)

Re: BUG #5994: Can't excute DBI->connect to oracle by client site

From: 李紅兵 <lihongbing(at)intasect(dot)com(dot)cn>
To: "Craig Ringer" <craig(at)postnewspapers(dot)com(dot)au>
Cc: "John R Pierce" <pierce(at)hogranch(dot)com>,<pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site
Date: 2011-05-11 07:13:04
Message-ID: 89CBD04606734B4F9BEB759F4C37C9AF@lhb3 (view raw or flat)
Thread:
Lists: pgsql-bugs
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


----- Original Message ----- 
From: "Craig Ringer" <craig(at)postnewspapers(dot)com(dot)au>
To: "李紅兵" <lihongbing(at)intasect(dot)com(dot)cn>
Cc: "John R Pierce" <pierce(at)hogranch(dot)com>; <pgsql-bugs(at)postgresql(dot)org>
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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>
> 



In response to

Responses

pgsql-bugs by date

Next:From: 李紅兵Date: 2011-05-11 07:18:18
Subject: Re: BUG #5994: Can't excute DBI->connect to oracle by client site
Previous:From: psql dp showing empty Access privileges column for {}Date: 2011-05-11 07:10:21
Subject: BUG #6021: There is no difference between default and empty access privileges with \dp

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group