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 1l4aQl-0007jN-1o for pgsql-general@arkaria.postgresql.org; Wed, 27 Jan 2021 02:19: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 1l4aQk-00085E-0L for pgsql-general@arkaria.postgresql.org; Wed, 27 Jan 2021 02:19:38 +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 1l4aQj-000852-NJ for pgsql-general@lists.postgresql.org; Wed, 27 Jan 2021 02:19:37 +0000 Received: from mail2.protonmail.ch ([185.70.40.22]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l4aQf-0003Xc-ED for pgsql-general@lists.postgresql.org; Wed, 27 Jan 2021 02:19:36 +0000 Date: Wed, 27 Jan 2021 02:19:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1611713970; bh=ahewR8S8DS+Ksi3sP8q5Og8zHm/hnOM3RqZLTekQC+M=; h=Date:To:From:Reply-To:Subject:From; b=BEHQiUXrBQwe48XiXgVhfd69UwsNwazfYnp7/gqpM0RYasIFzXUkwiPJCy4r2nD0c ZoZ+R+5lzYz8zyok+5tu+40yTZSuYnI3HsmRPfkye5n8KETuhYUla6gTTrW56EO8FJ ggwqcXr/rfQ7t0dAxGx8IAmaZjsIRY4H0faxKLLk= To: pgsql-general@lists.postgresql.org From: Lisa Ruby Reply-To: Lisa Ruby Subject: Postgres 9.3 service no longer starts on Windows 8.1 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.7 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I am using Postgres 9.3 on a Windows 8.1 computer. I've been using it=20 for over 5 years on the same computer to provide a database for a local=20 JIRA Server. I did a normal restart of my computer last night and ever=20 since then the Postgres service fails to start. I am able to start=20 Postgres from the command line using pg_ctl start -D =20 -w,=C2=A0 and JIRA is then able to connect to the database. When I try (or the system tries) to start the Postgres Service from=20 Windows Services the event log shows this error for Postgres: 2021-01-25 23:37:36 PST FATAL:=C2=A0 data directory=20 "D:/mysoftware/PostgreSQL/9.3" does not exist The database does exist in this data directory, and I use the same exact=20 path for it when starting Postgres from the command line. This error=20 started appearing when Postgres stopped correctly starting as a service. There are no other errors/warnings in the Event log that aren't always=20 there. The latest entries in the postgresql log look like this: 2021-01-26 17:21:05 PST LOG:=C2=A0 database system was shut down at=20 2021-01-26 17:20:31 PST 2021-01-26 17:21:05 PST LOG:=C2=A0 MultiXact member wraparound protections= =20 are now enabled 2021-01-26 17:21:05 PST LOG:=C2=A0 database system is ready to accept conne= ctions 2021-01-26 17:21:05 PST LOG:=C2=A0 autovacuum launcher started 2021-01-26 17:25:05 PST LOG:=C2=A0 server process (PID 2372) was terminated= =20 by exception 0xC000013A 2021-01-26 17:25:05 PST DETAIL:=C2=A0 Failed process was running: UPDATE=20 public.clusteredjob SET=C2=A0 VERSION =3D $1 ,=C2=A0 NEXT_RUN =3D $2=C2= =A0 WHERE JOB_ID=3D$3=20 AND VERSION=3D$4 2021-01-26 17:25:05 PST HINT:=C2=A0 See C include file "ntstatus.h" for a= =20 description of the hexadecimal value. 2021-01-26 17:25:05 PST LOG:=C2=A0 terminating any other active server proc= esses 2021-01-26 17:25:05 PST WARNING:=C2=A0 terminating connection because of=20 crash of another server process 2021-01-26 17:25:05 PST DETAIL:=C2=A0 The postmaster has commanded this=20 server process to roll back the current transaction and exit, because=20 another server process exited abnormally and possibly corrupted shared=20 memory. 2021-01-26 17:25:05 PST HINT:=C2=A0 In a moment you should be able to=20 reconnect to the database and repeat your command. 2021-01-26 17:25:05 PST WARNING:=C2=A0 terminating connection because of=20 crash of another server process 2021-01-26 17:25:05 PST DETAIL:=C2=A0 The postmaster has commanded this=20 server process to roll back the current transaction and exit, because=20 another server process exited abnormally and possibly corrupted shared=20 memory. 2021-01-26 17:25:05 PST HINT:=C2=A0 In a moment you should be able to=20 reconnect to the database and repeat your command. 2021-01-26 17:25:05 PST WARNING:=C2=A0 terminating connection because of=20 crash of another server process 2021-01-26 17:25:05 PST DETAIL:=C2=A0 The postmaster has commanded this=20 server process to roll back the current transaction and exit, because=20 another server process exited abnormally and possibly corrupted shared=20 memory. 2021-01-26 17:25:05 PST HINT:=C2=A0 In a moment you should be able to=20 reconnect to the database and repeat your command. 2021-01-26 17:25:05 PST WARNING:=C2=A0 terminating connection because of=20 crash of another server process 2021-01-26 17:25:05 PST DETAIL:=C2=A0 The postmaster has commanded this=20 server process to roll back the current transaction and exit, because=20 another server process exited abnormally and possibly corrupted shared=20 memory. 2021-01-26 17:25:05 PST HINT:=C2=A0 In a moment you should be able to=20 reconnect to the database and repeat your command. 2021-01-26 17:25:05 PST WARNING:=C2=A0 terminating connection because of=20 crash of another server process 2021-01-26 17:25:05 PST DETAIL:=C2=A0 The postmaster has commanded this=20 server process to roll back the current transaction and exit, because=20 another server process exited abnormally and possibly corrupted shared=20 memory. 2021-01-26 17:25:05 PST HINT:=C2=A0 In a moment you should be able to=20 reconnect to the database and repeat your command. 2021-01-26 17:25:05 PST LOG:=C2=A0 all server processes terminated;=20 reinitializing 2021-01-26 17:25:05 PST LOG:=C2=A0 database system was interrupted; last=20 known up at 2021-01-26 17:21:05 PST 2021-01-26 17:25:07 PST LOG:=C2=A0 startup process (PID 5376) was terminate= d=20 by exception 0xC000013A 2021-01-26 17:25:07 PST HINT:=C2=A0 See C include file "ntstatus.h" for a= =20 description of the hexadecimal value. 2021-01-26 17:25:07 PST LOG:=C2=A0 aborting startup due to startup process= =20 failure Can anyone help me fix this so that Postgres will again start as a=20 Windows service like it has been for the last 5 years, until last night? Thank you. Lisa