[rt-users] SOLVED postgres 9.2.1, RT 4.0.5 - RT couldn't connect to database

Barry L. Kline blkline at attglobal.net
Wed Oct 17 17:43:19 EDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/17/2012 10:26 AM, Mike James wrote:
> I'm no expert with SELinux - but I agree this is the better answer.
> I'll see if I can figure out how to do it. Thx.

I believe you're going to need to set one or more of the selinux booleans.

Try:

setsebool  httpd_can_network_connect_db true

If that fixes the problem, then to make that persist across boots do:

setsebool -P httpd_can_network_connect_db true

You may also need to set httpd_can_network_connect to true as well.

Barry



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFQfyZ3CFu3bIiwtTARArYdAJ0QyPLXShjOZxJkX4DRqCJjkz92swCeKyAG
jdH7TO/xm7HqynwG4W7YlAA=
=eYYK
-----END PGP SIGNATURE-----



More information about the rt-users mailing list