Please note MongoDB needs data directory to store data. Default path is as follows:
/data/db
When you try to start MongoDB engine it generaly searches this directory which must be missing in your case. So the smple Solution is to create this directory and assign the rwx permission to user.
If you want to update the path of your data directory then you must specify it while starting mongod server like as follows
mongod --dbpath /data/<path> --port <port no>
This change will help you to start your mongod server with custom path and port.