pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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 17:18:20 +0800
Message-ID: <4DCA545C.4020402@postnewspapers.com.au> (raw)
In-Reply-To: <89CBD04606734B4F9BEB759F4C37C9AF@lhb3>
References: <201104260936.p3Q9aZTP029148@wwwmaster.postgresql.org>
	<BANLkTi=+OWgHT8xVQ2VLKtB3E5v6AdSOUQ@mail.gmail.com>
	<C9D7294EB32243AE96D8E503A2FBBBAD@lhb3>
	<4DCA0539.3080800@hogranch.com>
	<3A15F4ECF69F46068FE5054FBDE17EC7@lhb3>
	<4DCA2A0F.3000209@postnewspapers.com.au>
	<89CBD04606734B4F9BEB759F4C37C9AF@lhb3>

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



view thread (10+ messages)  latest in thread

Message-ID: <4DCA545C.4020402@postnewspapers.com.au>
Permalink:  ../4DCA545C.4020402@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4DCA545C.4020402@postnewspapers.com.au

 · 

reply

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: <4DCA545C.4020402@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> <89CBD04606734B4F9BEB759F4C37C9AF@lhb3> <4DCA545C.4020402@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