新装的postgresql在第一次启动时可能会遇到错误,日志中的记录是:

could not create listen socket for "localhost"  

  到/etc/hosts文件中添加一行:

0.0.0.0         localhost  

   然后尝试再次启动postgresql。

相关文章:

  • 2022-12-23
  • 2021-12-19
  • 2021-06-25
  • 2022-12-23
  • 2021-05-01
  • 2021-08-09
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-06
  • 2021-09-07
  • 2021-05-02
  • 2021-04-22
相关资源
相似解决方案