Ad Widget

Collapse

PHP frontend pg_connect broken. *previous threads didn't solve*

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • incite-guy
    Junior Member
    • Aug 2011
    • 1

    #1

    PHP frontend pg_connect broken. *previous threads didn't solve*

    Hi guys,

    I'm trying my second POC where the webui, Zabbix server & PostGre are all dedicated. When I try to configure the PHP front end I keep getting:

    Code:
        pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection timed out Is the server running on host "10.10.10.71" and accepting TCP/IP connections on port 5432? [include/db.inc.php:81]
        Error connecting to database
    The 1.8.6 zabbix server is connected to the PostGre 8.4.7-1 server using the 'zabbix' user & my password as recommended so I know credentials & SQL connection settings are correct. I've even cut and paste across SSH terminals to be sure.

    I've tried disabling IPTables & SELinux on the Apache system with no change.(IPTables is up on the PostGre server but configured properly since the Zabbix server runs)

    Anyone have any ideas? I'm fresh out.

    Thanks!
    Last edited by incite-guy; 26-08-2011, 17:42. Reason: typo
Working...