我最近停止了
postgresql数据库(这是完美的工作),几天后,当我尝试启动它时,我得到错误:
2011-01-03 23:56:27 CLST LOG: could not translate host name "localhost",service "5432" to address: Name or service not known 2011-01-03 23:56:27 CLST WARNING: could not create listen socket for "localhost" 2011-01-03 23:56:27 CLST FATAL: could not create any TCP/IP sockets
我正在运行Ubuntu 9.1,而且我正在使用常规
/etc/init.d/postgresql-8.4 start and stop
任何提示?
检查/ etc / hosts上的所有权和权限?
原文链接:https://www.f2er.com/ubuntu/348151.html在配置中指定127.0.0.1以隔离问题.