From: Barry <barry@postman.co.za>
To: pgsql-admin@postgresql.org
Subject: postgres crashes
Date: Thu, 26 Feb 2004 16:46:03 +0200
Message-ID: <09ea01c3fc77$42797630$1002a8c0@gert> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: barry@postman.co.za
Subject: Re: postgres crashes
In-Reply-To: <09ea01c3fc77$42797630$1002a8c0@gert>
References: <09ea01c3fc77$42797630$1002a8c0@gert>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox