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 1lLyNr-000285-BJ for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Mar 2021 01:20:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lLyNq-0005Ng-9S for pgsql-bugs@arkaria.postgresql.org; Tue, 16 Mar 2021 01:20:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLyNq-0005NY-2y for pgsql-bugs@lists.postgresql.org; Tue, 16 Mar 2021 01:20:30 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLyNn-00040u-8R for pgsql-bugs@lists.postgresql.org; Tue, 16 Mar 2021 01:20:29 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5D5195C00B3; Mon, 15 Mar 2021 21:20:24 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 15 Mar 2021 21:20:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=TYbBRxkaPZbwr7X+0paEFbq2yxl +51WFI1+bghyAGjQ=; b=CJRxKpAAKExp7/tHFKHnnYOGTvgF376AN6KVMQ+FAe9 wSCUnT8UXJgDg3CzEbecc6888ZhSqa5O6Th+LpZjO0d7DxlvhMnZuZ1XDWkmvZFk 7nB/2n+uT1LHEevp8RpvONAJDgrkQY4BJH+OTmA7HobWmWx4M3dk2T3Q9uPlfVeZ 36einnNInh9Sq+WEl9mZZr9nC4fgfHjtQl4ErY05m7PnkNechxUxfNRrsSv8nl24 twMLdAOTam2UNlK5bfRpioMyMsCAFrRym2GVkSe9y//W2kNV3RQvBWhaY2rUeVMf FoqDxxlf4pfKPYfmo5setJHew9Duhs1iKlrFAKdiOqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=TYbBRx kaPZbwr7X+0paEFbq2yxl+51WFI1+bghyAGjQ=; b=Dgf9UgOAln2KA1EZosMfaQ GxKpFBrOuWUoKoS+myQI6F/20qQe5TYS+Fbxhgfhr3DwMTLGOVOqLHnEnw1NvKNa ARPdtdTGZEa+f/ZblCPKCLVN02sZzWC3S6NYefuOlKJo5zuMd1ootrBb1ve57KN+ coh9B3PuO0J7zjZ6vSaonWmd1cjWcW/6OlgmybOr4mAxNFclgeHGSHFQZFa5KbcJ sxI6/rpwTv6yXPLL8v1Qy1pZchvSGUKjEJ4V6z+lxKpQMH7Li5Fdj6WVsZbdOvD8 f73pvta/VavGwfnISNGArWQ9SHCut8rAZHHk71rlZLw5HjZGdxuQC8CIYUiGzaNg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefuddgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpedvgeduuefhtdeuleettdevjeehheeiveeuieegleetgeeljeelieeuieehgeevhfen ucfkphepudduuddruddtvddrudektddrudekheenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id C3F9B24005D; Mon, 15 Mar 2021 21:20:22 -0400 (EDT) Date: Tue, 16 Mar 2021 10:20:20 +0900 From: Michael Paquier To: yarik97.6@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16927: Postgres can`t access WAL files Message-ID: References: <16927-67c570d968c99567@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Il7pC/GPZj/XWd6/" Content-Disposition: inline In-Reply-To: <16927-67c570d968c99567@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Il7pC/GPZj/XWd6/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 15, 2021 at 02:19:57PM +0000, PG Bug reporting form wrote: > Recently, I had updated 4 clusters postgreSQL from version 9.6 to 13.2, a= nd > now have issue with errors that you can see below from log file. There is > high frequency of how this error gets occurred. > With such type of errors I can`t set up replication slot and I worry about > is it safe for data in DB cluster.=20 > I already took some actions to get rid of this error: 1) enabled exclusio= ns > in GPO for Microsoft Defender (clusters directory and postgres process)= =20 > 2) checked system with sfc tool. > 3) checked user & system rights for cluster directory. > But nothings from this works. > Here are some lines from log file. > 2021-03-15 15:44:54.674 EET [3992] LOG: could not rename file > "pg_wal/000000010000086E000000C6": No such file or directory > 2021-03-15 15:48:38.884 EET [3992] LOG: could not rename file > "pg_wal/000000010000086D000000E7": Permission denied > 2021-03-15 15:48:49.813 EET [3992] LOG: could not rename file > "pg_wal/000000010000086D000000FD": Permission denied > 2021-03-15 15:49:00.642 EET [3992] LOG: could not rename file > "pg_wal/000000010000086E00000033": Permission denied There have been multiple reports of this issue for 13, though we have not been able to determine if this was coming from Postgres or if a recent Windows update is causing that. Here, you basically say that all stable versions of PostgreSQL are seeing this problem, which is new to me. Particularly, 9.6.20 did not have any issues but 9.6.21 is showing this problem, right? Or did you update from an even older version, say 9.6.19 or 9.6.18? Are all those instances involved with streaming replication? What is exactly the version of your Windows server? d726e44f catches my eyes here, looking at the diffs between both versions.. -- Michael --Il7pC/GPZj/XWd6/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmBQB9QACgkQnvQgOdby QH1W9g//Ug5pqZOiT+RklIEIPl+CBqhv7oX3v4ampvHoH6WEoVSUA+u0l4bFNAiu z3oBlqX/e/RAdowy7sTGdcij3oa2P792LffKUYZlzxkv1KioaLAuFxdBLVaPq2kB D3q29Gf7pdqcEJ22oJkD8vWmpN27GnDnIwpPYVFQ9E2jQdkwWFjg8qwfN2vCkLW+ SFWeWCDYwye19BXrS69Z49+FJIiwT9U45h+x/Oo5CcR9hqDXNAgBWOx04ocBCHYs tsPOXvNnXBYIWP6bSGx6Dbjd9V0HCdoKGvYyR/m7RyYmJEDZLMrVEUE/zZ3qBXO3 033PG1Z3NU9Q3x4Ets2Hu8hSXkLZK1XCGNqLqXZq4vc/VFO3y2tk6B+ONoSkU/lj qCUM6YFBVpxDNfVp1/ZTCXFa4i1+hpT+Q487Dv2l7ZbkXfIovHk5U8nZegD9V1no 88kX4fElZatF+6aMfpYhOFbDusdhXm7099XcIpV2/zDLiIElTo7BmrFOkdUDxwGk Ybc1GfFmynsH+78+4LKxEcnj7XYqwkcL/pOaMzLL8qHalfaEMu9q80pXFTbU9ZtS CdvSg9YWvSEz74WpAllNbeUWB7k8Ug2itTgMNjShPrYUY1Q4T/oskDCGy9gU5dG9 H3MCq0XSYLo3A0ChiuL6wc/3eHzMAgqpjsqVznbpI+rvDMb1gwM= =v1Pl -----END PGP SIGNATURE----- --Il7pC/GPZj/XWd6/--