I'm newer to mongode, I use shell to start mongodb service but failed and get following error. What should I do?
mongod log enter image description here
mongo log
MongoDB shell version v3.4.4 connecting to: mongodb://127.0.0.1:27017 2017-05-07T07:59:40.141+1000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused 2017-05-07T07:59:40.142+1000 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed : connect@src/mongo/shell/mongo.js:237:13 @(connect):1:6 exception: connect failed
mongod, you should see this:2017-05-06T15:18:51.840-0700 I NETWORK [thread1] waiting for connections on port 27017Do you see that? If not is there something about /data/db?