加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Metasploit Framework 安装失败pgsql could not connect 7337 10

发布时间:2020-12-13 17:50:04 所属栏目:百科 来源:网络整理
导读:Q:在中文Win7上安装Metasploit Framework 3.5.2失败,错误类似:Error running C:Program FilesRapid7framework/postgresql/bin/psql.exe -U postgres -p 7175 -h localhost -c "ALTER USER postgres PASSWORD '1aeed8e3'"could not connect to server: Co
Q:

在中文Win7上安装Metasploit Framework 3.5.2失败,错误类似:

Error running C:Program FilesRapid7framework/postgresql/bin/psql.exe -U postgres -p 7175 -h localhost -c "ALTER USER postgres PASSWORD '1aeed8e3'"

could not connect to server: Connection refused (0x0000274D/10061)

用TCPView查看,发现没有进程侦听7175/TCP,而上述命令显然需要连接此端口。看
上去是framework-3.5.2.exe在执行过程中没有正确启动数据库服务。

A: HD Moore <hdm@digitaloffense.net> 2010-11-29

在非英文Windows上安装Metasploit Framework 3.5.2时会碰上此问题。PostgreSQL
的缺省locale与SQL_ASCII语句不兼容。

可以"控制面板->区域和语言->格式->英语(美国)",然后执行framework-3.5.2.exe。
安装结束后再改回"中文(简体,中国)"。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读