PostgreSQL service fails to start and reports the error "Bogus data in lock file postmaster.pid"

Created by NHC IT Support, Modified on Mon, 24 Jul, 2023 at 8:06 AM by NHC IT Support


Problem

PostgreSQL service fails to start and reports the following error:

Error Message

Bogus data in lock file postmaster.pid

Cause

Unexpected server reboot or database shutdown could corrupt this file

Solution

Remove or rename the postmaster.pid file from <Storage>\databases\pddb\data\ start the postgresql service again.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article