Mongodb 彩信无法连接到本地计算机进行备份

Mongodb 彩信无法连接到本地计算机进行备份,mongodb,mongodb-mms,Mongodb,Mongodb Mms,我正在尝试使用mongoDB彩信备份功能。在向导的“添加主机”部分尝试连接时,我遇到以下错误 无法在检查间隔内检测主机。 我在Windows7笔记本电脑上安装了MongoDB 2.6.4。我已创建具有以下权限的管理员用户: > db.createUser( ... { ... user: "admin", ... pwd: "xxx" ... roles: [ ... "clusterAdmin", ... "readAnyDatabase", ... "dbAdminAnyDatabas

我正在尝试使用mongoDB彩信备份功能。在向导的“添加主机”部分尝试连接时,我遇到以下错误

无法在检查间隔内检测主机。

我在Windows7笔记本电脑上安装了MongoDB 2.6.4。我已创建具有以下权限的管理员用户:

> db.createUser(
... {
... user: "admin",
... pwd: "xxx"
... roles: [
... "clusterAdmin",
... "readAnyDatabase",
... "dbAdminAnyDatabase",
... "userAdminAnyDatabase"
... ]
... }
... );
我运行
mongod--auth

现在,我尝试使用MONGODB-CR身份验证机制通过彩信进行连接,并得到上面描述的错误

在日志中,我发现了许多错误,如下所示:

[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能够连接到我的本地计算机,并初始化计算机上的数据库备份


提前感谢。

我在配置mongodb彩信时出现此错误。在我的Ops Manager服务器上,我正确配置了TLS连接,但在被监视的mongo服务器上,我的TLS证书不正确。我试图监视的代理上的日志
/var/log/mongodb mms automation/monitoring agent.log
帮助我解决了以下问题:

[2020/04/26 02:05:47.363] [discovery.collector-mongo2:27017.error] [components/discovery.go:contexts:580] Discovery commands requiring authentication will be skipped.
Failed to get connectionStatus. Err: `auth error: round trip error: (UserNotFound) Could not find user "CN=mms,OU=TestClientCertificateOrgUnit,O=TestClientCertificateOrg,L=TestClientCertificateLocality,ST=TestClientCertificateState,C=US" for db "$external"`
        at monitoring-agent/components/dialing.go:442
        at monitoring-agent/components/dialing.go:200
        at monitoring-agent/components/dialing.go:306
        at monitoring-agent/components/dialing.go:323
        at louisaberger/procexec/concurrency.go:45
        at src/runtime/asm_amd64.s:1357

请参阅添加您的
mms
用户,以便用户能够正确地进行身份验证(或者修复您的证书,如果只是混淆).

您是否检查了代理是否在本地计算机上正常运行?根据错误
无法获取Conf
,MMS备份代理似乎无法连接到MMS.mongodb.com以获取其配置。我会检查您是否在代理配置中输入了正确的
mmsApiKey
。如果您可以通过彩信群的链接发表评论,MongoDB支持团队的一名成员也可以查看您的群。