$ mongod 2017-07-13T10:52:50.049+0200 I CONTROL [initandlisten] MongoDB starting : pid=7675 port=27017 dbpath=/data/db 64-bit host=iMac-di-Luca.lan 2017-07-13T10:52:50.050+0200 I CONTROL [initandlisten] db version v3.4.6 2017-07-13T10:52:50.050+0200 I CONTROL [initandlisten] git version: c55eb86ef46ee7aede3b1e2a5d184a7df4bfb5b5 2017-07-13T10:52:50.050+0200 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2l 25 May 2017 2017-07-13T10:52:50.050+0200 I CONTROL [initandlisten] allocator: system 2017-07-13T10:52:50.050+0200 I CONTROL [initandlisten] modules: none 2017-07-13T10:52:50.050+0200 I CONTROL [initandlisten] build environment: 2017-07-13T10:52:50.050+0200 I CONTROL [initandlisten] distarch: x86_64 2017-07-13T10:52:50.050+0200 I CONTROL [initandlisten] target_arch: x86_64 2017-07-13T10:52:50.050+0200 I CONTROL [initandlisten] options: {} 2017-07-13T10:52:50.077+0200 I STORAGE [initandlisten] exception in initAndListen: 29 Data directory /data/db not found., terminating 2017-07-13T10:52:50.077+0200 I NETWORK [initandlisten] shutdown: going to close listening sockets... 2017-07-13T10:52:50.077+0200 I NETWORK [initandlisten] shutdown: going to flush diaglog... 2017-07-13T10:52:50.077+0200 I CONTROL [initandlisten] now exiting 2017-07-13T10:52:50.077+0200 I CONTROL [initandlisten] shutting down with code:100