postgres crashes

From: "Barry" <barry(at)postman(dot)co(dot)za>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: postgres crashes
Date: 2004-02-26 14:46:03
Message-ID: 09ea01c3fc77$42797630$1002a8c0@gert
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi All

After running for a couple of days, my postgres server crashes.
When I do a /etc/init.d/postgresql status, I get unused.
And when I then try and start it, it fails. Only a reboot helps.
Here's my /var/log/postgres :

DEBUG: database system is ready
ERROR: Relation "cleared" does not exist
DEBUG: pq_recvbuf: unexpected EOF on client connection
Lock file "/var/lib/pgsql/data/postmaster.pid" already exists.
Is another postmaster (pid 1658) running in "/var/lib/pgsql/data"?
Lock file "/var/lib/pgsql/data/postmaster.pid" already exists.
Is another postmaster (pid 1658) running in "/var/lib/pgsql/data"?
Lock file "/tmp/.s.PGSQL.5432.lock" already exists.
Is another postmaster (pid 1658) using "/tmp/.s.PGSQL.5432"?
/usr/bin/postmaster: cannot create UNIX stream port
DEBUG: database system was interrupted at 2004-02-16 16:35:09 CET
DEBUG: checkpoint record is at 0/28549D8
DEBUG: redo record is at 0/28549D8; undo record is at 0/0; shutdown FALSE
DEBUG: next transaction id: 54058; next oid: 74008
DEBUG: database system was not properly shut down; automatic recovery in progress
DEBUG: ReadRecord: record with zero length at 0/2854A18
DEBUG: redo is not required
DEBUG: database system is ready
Lock file "/var/lib/pgsql/data/postmaster.pid" already exists.
Is another postmaster (pid 1647) running in "/var/lib/pgsql/data"?
DEBUG: database system was interrupted at 2004-02-25 13:16:13 CET
DEBUG: checkpoint record is at 0/2854A18
DEBUG: redo record is at 0/2854A18; undo record is at 0/0; shutdown TRUE
DEBUG: next transaction id: 54058; next oid: 74008
DEBUG: database system was not properly shut down; automatic recovery in progress
DEBUG: ReadRecord: record with zero length at 0/2854A58
DEBUG: redo is not required
DEBUG: database system is ready
Lock file "/var/lib/pgsql/data/postmaster.pid" already exists.
Is another postmaster (pid 1647) running in "/var/lib/pgsql/data"?
Lock file "/var/lib/pgsql/data/postmaster.pid" already exists.
Is another postmaster (pid 1647) running in "/var/lib/pgsql/data"?
DEBUG: database system was interrupted at 2004-02-25 16:29:54 CET
DEBUG: checkpoint record is at 0/2854A58
DEBUG: redo record is at 0/2854A58; undo record is at 0/0; shutdown TRUE
DEBUG: next transaction id: 54058; next oid: 74008
DEBUG: database system was not properly shut down; automatic recovery in progress
DEBUG: ReadRecord: record with zero length at 0/2854A98
DEBUG: redo is not required
DEBUG: database system is ready

Any pointers would be much appreciated.

Thanks
Barry

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-02-26 15:47:43 Re: postgres crashes
Previous Message Bruno Wolff III 2004-02-26 14:41:59 Re: Help with triggers