X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3EE03D1B582 for ; Thu, 30 Oct 2003 15:58:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 78981-08 for ; Thu, 30 Oct 2003 11:58:03 -0400 (AST) Received: from gate-w.wettzell.ifag.de (gate-w.ifag.de [141.74.1.1]) by svr1.postgresql.org (Postfix) with ESMTP id A6EF7D1B561 for ; Thu, 30 Oct 2003 11:57:57 -0400 (AST) Received: by gate-w.wettzell.ifag.de (8.11.6p2G/8.11.6) id h9UFw1c03693 for pgsql-admin@postgresql.org; Thu, 30 Oct 2003 15:58:01 GMT Received: (from localhost) by gate-w.wettzell.ifag.de (MSCAN) id 2/gate-w.wettzell.ifag.de/smtp-gw/mscan; Thu Oct 30 15:58:01 2003 Message-ID: <3FA134FA.7030107@wettzell.ifag.de> Date: Thu, 30 Oct 2003 16:57:46 +0100 From: Reiner Dassing Reply-To: reiner.dassing@bkg.bund.de Organization: BKG-Wettzell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: de-de, de, en, ko-kr, zh, zh-tw MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: database in recovery mode Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/367 X-Sequence-Number: 10928 Hello all! Postgres says that it is in recovery mode. The log tells me: ----------------- Oct 30 02:21:32 daisy postgres[1122213]: [197] NOTICE: RegisterSharedInvalid: SI buffer overflow Oct 30 02:21:32 daisy postgres[1122213]: [197] NOTICE: RegisterSharedInvalid: SI buffer overflow Oct 30 02:21:32 daisy postgres[1122213]: [198] NOTICE: InvalidateSharedInvalid: cache state reset Oct 30 02:21:32 daisy postgres[1122213]: [198] NOTICE: InvalidateSharedInvalid: cache state reset Oct 30 02:21:43 daisy postgres[1239847]: [251074] NOTICE: InvalidateSharedInvalid: cache state reset .... My version is: -------------- select version(); version --------------------------------------------------------------- PostgreSQL 7.1.1 on alphaev67-dec-osf5.1, compiled by cc -std (1 row) I see two postmaster's: ----------------------- ps ax | grep postmaster 1182880 ?? T 0:00.02 /Postgres/pgsql/bin/postmaster -D /Postgres/pgsql/data -B 10000 -d 2 -i -s 1239853 ?? I 2:50.90 /Postgres/pgsql/bin/postmaster -D /Postgres/pgsql/data -B 10000 -d 2 -i -s And there is no way to stop postgres: ------------------------------------- >su - postgres -c '/Postgres/pgsql/bin/pg_ctl -w -D /Postgres/pgsql/data -m fast stop' waiting for postmaster to shut down................................................................ failed pg_ctl: postmaster does not shut down The only possibility was to kill postmaster britally by 'kill -9' Can somebody explain what may be wrong corrupted memory? Regards Reiner