'Postgresql "Cluster is not running" after running for a while
I set up a postgresql db on azure VM, Ubuntu server 18.04. but it goes down after running for a while without any other error message.
Here is what I got from sudo systemctl status [email protected]
Feb 18 08:08:52 server crontab[17689]: (postgres) LIST (postgres)
Feb 18 08:08:52 server crontab[17692]: (postgres) LIST (postgres)
Feb 18 08:08:52 server crontab[17695]: (postgres) LIST (postgres)
Feb 18 08:08:52 server crontab[17697]: (postgres) REPLACE (postgres)
Feb 18 08:08:52 server crontab[17698]: (postgres) LIST (postgres)
Feb 18 08:08:52 server crontab[17700]: (postgres) REPLACE (postgres)
Feb 18 08:08:52 server crontab[17701]: (postgres) LIST (postgres)
Feb 18 08:08:53 server postgresql@10-main[17704]: Cluster is not running.
Feb 18 08:08:53 server systemd[1]: [email protected]: Control process exited, code=exited status=2
Feb 18 08:08:53 server systemd[1]: [email protected]: Failed with result 'exit-code'.
sudo systemctl restart postgresql.service may temporarily resolve this problem, but may reoccur after a while.
Does anyone face the same issue? Any advice?
Thank you.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
