Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q8Zba-000690-OM for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Jun 2023 04:56:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q8ZbY-0004H9-Lj for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Jun 2023 04:56:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q8ZbX-0004Gz-3m for pgsql-bugs@lists.postgresql.org; Mon, 12 Jun 2023 04:56:36 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q8ZbT-001j2a-SZ for pgsql-bugs@lists.postgresql.org; Mon, 12 Jun 2023 04:56:33 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id C5CE532008FB; Mon, 12 Jun 2023 00:56:28 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 12 Jun 2023 00:56:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1686545788; x=1686632188; bh=HJ GZzRlfQhrgL74yGdUExuPApAR103a82n09SIdQekA=; b=lj7+UdqV/QeCu2h9QI lilO0/U8MfHXYVccPwou7zWYVr9yTPz+uOSus33M0tKA8I3y7bNlnyEQFjQ08Fmq iy0QAlv4UW+eWG+djKVuJ5ORpxHfF/nMG5pj+yPH14+6+BJv+jrMPbWS2kgkwKx9 N4ceUrIS950JLYaFI7TGn4UKVciaf0OLcWeXGUs4zUfhj6WL238KzuLVELPLklzv 7IgmljDogdDdU1mUbIR5YJ7sM9J+6Vbgl3CYa+xXWDPusmTiWpCLUFKHmjUosDqw YInfrwzSu6tzVbhWVZ+F3vrpAvsnTq14F3FBbE90FjLhv1tPo8orEHVoVABwWHdN frbA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1686545788; x=1686632188; bh=HJGZzRlfQhrgL 74yGdUExuPApAR103a82n09SIdQekA=; b=Zok7rZbZF0bBQzZlXKdGRW9cA3Ltc z/jmiPIosPeT5IcZdQ89p6/ysRtHC2mvT94DaKSYT3ujRyPEszstSCpn5xg5HUvd 3RABRFPg2+xXTg+RjP/Rs5znMgX9RzJzgbraiVwoxhwe1CybMeCbyIuMDSejLBA/ W5k8dXqzzt4VKaZtnN/+zqHaDaoXSK7+M3hFoormxL3YhfEwjAhk58i38eChFrFF 60GSygXH9p6NG5UdF6jqbWGfB+qYuVRdprscNfaHhsAZ/Vq6Y70CBualNzBig80Y 3xxBH8V0jwOH3ApS4u93WiyZLiLGRJgUrjHfH5q6CFV+morc+ruBCyX2Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedugedgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpedvgeduuefhtdeuleettdevjeehheeiveeuieegleetgeeljeelieeuieehgeevhfen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthh grvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Jun 2023 00:56:26 -0400 (EDT) Date: Mon, 12 Jun 2023 13:56:21 +0900 From: Michael Paquier To: srivastavautkarsh8097@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17954: Postgres startup fails with `could not locate a valid checkpoint record` Message-ID: References: <17954-487d02209af43b14@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="G/tQsVidLiWZNhno" Content-Disposition: inline In-Reply-To: <17954-487d02209af43b14@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --G/tQsVidLiWZNhno Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 01, 2023 at 01:11:20PM +0000, PG Bug reporting form wrote: > - What could be the root cause of this issue?=20 > - Is this a known issue (I did search the archives but couldn't find it > though)? If yes, is this fixed in a PG 13, 14, 15? Hard to say for sure, but it looks like your host has a few problems. This part from your logs refers to something that should not happen, to begin with: > 2023-05-14 05:13:13.678 UTC [1] LOG: received smart shutdown request > 2023-05-14 05:13:36.692 UTC [1] LOG: could not open file "postmaster.pid= ": > No such file or directory > 2023-05-14 05:13:36.692 UTC [1] LOG: performing immediate shutdown becau= se > data directory lock file is invalid > 2023-05-14 05:13:36.692 UTC [1] LOG: received immediate shutdown request > 2023-05-14 05:13:36.692 UTC [1] LOG: could not open file "postmaster.pid= ": > No such file or directory This LOG would come from either AddToDataDirLockFile() or RecheckDataDirLockFile(). Still, the third entry I am quoting refers to a recheck of the PID file, meaning that the postmaster has bumped into what looks like a corrupted PID file. =20 -- Michael --G/tQsVidLiWZNhno Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmSGpXUACgkQnvQgOdby QH3TwQ/+JYzrPCQBt+WD1/BYgRNyXA5cGZpK5hODfKwB7ALe/YaAcaGrfpyAHVOc VporVg2gI1fBz1S/QsoUdzHwdCqDvW//U9J7zfRU3g943q8w6wPXiH7bYAFLfkMK J1Yrm3WtIhbtTrzDTEkgSGuRH4h65OWOs1esp8huYZP9RIfjjcE4naRSe6yxo5kx zUCjOPVQtbvllat2CenLmckIg67f1eiyFhR3oNzRswFSnbVt34ar2pjuOp3Xkwcp 0smpULKooQ4kR9hivdSrTuvSvw9e4wCNwRG5fz3MWT3UeNRXx83QyyhaSUisyrlW 8Yt8hJbeGAV0l2UQcJqfa9nlyGtZO/Ty3rYiWGOkPrgRz4fv2j/N0pbFMOOytmNb Li7Y/+XXJqIoth/S0OEsLrCnDOs1H0FUS+PxQLi0E+DsfE6mws2hc0p2NMlPhdYL LZwMv6VruIH+qYOgsIWlofxGFM7vlzgqlKhcHCh9PWOpDrwo+8kBAHBu4Q1iT991 AnAEzH8r9s0lwYuL4OkIeoG9VEAO/uc1W7RC7Mi3nCMnEOSDEpDv5oFA8WjSqh0w pbKiITisXv/QaTU+FM3IJvvqpCXPz7ijq0DvRnFDHh0g2ga8EeTQw42dZLeG3Ftm Mni3dW7EYkdA9O1/pj1xZ53rSf5Y7RCtk6PFkSIhAlVlJSOCX+A= =dzYl -----END PGP SIGNATURE----- --G/tQsVidLiWZNhno--