M
M
MiMarch2017-05-31 14:46:49
MongoDB
MiMarch, 2017-05-31 14:46:49

Why won't mongod start?

Throws the following error.

2017-05-31T14:44:22.746+0300 I CONTROL  [initandlisten] MongoDB starting : pid=23135 port=27017 dbpath=/data/db 64-bit host=MacBook-Pro.local
2017-05-31T14:44:22.747+0300 I CONTROL  [initandlisten] db version v3.4.4
2017-05-31T14:44:22.747+0300 I CONTROL  [initandlisten] git version: 888390515874a9debd1b6c5d36559ca86b44babd
2017-05-31T14:44:22.747+0300 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.2l  25 May 2017
2017-05-31T14:44:22.747+0300 I CONTROL  [initandlisten] allocator: system
2017-05-31T14:44:22.747+0300 I CONTROL  [initandlisten] modules: none
2017-05-31T14:44:22.747+0300 I CONTROL  [initandlisten] build environment:
2017-05-31T14:44:22.747+0300 I CONTROL  [initandlisten]     distarch: x86_64
2017-05-31T14:44:22.747+0300 I CONTROL  [initandlisten]     target_arch: x86_64
2017-05-31T14:44:22.747+0300 I CONTROL  [initandlisten] options: {}
2017-05-31T14:44:22.764+0300 I STORAGE  [initandlisten] exception in initAndListen: 29 Data directory /data/db not found., terminating
2017-05-31T14:44:22.764+0300 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2017-05-31T14:44:22.765+0300 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
2017-05-31T14:44:22.765+0300 I CONTROL  [initandlisten] now exiting
2017-05-31T14:44:22.765+0300 I CONTROL  [initandlisten] shutting down with code:100

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Negwereth, 2017-05-31
@Negwereth

2017-05-31T14:44:22.764+0300 I STORAGE  [initandlisten] exception in initAndListen: 29 Data directory /data/db not found., terminating

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question