Unable to create new server instance


I’m unable to create new server instance for, Please see below and suggest .

mkdir new_mongod

mongod --port 27019 --dbpath new_mongod/data/db/ --logpath new_mongod/mongod.log --fork

Can I see dbpath and logpath physically in local system?


Hi @Abir_19748,

You need to make sure that the directory passed in dbpath - new_mongod/data/db/ exists.

If not, please create it first.

Also, you can always check the log file contents for the error message to debug better.

Please let me know if you need further assistance.