Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   How to get Bugzilla working on CentOS 5.2 with SELinux turned on? (http://www.linux-archive.org/centos/187940-how-get-bugzilla-working-centos-5-2-selinux-turned.html)

"Filipe Brandenburger" 11-04-2008 10:47 PM

How to get Bugzilla working on CentOS 5.2 with SELinux turned on?
 
Hi,

On Tue, Nov 4, 2008 at 17:43, Aleksey Tsalolikhin
<atsaloli.tech@gmail.com> wrote:
> Software error:
> Can't connect to the database.
> Error: could not connect to server: Permission denied
> Is the server running on host "localhost" and accepting
> TCP/IP connections on port 5432?
> Is your database installed and up and running?
> Do you have the correct username and password selected in localconfig?

You seem to be having problems connecting to the db.

Try this:

# setsebool -P httpd_can_network_connect_db 1

(The command above will make the setting permanent.)

I verified that Bugzilla also tries to check its website for updates,
so for that to work you will also need:

# setsebool -P httpd_can_network_connect 1

HTH,
Filipe
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 04:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.