Re: postgres unable to start

From: tommaso <tommasodb(at)googlemail(dot)com>
To: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres unable to start
Date: 2011-07-28 12:35:35
Message-ID: 1311856535.2153.25.camel@tommaso-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hallo,

some info:

Postgres 8.4
Ubuntu 10.04.1
Linux hdmisv03 2.6.32-24-server #39-Ubuntu SMP Wed Jul 28 06:21:40 UTC
2010 x86_64 GNU/Linux

and we installed Postgres through atp.

The user wanted just to kill a connection from another user on a
database. He did not kill the whole server process but only one
connection on a single database.
The filesystem and the postgres server were ok. No reboot or power
interuption, however fsck was not run recently.
The cluster includes about 450 databases. Perhaps too much?

If we identify the corrupted database (I think the one with OID
35531019), is there a way to remove it manually from the file system?

Tommaso

On Thu, 2011-07-28 at 20:02 +0800, Craig Ringer wrote:

> On 28/07/2011 7:51 PM, tommaso wrote:
>
> > Hi All,
> >
> > one of our users killed a postgres process with kill -9 "PID"
> > after that the DB server is not longer able to start.
> >
>
>
> There is a lot of information missing from this question, though you
> did include the log entries (thanks). Please see this for the rest of
> the info you need:
>
> http://wiki.postgresql.org/wiki/Guide_to_reporting_problems
>
> Why did the user "kill -9" the DB, anyway? Was it perhaps not
> responding for an extended period, and maybe in the "D" state in PS?
> Are there / were there any messages in "dmesg" or in the kernel log
> files? Perhaps related to I/O errors or file system errors? Was there
> a recent fsck on the file system, a recent reboot of the server, or
> recent power loss/interruption?
>
> --
> Craig Ringer
>
> POST Newspapers 276 Onslow Rd, Shenton Park Ph: 08 9381 3088 Fax: 08
> 9388 2258 ABN: 50 008 917 717 http://www.postnewspapers.com.au/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rebecca Clarke 2011-07-28 13:31:32 List Functions and Code
Previous Message Craig Ringer 2011-07-28 12:02:53 Re: postgres unable to start