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 1pkutl-0002Ni-VS for pgsql-general@arkaria.postgresql.org; Fri, 07 Apr 2023 22:49:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pkutk-0007cK-Tc for pgsql-general@arkaria.postgresql.org; Fri, 07 Apr 2023 22:49:36 +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 1pkutk-0007cB-J8 for pgsql-general@lists.postgresql.org; Fri, 07 Apr 2023 22:49:36 +0000 Received: from evolvis.org ([217.144.135.11]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pkuti-001Wfc-3e for pgsql-general@lists.postgresql.org; Fri, 07 Apr 2023 22:49:36 +0000 Received: from x61w.mirbsd.org (2001-4dd4-fec9-0-21f-3bff-fe0d-cbb1.ipv6dyn.netcologne.de [IPv6:2001:4dd4:fec9:0:21f:3bff:fe0d:cbb1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by evolvis.org (Postfix) with ESMTPSA id F38FA100565; Fri, 7 Apr 2023 22:49:31 +0000 (UTC) Received: by x61w.mirbsd.org (Postfix, from userid 1000) id B94D461DEC; Sat, 8 Apr 2023 00:49:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by x61w.mirbsd.org (Postfix) with ESMTP id B3C3660248; Sat, 8 Apr 2023 00:49:30 +0200 (CEST) Date: Sat, 8 Apr 2023 00:49:30 +0200 (CEST) From: Thorsten Glaser To: Telium Technical Support cc: pgsql-general@lists.postgresql.org Subject: Re: pg_ctlcluster is not stopping cluster In-Reply-To: <010001875dd4ebe6-ba96b71f-2461-45da-ab24-0abf56f56f4f-000000@email.amazonses.com> Message-ID: <1c1a4fe5-ffe3-5d8d-294c-e9c177decca@evolvis.org> References: <010001875dd4ebe6-ba96b71f-2461-45da-ab24-0abf56f56f4f-000000@email.amazonses.com> Content-Language: de-DE-1901 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 7 Apr 2023, Telium Technical Support wrote: >Notice: extra pg_ctl/postgres options given, bypassing systemctl for stop >it might be 13. Coincidentally, there is a postmaster.pid file in a >directory OTHER than the data directory: > >/var/lib/postgresql/15/main/postmaster.pid > >(and notice the 15). Is this a clue? Maybe the pidfile is written into the cluster version-based directory instead of the data directory. Best figure out what exactly writes the pidfile, whether systemd is used for starting (which would of course be a prime suspect as it says it=E2=80=99s explicitly not used for stopping), = etc. Maybe this is indeed a bug in whatever determines the pidfile path, perhaps not; is it supposed to live within the data directory? bye, //mirabilos --=20 15:41=E2=8E=9C Somebody write a testsuite for hello= world :-)