添加bindIp时破坏MongoDB失败

时间:2018-09-18 13:46:53

标签: mongodb

我添加了

  

bindIp:127.0.0.1,37.139.16.70

在我的mongodb.conf中,启动时出现此错误:

● mongod.service - MongoDB Database Server
   Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2018-09-18 13:44:04 UTC; 620ms ago
     Docs: https://docs.mongodb.org/manual
  Process: 9799 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=exited, status=48)
 Main PID: 9799 (code=exited, status=48)

Sep 18 13:44:04 mongodb-clust-s-1vcpu-1gb-ams2-03 systemd[1]: Started MongoDB Database Server.
Sep 18 13:44:04 mongodb-clust-s-1vcpu-1gb-ams2-03 mongod[9799]: 2018-09-18T13:44:04.834+0000 I CONTROL  [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
Sep 18 13:44:04 mongodb-clust-s-1vcpu-1gb-ams2-03 systemd[1]: mongod.service: Main process exited, code=exited, status=48/n/a
Sep 18 13:44:04 mongodb-clust-s-1vcpu-1gb-ams2-03 systemd[1]: mongod.service: Failed with result 'exit-code'.

0 个答案:

没有答案