Re: Postgres errors in Drupal install. - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Postgres errors in Drupal install.
Date
Msg-id 201106261247.49703.adrian.klaver@gmail.com
Whole thread Raw
In response to Postgres errors in Drupal install.  (Dave Coventry <dgcoventry@gmail.com>)
List pgsql-general
On Sunday, June 26, 2011 12:36:59 pm Dave Coventry wrote:
> I'm having huge problems with a Drupal install using Postgres 8.4.8.
>
> I'm getting the following error:
>
> PDOException: SQLSTATE[08006] [7] could not connect to server:
> Connection refused Is the server running on host "localhost" and
> accepting TCP/IP connections on port 5432? in lock_may_be_available()
> (line 164 of /var/www/includes/lock.inc).
>
> The Site is under minimal load with possibly two or three people on it at
> once.
>
> Can anyone tell me why I get the error every hour or so?

A user or machine is not authorized in pg_hba.conf?

>
> And what steps I could take to remedy this?

Look at pg_hba.conf.  Look at the Drupal/Postgres logs to try to see who or what
is trying to connect at those times.

>
> Many thanks,
>
> Dave Coventry

--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: Dave Coventry
Date:
Subject: Postgres errors in Drupal install.
Next
From: Peter Bex
Date:
Subject: Re: Postgres errors in Drupal install.