I tried to install mongoDB on my macbook air.
I\'ve downloaded zipped file from official website and extract that file and move to root directory. After that, under
Generally, this error comes when the mongod.conf file is not able to find a certain path for Database store or log store or maybe processid store or maybe it's not getting the file permission to access the config directories and files which has been declared in mongod.conf
to resolve this error we need to observe the log generated by the MongoDB it will clearly indicate whether which file or directory you MongoDB is not able to access
the above error may look like below screenshot