Score:0

Can't get postgresql 12 to start as service

in flag

Found this error: /var/run/postgresql/12-main.pg_stat_tmp/global.tmp": No such file or directory

Manually creating I can start Postgresql, but has to be recreated every reboot.

This is after a recent upgrade to postgresql 12.

Any help is appreciated.

vidarlo avatar
ar flag
You should possibly include a bit more information about your environment.
Score:0
br flag

We had this problem and it turned out that /etc/postgresql/main/12/start.conf was set to "manual". Changing it to "auto" and rebooting allowed it to start automatically with no intervention. More details are in this thread: https://postgrespro.com/list/thread-id/2469959

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.