Re: Postgresql 'backend closed the channelunexpectedly' - how to re-install?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jim Byrne (NTL)" <james(dot)byrne2(at)ntlworld(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Postgresql 'backend closed the channelunexpectedly' - how to re-install?
Date: 2003-09-13 23:21:58
Message-ID: 21504.1063495318@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Jim Byrne (NTL)" <james(dot)byrne2(at)ntlworld(dot)com> writes:
> I had a look at the database but although I can login, all commands give the
> same error message about the 'backend closing the channel' unexpectedly. It
> looks like the database itself is corrupted, and not just the data."

Ugh. The failing backend process is probably dropping a core file in
the database directory --- can you get us a debugger stack trace from
the core file?

> I have spent a lot of time looking for fixes to this problem - without
> success. It looks to me as if I need to re-install the database?

Reinstalling the rpms would only help if the executable files got
corrupted, which is conceivable but not very likely. (You may as well
try it though.) The more likely bet is data file corruption, which you
may not be able to get out, of short of initdb and reload-all-the-data.
Unfortunately I have no idea what data the Cobalt GUI expects to find in
that database, or whether their "meta-verify" tool is capable of
rebuilding from an empty database. You're probably going to have to ask
the Cobalt folks for help.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Jeffrey Melloy 2003-09-14 23:03:58 Re: Error: The database does not exist on the server
Previous Message Jim Byrne (NTL) 2003-09-13 20:12:23 Postgresql 'backend closed the channelunexpectedly' - how to re-install?