If you are getting these type of errors when running mongod from command line or running mongodb server,
then follow these steps,
- Create db and log directories in C: drive
C:/data/db and C:data/log
- Create an empty log file in log dir named mongo.log
- Run mongod from command line to run the mongodb server or create a batch file on desktop which can run the mongod.exe file from your mongodb installation direction. That way you just have to click the batch file from your desktop and mongodb will start.
- If you have 32-bit system, try using --journal with mongod command.