From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-109430-garchives=archives.gentoo.org@lists.gentoo.org>) id 1NwhhZ-0006Nm-Uh for garchives@archives.gentoo.org; Tue, 30 Mar 2010 20:06:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90D84E0B12 for <garchives@archives.gentoo.org>; Tue, 30 Mar 2010 20:06:17 +0000 (UTC) Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) by pigeon.gentoo.org (Postfix) with ESMTP id CC1DEE0AAF for <gentoo-user@lists.gentoo.org>; Tue, 30 Mar 2010 19:18:52 +0000 (UTC) Received: by bwz19 with SMTP id 19so2276bwz.26 for <gentoo-user@lists.gentoo.org>; Tue, 30 Mar 2010 12:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=6iidfsLeGrMZuuCYFP0e4xjAOLDBgvC9LhSoRTx5wGM=; b=QtxeMbuRsqeAsBnhjo7ZsmPW1Uky5q5MWgQ6d0yXBE+hCjwrOpqJsrOzMtHm1dV6lW 0vIitIoYiNKDrwDvEFBljNsoFYXG2pAoNPRJKL5e8UUWpYhMw94z0Pm/2Vtj4fq89Rbj 1CHpY+lFOzCYj85anyOReEMzuQRdkZGwKyVKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=Zq9gyIeARfvfz07Nox+vMpEy5fGCF1gQwcZj1C1WlEeSDpSXmnAemQq2p64qJZ5Nr8 glCjm8rI9OJycLi3Kbsjh1XpCIjYNOEpLyYfT44kGUd/7pXWe/4/S8SM5zcCGKEHK0bK OusLpjWc8h53sjYT/Fa2n5s3NOw5lpq65ev7Q= Received: by 10.204.163.143 with SMTP id a15mr352880bky.128.1269976732007; Tue, 30 Mar 2010 12:18:52 -0700 (PDT) Received: from nazgul.localnet (196-215-2-122.dynamic.isadsl.co.za [196.215.2.122]) by mx.google.com with ESMTPS id x16sm50422712bku.5.2010.03.30.12.18.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Mar 2010 12:18:50 -0700 (PDT) From: Alan McKinnon <alan.mckinnon@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] postgresql 8.2.14 cannot stop Date: Tue, 30 Mar 2010 21:15:41 +0200 User-Agent: KMail/1.13.1 (Linux/2.6.33-zen1; KDE/4.4.1; x86_64; ; ) References: <53e35fd51003300631k4d3794f3n3c651d6d515c2090@mail.gmail.com> In-Reply-To: <53e35fd51003300631k4d3794f3n3c651d6d515c2090@mail.gmail.com> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201003302115.41102.alan.mckinnon@gmail.com> X-Archives-Salt: 6f1f7526-8216-4ab0-9471-423aa9abeb9b X-Archives-Hash: 7422417db3de1b0e3c77f3e6bcec0792 On Tuesday 30 March 2010 15:31:50 Xi Shen wrote: > hi, > > my system is gentoo amd64, postgresql 8.2.14. the postgresql service > can start without any error; but when i try to stop it, it reports > failure. the process of postgresql are actually terminated. if i try > to stop the service again, i got > > "start-stop-daemon: fopen `/var/lib/postgresql/data/postmaster.pid': > No such file or direc" > > i will have to use zap to reset the service status. how to fix this? We don't need the error message from the second time you stop it. We know for sure that will not work. We need the error from the first failure. Without that, we can't help you. Otherwise you are just asking how long is a piece of string? And we all know what the correct answer to that is. -- alan dot mckinnon at gmail dot com