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

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: BUG #5994: Can't excute DBI->connect to oracle by client site
Дата
Msg-id 4DCA2A0F.3000209@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: BUG #5994: Can't excute DBI->connect to oracle by client site  (李紅兵 <lihongbing@intasect.com.cn>)
Список pgsql-bugs
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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Skylar Hawk"
Дата:
Сообщение: BUG #6020: Wrong data type returned after CAST in FROM
Следующее
От: "psql \dp showing empty Access privileges column for {}"
Дата:
Сообщение: BUG #6021: There is no difference between default and empty access privileges with \dp