Please Help Can not connect to any database

Started by Natalya Pyallingabout 25 years ago2 messagesgeneral
Jump to latest
#1Natalya Pyalling
pyal@rtsoft.msk.ru

Hi, all!

I have a problem with connection to any database on my server.

$psql template1
psql: FATAL 1: Database 'template1', OID 17216, has disappeared from
pg_database

Any ideas? What's going wrong?

Version of PostgreSQL is 7.0. The operation system is Red Hat 6.1.

Any help would be appreciated!
Thank you.

Natalya Pyalling.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Natalya Pyalling (#1)
Re: Please Help Can not connect to any database

"Natalya Pyalling" <pyal@rtsoft.msk.ru> writes:

$psql template1
psql: FATAL 1: Database 'template1', OID 17216, has disappeared from
pg_database

Connect to any database you can get into (hopefully there's at least
one) and issue "VACUUM pg_database". Should fix things up.

regards, tom lane