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 1l4dFy-0007fy-JE for pgsql-general@arkaria.postgresql.org; Wed, 27 Jan 2021 05:20:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l4dFx-0000Jx-AX for pgsql-general@arkaria.postgresql.org; Wed, 27 Jan 2021 05:20:41 +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 1l4dFw-0000Jq-SJ for pgsql-general@lists.postgresql.org; Wed, 27 Jan 2021 05:20:41 +0000 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l4dFs-0004kc-UV for pgsql-general@lists.postgresql.org; Wed, 27 Jan 2021 05:20:39 +0000 Received: by mail-oi1-x233.google.com with SMTP id k25so910884oik.13 for ; Tue, 26 Jan 2021 21:20:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=jAjw7yDHcUWR1bCtdsWSRF8mrE3cXwPVh8VhieYMIds=; b=Jj56/EikPtjoaKXcnII8hO7jfbkWuKGlKyzhkfsFrIy10ZOd/8U1ohvVC9ykkuo4E3 zY6JdmXqKEz8BbPn9dbpiTWwNHatLyHntdSoD4rFgWX2eOaqCXDvPh/yX8TM2Mp/PksM DxGABGWaw4OU3iFXWdshoz/No8aSdQK4J1rbGdqGunXGM1G9YgxS6xeEcGx0PPW2k1ir UnKG+bn1+v14Ou8hgOtuqCIfjVq7OlF4v8pY8dVeYRfFpR28uSIiju5qAnlK/UbEeD9u TA2VMRSxguash6z/ujUqVLMS+wUhqVS5WolSRdesamE7tPMbGPE6T6dOInPtxOpz/Ex1 PBDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=jAjw7yDHcUWR1bCtdsWSRF8mrE3cXwPVh8VhieYMIds=; b=mF+dlPSokEg+qW2XnKj+P5SpPF1MTHKVKuvgWgj6zlZks25ZktbXPrur2VoDkpWQHu x62OkBbJ2MWYHb9p1MLluxRnfEXPSOGyNr5FPOf+ovbIM4eJavhgcj2oxjtM1eQ/w2i8 BxUBJye5ceWY9E6Qb63xNn2Rh2F0rLX7tyotalZfCHJ52bjfe+X6/ldVbmWaRf0Go/eY +30Zj/Mw8dr8ZQewo6IJd7fty5nwTm+uSFmjgol4G13c/fJqn5cuyHDJmSxGEcez6z8Y j8OZ9GoYHdPHi0tsW1rCBFWtFcPVdV0ZID+EoLIfPyHRicrOLquz9AGp/LCbx53ZPoTO 8yfA== X-Gm-Message-State: AOAM5302agqe3dVJ8DOBA3xnuwxt7Q1o7EgC7gh7YnKJvxNVmxBQRwp1 1WDU/3qfkufCFaLlVfwhyErAJ0IoeIx1sw== X-Google-Smtp-Source: ABdhPJzdNhuGmagl6opgmkLv1C+EOYbrDqy1vKwJvFHrYNN9eQtMJ85i4HzTWFckWq/6dXRciPQcgg== X-Received: by 2002:aca:5c03:: with SMTP id q3mr2066324oib.8.1611724834607; Tue, 26 Jan 2021 21:20:34 -0800 (PST) Received: from [192.168.88.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id g13sm189984otl.60.2021.01.26.21.20.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Jan 2021 21:20:33 -0800 (PST) Subject: Re: Postgres 9.3 service no longer starts on Windows 8.1 To: pgsql-general@lists.postgresql.org References: <9208a120-caa2-7002-ee33-779fcc833a0c@protonmail.com> From: Ron Message-ID: Date: Tue, 26 Jan 2021 23:20:30 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <9208a120-caa2-7002-ee33-779fcc833a0c@protonmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Obligatory "you need to upgrade!!!" comment: both Postgres 9.3 and Windows 8.1 are far beyond EOL. (Don't think I'm being high and mighty, since I still must maintain Pg 9.2 and SQL Server 2005, 2008, & 2008R2 servers...) On 1/26/21 8:51 PM, Lisa Ruby wrote: > Don't know why this so often happens, but it does. I'll look for hours > for a solution to a problem, finally give up and ask for help, and then > find a solution. > > I just solved my problem. I started looking at permissions on the > database location folders. Saw that NETWORK SERVICE had full security > permissions for the 9.3 folder in the path > "D:\mysoftware\PostgreSQL\9.3" and also had full permissions to folders > underneath 9.3. It had no permissions for the PostgreSQL folder. For > grins I added it to the security settings for the the PostgreSQL folder > and gave it full permissions. After doing that starting Postgres as a > Windows service is working again. No idea if those permissions were > previously on the PostgreSQL folder and somehow disappeared, but adding > the permissions fixed the problem. > > Lisa > > On 1/26/2021 6:19 PM, Lisa Ruby wrote: >> I am using Postgres 9.3 on a Windows 8.1 computer. I've been using it >> for over 5 years on the same computer to provide a database for a local >> JIRA Server. I did a normal restart of my computer last night and ever >> since then the Postgres service fails to start. I am able to start >> Postgres from the command line using pg_ctl start -D >> -w,  and JIRA is then able to connect to the database. >> >> When I try (or the system tries) to start the Postgres Service from >> Windows Services the event log shows this error for Postgres: >> >> 2021-01-25 23:37:36 PST FATAL:  data directory >> "D:/mysoftware/PostgreSQL/9.3" does not exist >> >> The database does exist in this data directory, and I use the same exact >> path for it when starting Postgres from the command line. This error >> started appearing when Postgres stopped correctly starting as a service. >> >> There are no other errors/warnings in the Event log that aren't always >> there. >> >> The latest entries in the postgresql log look like this: >> >> 2021-01-26 17:21:05 PST LOG:  database system was shut down at >> 2021-01-26 17:20:31 PST >> 2021-01-26 17:21:05 PST LOG:  MultiXact member wraparound protections >> are now enabled >> 2021-01-26 17:21:05 PST LOG:  database system is ready to accept connections >> 2021-01-26 17:21:05 PST LOG:  autovacuum launcher started >> 2021-01-26 17:25:05 PST LOG:  server process (PID 2372) was terminated >> by exception 0xC000013A >> 2021-01-26 17:25:05 PST DETAIL:  Failed process was running: UPDATE >> public.clusteredjob SET  VERSION = $1 ,  NEXT_RUN = $2  WHERE JOB_ID=$3 >> AND VERSION=$4 >> 2021-01-26 17:25:05 PST HINT:  See C include file "ntstatus.h" for a >> description of the hexadecimal value. >> 2021-01-26 17:25:05 PST LOG:  terminating any other active server processes >> 2021-01-26 17:25:05 PST WARNING:  terminating connection because of >> crash of another server process >> 2021-01-26 17:25:05 PST DETAIL:  The postmaster has commanded this >> server process to roll back the current transaction and exit, because >> another server process exited abnormally and possibly corrupted shared >> memory. >> 2021-01-26 17:25:05 PST HINT:  In a moment you should be able to >> reconnect to the database and repeat your command. >> 2021-01-26 17:25:05 PST WARNING:  terminating connection because of >> crash of another server process >> 2021-01-26 17:25:05 PST DETAIL:  The postmaster has commanded this >> server process to roll back the current transaction and exit, because >> another server process exited abnormally and possibly corrupted shared >> memory. >> 2021-01-26 17:25:05 PST HINT:  In a moment you should be able to >> reconnect to the database and repeat your command. >> 2021-01-26 17:25:05 PST WARNING:  terminating connection because of >> crash of another server process >> 2021-01-26 17:25:05 PST DETAIL:  The postmaster has commanded this >> server process to roll back the current transaction and exit, because >> another server process exited abnormally and possibly corrupted shared >> memory. >> 2021-01-26 17:25:05 PST HINT:  In a moment you should be able to >> reconnect to the database and repeat your command. >> 2021-01-26 17:25:05 PST WARNING:  terminating connection because of >> crash of another server process >> 2021-01-26 17:25:05 PST DETAIL:  The postmaster has commanded this >> server process to roll back the current transaction and exit, because >> another server process exited abnormally and possibly corrupted shared >> memory. >> 2021-01-26 17:25:05 PST HINT:  In a moment you should be able to >> reconnect to the database and repeat your command. >> 2021-01-26 17:25:05 PST WARNING:  terminating connection because of >> crash of another server process >> 2021-01-26 17:25:05 PST DETAIL:  The postmaster has commanded this >> server process to roll back the current transaction and exit, because >> another server process exited abnormally and possibly corrupted shared >> memory. >> 2021-01-26 17:25:05 PST HINT:  In a moment you should be able to >> reconnect to the database and repeat your command. >> 2021-01-26 17:25:05 PST LOG:  all server processes terminated; >> reinitializing >> 2021-01-26 17:25:05 PST LOG:  database system was interrupted; last >> known up at 2021-01-26 17:21:05 PST >> 2021-01-26 17:25:07 PST LOG:  startup process (PID 5376) was terminated >> by exception 0xC000013A >> 2021-01-26 17:25:07 PST HINT:  See C include file "ntstatus.h" for a >> description of the hexadecimal value. >> 2021-01-26 17:25:07 PST LOG:  aborting startup due to startup process >> failure >> >> Can anyone help me fix this so that Postgres will again start as a >> Windows service like it has been for the last 5 years, until last night? >> >> Thank you. >> >> Lisa >> >> >> > > > -- Angular momentum makes the world go 'round.