bind_ip

 

https://docs.mongodb.com/manual/reference/configuration-options/index.html

 

192.168.2.*
2017-11-23T10:27:10.802+0800 I CONTROL  [main] ***** SERVER RESTARTED *****
2017-11-23T10:27:10.817+0800 I CONTROL  [initandlisten] MongoDB starting : pid=21363 port=27017 dbpath=/mnt/mongodb_data/data 64-bit host=hadoop2
2017-11-23T10:27:10.817+0800 I CONTROL  [initandlisten] db version v3.4.7
2017-11-23T10:27:10.817+0800 I CONTROL  [initandlisten] git version: cf38c1b8a0a8dca4a11737581beafef4fe120bcd
2017-11-23T10:27:10.817+0800 I CONTROL  [initandlisten] allocator: tcmalloc
2017-11-23T10:27:10.817+0800 I CONTROL  [initandlisten] modules: none
2017-11-23T10:27:10.817+0800 I CONTROL  [initandlisten] build environment:
2017-11-23T10:27:10.817+0800 I CONTROL  [initandlisten]     distarch: x86_64
2017-11-23T10:27:10.817+0800 I CONTROL  [initandlisten]     target_arch: x86_64
2017-11-23T10:27:10.817+0800 I CONTROL  [initandlisten] options: { config: "/usr/local/mongodb/conf/mongod.conf", net: { bindIp: "192.168.2.*", port: 27017 }, processManagement: { fork: true, pidFilePath: "/usr/local/mongodb/mongo.pid" }, replication: { replSet: "repl_test" }, security: { keyFile: "/usr/local/mongodb/conf/keyFile" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/mnt/mongodb_data/data", directoryPerDB: true }, systemLog: { destination: "file", logAppend: true, path: "/mnt/mongodb_data/log/mongod.log" } }
2017-11-23T10:27:30.855+0800 I NETWORK  [initandlisten] getaddrinfo("192.168.2.*") failed: Temporary failure in name resolution
2017-11-23T10:27:30.855+0800 E NETWORK  [initandlisten] listen(): socket is invalid.
2017-11-23T10:27:30.855+0800 E NETWORK  [initandlisten] Failed to set up sockets during startup.
2017-11-23T10:27:30.855+0800 E STORAGE  [initandlisten] Failed to set up listener: InternalError: Failed to set up sockets
2017-11-23T10:27:30.855+0800 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2017-11-23T10:27:30.855+0800 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
2017-11-23T10:27:30.855+0800 I CONTROL  [initandlisten] now exiting
2017-11-23T10:27:30.855+0800 I CONTROL  [initandlisten] shutting down with code:48

 

posted @ 2017-11-23 10:30  papering  阅读(370)  评论(0编辑  收藏  举报