From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/923 Path: news.gmane.org!not-for-mail From: Joshua N Pritikin Newsgroups: gmane.comp.sysutils.supervision.general Subject: how to avoid a restart loop? Date: Sat, 3 Dec 2005 13:09:03 +0530 Message-ID: <20051203073902.GK11535@always.joy.eth.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bina0ufSB9dLMnVr" X-Trace: sea.gmane.org 1133595290 20607 80.91.229.2 (3 Dec 2005 07:34:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Dec 2005 07:34:50 +0000 (UTC) Original-X-From: supervision-return-1159-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Dec 03 08:34:49 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1EiRui-0002ZA-07 for gcsg-supervision@gmane.org; Sat, 03 Dec 2005 08:34:32 +0100 Original-Received: (qmail 32062 invoked by uid 76); 3 Dec 2005 07:34:52 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 32056 invoked from network); 3 Dec 2005 07:34:52 -0000 Original-To: supervision@list.skarnet.org Content-Disposition: inline X-PGP-Key: 06E3 3D22 D307 AAE6 ACB4 6B44 A9CA A794 A4A6 0BBD X-Request-PGP: http://openheartlogic.org/personal/pubkey.asc User-Agent: Mutt/1.5.4i Xref: news.gmane.org gmane.comp.sysutils.supervision.general:923 Archived-At: --Bina0ufSB9dLMnVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Today I noticed that the log was filling up with: [2005-12-03 06:29:47 UTC] LOG: could not load root certificate file +"/var/lib/postgresql/8.0/main/root.crt": No SSL error reported [2005-12-03 06:29:47 UTC] DETAIL: Will not verify client certificates. [2005-12-03 06:29:47 UTC] FATAL: lock file +"/var/lib/postgresql/8.0/main/postmaster.pid" already exists [2005-12-03 06:29:47 UTC] HINT: Is another postmaster (PID 288) running in data +directory "/var/lib/postgresql/8.0/main"? I got 1 per second! A few megabytes later, I killed everything and restart. Looks OK now, but how to avoid this in the future? Do I need a ./finish script which does: kill `cat /var/lib/postgresql/8.0/main/postmaster.pid` ?? Suggestions please. ;-) --Bina0ufSB9dLMnVr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFDkUuWqcqnlKSmC70RAihaAJ4qqacHenWn+PGHeS9mIiUpt2lNbACgq/o6 LccVO+1f6M05Bw/DLBThP8Q= =dvAD -----END PGP SIGNATURE----- --Bina0ufSB9dLMnVr--