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

From stig erikson
Subject psql: FATAL: database "template1" is not currently accepting connections
Date
Msg-id d8tti8$14un$1@news.hub.org
Whole thread Raw
Responses Re: psql: FATAL: database "template1" is not currently accepting connections
List pgsql-general
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

pgsql-general by date:

Previous
From: rasdj@frontiernet.net
Date:
Subject: Multiple COPYs
Next
From: Jacob Atzen
Date:
Subject: Re: Backing up multiple databases