Validation Script says you need to specify the dbpath as /data/db

I am getting the error you need to specify db path /data/db, Even after i specified it !

You need to specify dbpath when you start mongod, not when you start the validation script. The validation script takes no argument.

1 Like

Still i am getting error

Hi @manjugmit,

As I can see in the screenshot, you have specified the --dbpath as data/db rather than /data/db/. Please change it. There is a difference between these two directories. Please refer this post for more information on this.

Hope it helps!

Please let me know if you have any other questions.

Shubham Rajan
Curriculum Support Engineer