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 ) id 1Nwim6-0004Ie-9T for garchives@archives.gentoo.org; Tue, 30 Mar 2010 21:15:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D257BE0F8A for ; Tue, 30 Mar 2010 21:15:01 +0000 (UTC) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by pigeon.gentoo.org (Postfix) with ESMTP id A8284E0E00 for ; Tue, 30 Mar 2010 21:10:43 +0000 (UTC) Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 692B8EA15B; Tue, 30 Mar 2010 17:10:43 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 30 Mar 2010 17:10:43 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:reply-to:mime-version:to:subject:references:in-reply-to:content-type; s=smtpout; bh=xhR0RJG7SSe0hfoI9enIAIgg7vI=; b=lz6uzeHqo32yhGbIdnJOVqUhQOyG3kCHypWhtjVQ1Pkb0FzRREYITsO+KqzznwTDLpGh94M88TVv38f5D/K3W53LIAxBE1L+jeAIrWbhj8zRnopVOCg2Lx9Uh5zQxulq02ilpr0ZB6gsPPz5DqmTk6MKPimFFvT6DQvE6zxwNDE= X-Sasl-enc: +AV66uFcF4A63VXL60mwuBoJilOzePBqBHuXaDZx/HG1 1269983442 Received: from [192.168.5.10] (lvps83-169-5-6.dedicated.hosteurope.de [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id F0CD131C8C for ; Tue, 30 Mar 2010 17:10:41 -0400 (EDT) Message-ID: <4BB268CB.8020301@f_philipp.fastmail.net> Date: Tue, 30 Mar 2010 23:10:35 +0200 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100313 Lightning/1.0b2pre Thunderbird/3.0.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] postgresql 8.2.14 cannot stop References: <53e35fd51003300631k4d3794f3n3c651d6d515c2090@mail.gmail.com> In-Reply-To: <53e35fd51003300631k4d3794f3n3c651d6d515c2090@mail.gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA7FA99CE9CF8566997E9E0CD" X-Archives-Salt: f6808e8b-e3ad-4575-8b10-8973b79aa061 X-Archives-Hash: 4847531ba56616a1d7110b5a17713484 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA7FA99CE9CF8566997E9E0CD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 30.03.2010 15:31, schrieb Xi Shen: > hi, >=20 > 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 >=20 > "start-stop-daemon: fopen `/var/lib/postgresql/data/postmaster.pid': > No such file or direc" >=20 > i will have to use zap to reset the service status. how to fix this? >=20 >=20 I guess it is just a timeout issue. Take a look at the stop()-function in /etc/init.d/postgresql. It calls start-stop-daemon [...] --retry -TERM/${WAIT_FOR_DISCONNECT}/-INT/${WAIT_FOR_CLEANUP}/-QUIT [...]= I have the same issue with a virtual server. At the moment, I just ignore it. I guess it would be safer to increase the timeout somehow. Hope this helps, Florian Philipp --------------enigA7FA99CE9CF8566997E9E0CD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuyaNUACgkQqs4uOUlOuU9wKgCfZ8g7uIF/1D66+FaOW/Fgglv4 e4QAn1H3VrADF8h2ijDmVplIndDB252n =V5IC -----END PGP SIGNATURE----- --------------enigA7FA99CE9CF8566997E9E0CD--