我正在尝试使用 mongoDB MMS 备份功能。尝试在向导的“添加主机”部分进行连接时出现以下错误。
无法在检查间隔内检测到主机。
我的 Windows 7 笔记本电脑上有 MongoDB 2.6.4。我创建了一个具有以下权限的管理员用户:
> db.createUser(
... {
... user: "admin",
... pwd: "xxx"
... roles: [
... "clusterAdmin",
... "readAnyDatabase",
... "dbAdminAnyDatabase",
... "userAdminAnyDatabase"
... ]
... }
... );
我跑mongod --auth
。
现在我尝试使用 MONGODB-CR Auth 机制通过 MMS 连接并得到我上面描述的错误。
在日志中,我收到许多错误,如下所示:
[2014/10/21 09:13:59] [monitoring.info] [monitoring-agent/components/agent.go:551]
Starting 2 marshal handlers
[2014/10/21 09:14:21] [monitoring.error] [monitoring-agent/components/agent.go:314]
Failed to fetch Conf
Failure getting conf. Op: Get Err: dial tcp [I've hide the IP]:443: ConnectEx tcp:
A connection attempt failed because the connected party did not properly respond after
a period of time, or established connection failed because connected host has failed
to respond.
at monitoring-agent/components/conf.go:249
at monitoring-agent/components/agent.go:312
at mongodb.com/monitoring-agent/monitoring-agent-service.go:129
at winsvc/svc/service.go:200
at pkg/runtime/proc.c:1445
使用 Robomongo 0.8.4 客户端,我能够使用用户登录并通过。
我希望 MMS 能够连接到我的本地机器并初始化我机器上的数据库备份。
提前致谢。