Error - mongod shell doesn't start, /data/db doesn't exsist
If you face this error while starting MongoDB (mongod), most probably there are 2 reasons for this -
a. /data/db is not exist at all
b. mongod process don't have access on /data/db
Solution :-
The default db path for mongodb is /data/db/.
So when you run:
