Re: psql: FATAL: database "template1" is not currently accepting - Mailing list pgsql-general

From stig erikson
Subject Re: psql: FATAL: database "template1" is not currently accepting
Date
Msg-id d8tu7g$16r1$1@news.hub.org
Whole thread Raw
List pgsql-general
stig erikson wrote:
> when i try to do:
>
> psql -l
> psql: FATAL:  database "template1" is not currently accepting connections
>
>
> but if i first connect to some other database, ie:
> psql -d database
> \l
>
> then it shows all the databases.
>
>
> how can i resolve the issu with template1?
>
> the problem might have been coused by a client that hang and was closed
> with kill -9. the database has been restarted and there are no active
> connections hanging around.
>
>
> /stig


my main concern is with pg_dumpall.

pg_dumpall: could not connect to database "template1": FATAL:  database
"template1" is not currently accepting connections


postgresql 7.4.8

pgsql-general by date:

Previous
From: stig erikson
Date:
Subject: encoding problems and float
Next
From: "eblues"
Date:
Subject: Help: chinese character set support (EUC_TW to/from BIG5 conversion)