mongodb error: how do I make sure that your journal directory is mounted -


i typed mongod on in mac terminal , got following error:

2015-04-27t22:11:46.471-0400 w -        [initandlisten] detected unclean  shutdown - /data/db/mongod.lock not empty. 2015-04-27t22:11:46.479-0400 storage  [initandlisten] **************  old lock file: /data/db/mongod.lock.  means unclean shutdown, there no journal files recover. human error or filesystem corruption. please make sure journal directory mounted. found 4 dbs. see: http://dochub.mongodb.org/core/repair more information 

how make sure journal directory mounted? solve problem?

you have unclean shutdown. should start mongod --repair option.

mongod --repair 

note after repair need restart mongod