pg_ctl.exe file deleted automatically

Started by Joel Mariadasan (jomariad)about 5 years ago3 messages

Hi,

We are using Windows 2019 server.

Sometimes we see the pg_ctl.exe getting automatically deleted.
Due to this, while starting up Postgres windows service we are getting the error.
"Error 2: The system cannot find the file specified"

Can you let us know the potential causes for this pg_ctl.exe file deletion?

Regards,
Joel

#2Craig Ringer
craig.ringer@enterprisedb.com
In reply to: Joel Mariadasan (jomariad) (#1)
Re: pg_ctl.exe file deleted automatically

On Thu, 3 Dec 2020, 13:06 Joel Mariadasan (jomariad), <jomariad@cisco.com>
wrote:

Hi,

We are using Windows 2019 server.

Sometimes we see the *pg_ctl.exe* getting automatically deleted.

Due to this, while starting up Postgres windows service we are getting the
error.

“Error 2: The system cannot find the file specified”

Can you let us know the potential causes for this pg_ctl.exe file deletion?

PostgreSQL will never delete pg_ctl.exe

Check your antivirus software logs for false positives.

This mailing list is for software development on postgres so I suggest
following up on pgsql-general.

Show quoted text

Joel

In reply to: Craig Ringer (#2)
RE: pg_ctl.exe file deleted automatically

We can confirm that the file is not deleted by antivirus.

When windows is shutdown abruptly, we are noticing this issue.
We will post this query in pgsql-general and check if someone else has encountered the same issue.

Regards,
Joel
From: Craig Ringer <craig.ringer@enterprisedb.com>
Sent: 03 December 2020 19:14
To: Joel Mariadasan (jomariad) <jomariad@cisco.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>; Tejaswini L (tlingach) <tlingach@cisco.com>; Balakumaran Swaminathan (balsamin) <balsamin@cisco.com>
Subject: Re: pg_ctl.exe file deleted automatically

On Thu, 3 Dec 2020, 13:06 Joel Mariadasan (jomariad), <jomariad@cisco.com<mailto:jomariad@cisco.com>> wrote:
Hi,

We are using Windows 2019 server.

Sometimes we see the pg_ctl.exe getting automatically deleted.
Due to this, while starting up Postgres windows service we are getting the error.
“Error 2: The system cannot find the file specified”

Can you let us know the potential causes for this pg_ctl.exe file deletion?

PostgreSQL will never delete pg_ctl.exe

Check your antivirus software logs for false positives.

This mailing list is for software development on postgres so I suggest following up on pgsql-general.
Joel