Re: psql: FATAL: database "template1" is not currently accepting

From: stig erikson <stigerikson_nospam_(at)yahoo(dot)se>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: psql: FATAL: database "template1" is not currently accepting
Date: 2005-06-17 07:30:51
Message-ID: d8tu7g$16r1$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Együd Csaba 2005-06-17 08:14:05 Re: PG 8.0.1 is getting slow in 24 hours. Only daily VACUUM
Previous Message stig erikson 2005-06-17 07:19:30 psql: FATAL: database "template1" is not currently accepting connections