在 Ubuntu 16.04 中无法再将 postgresql 作为服务运行

在 Ubuntu 16.04 中无法再将 postgresql 作为服务运行

今天我打开电脑时,postgresql 服务突然无法启动。自从我安装以来,它一直运行良好。以用户 postgres 身份运行以下命令,它运行正常

/usr/lib/postgresql/9.5/bin/pg_ctl -D /var/lib/postgresql/9.5/main -l 日志文件启动

但它不再作为服务启动,postgresql 或 syslog 中没有任何日志记录。在没有任何日志记录的情况下,我该如何排除故障?

相关内容