X-Original-To: pgsql-admin@postgresql.org Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 371E1475A71 for ; Wed, 19 Mar 2003 14:03:24 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.8/8.12.8) with ESMTP id h2JJ3Oub008348; Wed, 19 Mar 2003 14:03:24 -0500 (EST) To: Dave Cc: pgsql-admin@postgresql.org Subject: Re: Sudden stop of postmaster - Looking for help In-reply-to: References: Comments: In-reply-to Dave message dated "Tue, 18 Mar 2003 14:50:18 +0000" Date: Wed, 19 Mar 2003 14:03:23 -0500 Message-ID: <8347.1048100603@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200303/314 X-Sequence-Number: 7954 Dave writes: > bash-2.05a$ pg_ctl start -D /var/lib/pgsql/data -s > pg_ctl: Another postmaster may be running. Trying to start postmaster > anyway. > Found a pre-existing shared memory block (ID 196608) still in use. > If you're sure there are no old backends still running, > remove the shared memory block with ipcrm(1), or just > delete "/var/lib/pgsql/data/postmaster.pid". > bash-2.05a$ rm /var/lib/pgsql/data/postmaster.pid Are you certain there wasn't a postmaster still running? I think you may have just shot yourself in the foot. I'd recommend shutting down postgres and making sure (with ps) that there are no remaining postgres-owned processes. regards, tom lane