首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >mongodb无法打开?

mongodb无法打开?

提问于 2018-10-24 11:28:39
回答 0关注 0查看 789

mongod 一直没法执行,看上去是端口被占用了。但是我换了很多端口,都一样

ubuntu@VM-147-129-ubuntu:~/zbmate_bigdata$ mongod --config db/vendor_db.conf &

[1] 16821

ubuntu@VM-147-129-ubuntu:~/zbmate_bigdata$ 2018-10-24T11:25:13.860+0800 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'

about to fork child process, waiting until server is ready for connections.

forked process: 16823

ERROR: child process failed, exited with error number 1

To see additional information in this output, start without the "--fork" option.

[1]+ Exit 1 mongod --config db/vendor_db.conf

ubuntu@VM-147-129-ubuntu:~/zbmate_bigdata$ cat /var/zbmatebi_bigdata/logs/mongodb.log

2018-10-24T11:06:39.549+0800 I CONTROL [initandlisten] MongoDB starting : pid=15768 port=50020 dbpath=/var/zbmatebi_bigdata/database 64-bit host=VM-147-129-ubuntu

2018-10-24T11:06:39.549+0800 I CONTROL [initandlisten] db version v4.0.3

2018-10-24T11:06:39.549+0800 I CONTROL [initandlisten] git version: 7ea530946fa7880364d88c8d8b6026bbc9ffa48c

2018-10-24T11:06:39.549+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016

2018-10-24T11:06:39.549+0800 I CONTROL [initandlisten] allocator: tcmalloc

2018-10-24T11:06:39.549+0800 I CONTROL [initandlisten] modules: none

2018-10-24T11:06:39.549+0800 I CONTROL [initandlisten] build environment:

2018-10-24T11:06:39.549+0800 I CONTROL [initandlisten] distmod: ubuntu1404

2018-10-24T11:06:39.549+0800 I CONTROL [initandlisten] distarch: x86_64

2018-10-24T11:06:39.549+0800 I CONTROL [initandlisten] target_arch: x86_64

2018-10-24T11:06:39.549+0800 I CONTROL [initandlisten] options: { config: "db/vendor_db.conf", net: { bindIp: "localhost,10.141.147.129,139.199.128.118", port: 50020 }, processManagement: { fork: true }, security: { authorization: "enabled" }, storage: { dbPath: "/var/zbmatebi_bigdata/database" }, systemLog: { destination: "file", logAppend: false, path: "/var/zbmatebi_bigdata/logs/mongodb.log" } }

2018-10-24T11:06:39.550+0800 E STORAGE [initandlisten] Failed to set up listener: SocketException: Cannot assign requested address

2018-10-24T11:06:39.550+0800 I CONTROL [initandlisten] now exiting

2018-10-24T11:06:39.550+0800 I CONTROL [initandlisten] shutting down with code:48

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档