X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 03133474E5C; Thu, 20 Feb 2003 04:26:46 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 20518-03; Thu, 20 Feb 2003 04:26:35 -0500 (EST) Received: from india-msg-core-1.cisco.com (india-msg-core-1.cisco.com [64.104.129.221]) by postgresql.org (Postfix) with ESMTP id 4A6CA474E4F; Thu, 20 Feb 2003 04:26:34 -0500 (EST) Received: from cbin3-mira-01.cisco.com (localhost [127.0.0.1]) by india-msg-core-1.cisco.com (8.12.2/8.12.6) with ESMTP id h1KEt9Gj002071; Thu, 20 Feb 2003 14:55:09 GMT Received: from andlx-anamika.cisco.com (andlx-anamika.cisco.com [64.104.131.189]) by cbin3-mira-01.cisco.com (Mirapoint) with ESMTP id AEN63714; Thu, 20 Feb 2003 14:49:32 +0530 (IST) Received: from rganesan by andlx-anamika.cisco.com with local (Exim 3.36 #1 (Debian)) id 18lmzA-0008HR-00; Thu, 20 Feb 2003 14:57:20 +0530 Date: Thu, 20 Feb 2003 14:57:20 +0530 From: Ganesan R To: pgsql-bugs@postgresql.org Cc: pgsql-admin@postgresql.org Subject: PANIC: unable to locate a valid checkpoint record Message-ID: <20030220092720.GA31822@andiamo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/334 X-Sequence-Number: 7532 Hi, I am using 7.3.2. postmaster prints this on starting up: ---- LOG: database system was interrupted at 2003-02-20 14:23:36 IST LOG: ReadRecord: bad resource manager data checksum in record at 0/E42144 LOG: invalid primary checkpoint record LOG: ReadRecord: bad resource manager data checksum in record at 0/E42104 LOG: invalid secondary checkpoint record PANIC: unable to locate a valid checkpoint record LOG: startup process (pid 7530) was terminated by signal 6 LOG: aborting startup due to startup process failure ---- pg_resetxlog is able to recover from the problem; but I am concerned because I can reproduce the scenario very easily. I originally encountered the problem in 7.2.1; tried upgrading to 7.2.4 and now 7.3.2 and this scenario happens for every version. The scenario is like this; I have an application that is doing database updates using JDBC. I do a kill -9 on postmaster. The application detects that postmaster is down and restarts it; I do kill -9 on postmaster. After a couple of such forced crashes postmaster refuses to come up. The application uses a PostgreSQL 7.2 JDBC2 driver. I wrote a python application and tried to recreate the problem but wasn't successful. However, I can consistently reproduce the problem with the Java application. Any suggestions on how I can proceed? Please CC me on any replies; I am not (yet) subscribed to the lists. Thanks. Ganesan