Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? in /var/www/localhost/htdocs/kmetr/includes/database.pgsql.inc on line 28

Warning: pg_last_error() [function.pg-last-error]: No PostgreSQL link opened yet in /var/www/localhost/htdocs/kmetr/includes/database.pgsql.inc on line 28