May be it is a permissions issue
mongodb is unable to access dbpath & logpath directories
Does the owner of mongod have read/write privs on these dirs

For test purpse you can change db & log path to some other dir like your home dir and check

1 Like