FATAL: lock file "postmaster.pid" already exists

From: deepak <deepak(dot)pn(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: FATAL: lock file "postmaster.pid" already exists
Date: 2012-05-07 22:34:02
Message-ID: CAALYute19vwQ-TzhhiFDAY7_H9U6Y5MEarxwX8cZ8ht=iXrHvA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On Windows 2008, sometimes the server fails to start due to an existing
"postmaster.pid' file.

I tried rebooting a few times and even force shutting down the server, and
it started up fine.
It seems to be a race-condition of sorts in the code that detects whether
the process with PID
in the file is running or not.

Does any one have this same problem? Any way to fix it besides removing
the PID file
manually each time the server complains about this?

Thanks,
Deepak

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Clemens Eisserer 2012-05-08 06:52:37 Re: Is there a tool for checking database integrity
Previous Message John R Pierce 2012-05-07 20:52:04 Re: Use LISTEN/NOTIFY between different databases