小编Sid*_*don的帖子

ubuntu 20.04 上的 Postgres 12(复制检查点有错误的魔法 539122744 而不是 307747550)

在带有 Postgres 12 服务器的 ubuntu 20.04 中,HD 出现问题后,Postgres 停止工作。下面是我的测试和解决问题的尝试:

\n
~$ psql\npsql: error: could not connect to server: No such file or directory\n        Is the server running locally and accepting\n        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?\n
Run Code Online (Sandbox Code Playgroud)\n

当我尝试 systemctl 时:

\n
$ sudo systemctl start postgresql@12-main\nJob for postgresql@12-main.service failed because the service did not take the steps required by its unit configuration.\nSee "systemctl status postgresql@12-main.service" and "journalctl -xe" for details.\n
Run Code Online (Sandbox Code Playgroud)\n

systemctl status postgresql@12-main.service 的输出:

\n
$ systemctl status postgresql@12-main.service\n\xe2\x97\x8f …
Run Code Online (Sandbox Code Playgroud)

postgresql 20.04

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

20.04 ×1

postgresql ×1