安装postgres启动之后status是fail

Posted jasper-changing

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装postgres启动之后status是fail相关的知识,希望对你有一定的参考价值。

技术图片

 

 

解决方案:

/etc/hosts/etc/hosts文件中加下面这句

127.0.0.1   localhost localhost.localdomain

 

然后

sudo systemctl restart postgresql-10

sudo systemctl status postgresql-10

以上是关于安装postgres启动之后status是fail的主要内容,如果未能解决你的问题,请参考以下文章