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 1kpCks-00083z-9U for pgsql-general@arkaria.postgresql.org; Tue, 15 Dec 2020 16:00:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kpCkq-00086g-VT for pgsql-general@arkaria.postgresql.org; Tue, 15 Dec 2020 16:00:48 +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 1kpCkq-00086X-LS for pgsql-general@lists.postgresql.org; Tue, 15 Dec 2020 16:00:48 +0000 Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kpCkm-0004Br-M3 for pgsql-general@lists.postgresql.org; Tue, 15 Dec 2020 16:00:47 +0000 Received: by mail-oi1-x229.google.com with SMTP id l200so23803329oig.9 for ; Tue, 15 Dec 2020 08:00:44 -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-language; bh=otO8/b1rO7bR9j3uJlW1gLbM0WFKfVTvgU0ZMRL10ZU=; b=MpiQKNBXZFh/eRsBYXuHHh+oRmQpn1AcR+Q4iWO9Tcw6oE3pY+6bNYZT6ve1P9XIs2 LR1XIPhKQZ8ahJ4kw+17vQqtEcjpSm5hXvLmgQanL4dDAZU067D5Y48C65bxeVHJL+/7 l5tqtaeQ2r1ZZvLTlr5qVOZ7LWFD+6ZzcbCw3voY5P63t48fcaaZbetdPn3ZSVAe9KcW e3xgv3RmBTahVqaKGCPU4/PRrArn4TSw39cubCZz4rtoqIfgapTZwsEoJufQ1Jjm+ltB ASDy0XcpQHCA0t8aEGGRm75gu8pXjSznxCbdcxK13TNcgpPh6KVD8e5dmDu6K/RU13zT D7gA== 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-language; bh=otO8/b1rO7bR9j3uJlW1gLbM0WFKfVTvgU0ZMRL10ZU=; b=Vjf+fU08EWlsL+lIFOO71/0LfvY1Wk+wzNgCsMqFbI7f8DvjN1r/Xhr0ThzSB06g44 11AhHztv4QODYgtfhni/+vIdbSjDCOqtebySUY9oSzzEFCBea998nXEUofC3uWIVwn8P wso7rEiRAAyc3G+UzFiTfVT4pR9UfzoxBFaIR6uhwMdJw2PR6wIsbS/Aojc0TvDqbs3T eT9+l5mSYGit+BrWtJ7RcUtDGs3RXYHcIjLzyX24B0YhBCKcPDfsnuIWg5+LbziqqcdI GUA6yPbABH3TFtLiDgPN0m+UPq+xzWn9O8IrwlgrwBXFqOxT5G6tBMWI6HfNbZxp+QzU 16UQ== X-Gm-Message-State: AOAM533XXwD0b3fAfp+UVZ2EK6JD5cCJccuTsT4o8Fi211z5zKROWzbL uvp02G0suBKpJltarwposP93xcoRclCk4A== X-Google-Smtp-Source: ABdhPJwHwmmWpgVfarQEGLN6+Hd3CitAbW9BUICqWnvg/rIxTzDKDSxj3FVKAboLS6TKQNzkQlAdOw== X-Received: by 2002:aca:b1c3:: with SMTP id a186mr21941447oif.8.1608048043397; Tue, 15 Dec 2020 08:00:43 -0800 (PST) Received: from [192.168.1.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id f25sm2135210oou.39.2020.12.15.08.00.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Dec 2020 08:00:42 -0800 (PST) Subject: Re: pg_ctl.exe deleted on abrupt shutdown of Windows To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: Date: Tue, 15 Dec 2020 10:00:40 -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: Content-Type: multipart/alternative; boundary="------------A07DB796D0868BE4F5C43591" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------A07DB796D0868BE4F5C43591 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 12/15/20 4:44 AM, Joel Mariadasan (jomariad) wrote: > > Team, > > After abrupt shutdown of Windows, we are seeing the pg_ctl.exe file > getting deleted automatically. > Maybe English is your second language, but "we are seeing" means that Windows regularly shuts down, and deletes pg_ctl.exe every time.  Therefore, you must be reinstalling pg_ctl.exe every time. > Due to this Postgres service cannot be started and need to be re-installed. > > We have checked the antivirus and confirmed that it didn’t delete the file. > > Can you let us know if anyone has observed the file getting deleted upon > abrupt shutdown of Windows? > *Only* pg_ctl.exe gets deleted?  Anyway, there's nothing in Postgres that says "delete pg_ctl.exe on startup". This smells strongly of filesystem corruption which requires a Windows guru. -- Angular momentum makes the world go 'round. --------------A07DB796D0868BE4F5C43591 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 12/15/20 4:44 AM, Joel Mariadasan (jomariad) wrote:

Team,

 

After abrupt shutdown of Windows, we are seeing the pg_ctl.exe file getting deleted automatically.


Maybe English is your second language, but "we are seeing" means that Windows regularly shuts down, and deletes pg_ctl.exe every time.  Therefore, you must be reinstalling pg_ctl.exe every time.

Due to this Postgres service cannot be started and need to be re-installed.

 

We have checked the antivirus and confirmed that it didn’t delete the file.

Can you let us know if anyone has observed the file getting deleted upon abrupt shutdown of Windows?


Only pg_ctl.exe gets deleted?  Anyway, there's nothing in Postgres that says "delete pg_ctl.exe on startup".

This smells strongly of filesystem corruption which requires a Windows guru.

--
Angular momentum makes the world go 'round.
--------------A07DB796D0868BE4F5C43591--