I just migrated my FC4 server to CentOS 5 and had some problems with DB connections from PHP to a PG server (remote server). The thing is that I couldn't get an error, until I disabled SELinux. At that time, the PG connections started working. Are there any instructions on how to work with SELinux enabled and multiple applications connecting one with another? -- select 'mmarques' || '@' || 'unl.edu.ar' AS email; --------------------------------------------------------- Mart?n Marqu?s | Programador, DBA Centro de Telem?tica | Administrador Universidad Nacional del Litoral ---------------------------------------------------------
On 7/13/07, Martin Marques <martin at bugs.unl.edu.ar> wrote:> I just migrated my FC4 server to CentOS 5 and had some problems with DB > connections from PHP to a PG server (remote server). The thing is that I > couldn't get an error, until I disabled SELinux. At that time, the PG > connections started working. > > Are there any instructions on how to work with SELinux enabled and > multiple applications connecting one with another? > > -- > select 'mmarques' || '@' || 'unl.edu.ar' AS email; > --------------------------------------------------------- > Mart?n Marqu?s | Programador, DBA > Centro de Telem?tica | Administrador > Universidad Nacional > del Litoral > --------------------------------------------------------- > _______________________________________________ > CentOS mailing list > CentOS at centos.org > lists.centos.org/mailman/listinfo/centos >setsebool -P httpd_can_network_connect_db=1 setroubleshoot is your friend of course you must have X running -- Leonel