How to fix /data/db error path

vagrant@m103:~$ validate_lab_launch_mongod
You need to specify db path /data/db.

How to fix it.?

Hi Nagesh_46115,

The error suggests that you need to specify db path in mongod configuration file which you must have created or edited. In case you are running from command line, then mention dbpath in that too.

For safe side, stop all mongod processes running and run mongod with the required parameters like dbPath.

Kanika