Fix: “Postmaster Running” Error During PostgreSQL Upgrade
Error:
Upgrading PostgreSQL can sometimes be tricky — especially when moving between major versions like PostgreSQL 14 to 15. One common issue many DBAs face is the error:
“There seems to be a postmaster servicing the new cluster. Please shutdown that postmaster and try again.”
There seems to be a postmaster servicing the new cluster. Please shutdown that postmaster and try again. Failure, exiting
1 . stop the old PostgreSQL 14 service
To ensure no cluster is running during the upgrade:
2 . Double-check no PostgreSQL processes are running
If you still see any postgres process (for version 14 or 15), kill them manually:
3 . Now re-run your pg_upgrade command
Once both clusters are stopped, run the same command again:
Conclusion
Archive Mode in PostgreSQL is more than just a backup feature — it’s the foundation of a reliable recovery strategy. Whether you’re learning through a PostgreSQL Course, practicing via a PostgreSQL Learn Online module, or advancing your skills to Learn PostgreSQL DBA, mastering this configuration ensures your data remains safe, consistent, and recoverable at all times.
Continuous learning and hands-on implementation are key to becoming a confident PostgreSQL professional.
At Learnomate Technologies, we make sure you not only understand such cutting-edge features but also know how to implement them in real-world projects. Whether you’re a beginner looking to break into the database world or an experienced professional upgrading your skillset—we’ve got your back with the most practical, hands-on training in Oracle technologies.
Want to see how we teach? Head over to our YouTube channel for insights, tutorials, and tech breakdowns:
www.youtube.com/@learnomate
To know more about our courses, offerings, and team: Visit our official website:
www.learnomate.org
Let’s connect and talk tech! Follow me on LinkedIn for more updates, thoughts, and learning resources:
https://www.linkedin.com/in/ankushthavali/
If you want to read more about different technologies, Check out our detailed blog posts here:
https://learnomate.org/blogs/
Let’s keep learning, exploring, and growing together. Because staying curious is the first step to staying ahead.
Happy learning!
ANKUSH





