metasploit start postgresql service

service postgresql start
[....] Starting PostgreSQL 9.1 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2015-02-07 18:52:12 CST LOG: could not translate host name "localhost", service "5432" to address: Name or service not known 2015-02-07 18:52:12 CST WARNING: could not create listen socket for "localhost" 2015-02-07 18:52:12 CST FATAL: could not create any TCP/IP sockets .[F failed!
 failed!

/etc/hosts 

add "127.0.0.1 localhost"

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。