0
0条评论

[root@VM_0_3_centos ~]# mongod
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] MongoDB starting : pid=16328 port=27017 dbpath=/data/db 64-bit host=VM_0_3_centos
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] db version v3.4.10
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] allocator: tcmalloc
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] modules: none
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] build environment:
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] distmod: rhel70
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] distarch: x86_64
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] target_arch: x86_64
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] options: {}
2017-11-13T14:41:27.403+0800 I STORAGE [initandlisten] exception in initAndListen: 29 Data directory /data/db not found., terminating
2017-11-13T14:41:27.403+0800 I NETWORK [initandlisten] shutdown: going to close listening sockets…
2017-11-13T14:41:27.403+0800 I NETWORK [initandlisten] shutdown: going to flush diaglog…
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] now exiting
2017-11-13T14:41:27.403+0800 I CONTROL [initandlisten] shutting down with code:100