小编Jin*_*Lim的帖子

Postgresql 10 和 Ubuntu - 无法启动 postgresql 服务器

有一天,我的 Postgresql 服务器停止工作。检查日志。它以某种方式关闭了。

\n\n
root@ip_address:/# tail /var/log/postgresql/postgresql-10-main.log\n2020-02-19 06:47:49.215 CET [23497] LOG:  received smart shutdown request\n2020-02-19 06:47:49.477 CET [23497] LOG:  worker process: logical replication launcher (PID 23512) exited with exit code 1\n2020-02-19 06:47:49.482 CET [23507] LOG:  shutting down\n2020-02-19 06:47:49.546 CET [23497] LOG:  database system is shut down\n
Run Code Online (Sandbox Code Playgroud)\n\n

当我跑步时,

\n\n
root@ip_address:/# psql\npsql: 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\n

它抱怨没有文件和目录。所以我检查了我是否postgresql跑步。

\n\n
root@ip_address:/# …
Run Code Online (Sandbox Code Playgroud)

postgresql ubuntu

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

标签 统计

postgresql ×1

ubuntu ×1