Unable to modify /etc/mongo.conf

I am trying to modify the config file with “mongod --conf /etc/mongod.conf” which gives me the following error:

vagrant@m103:~ mongod -f /etc/mongod.conf Aborted (core dumped) vagrant@m103:~

You don’t modify configfile with mongod
Probably you meant i am trying to run mongod with modified configfile

Error 1 means missing dirs,wrong permissions or another mongod running on same port

Please check mongod.log and review your config file again

Hi @Nima_Daneshvar_33820,

I hope you found @Ramachandra_37567’s response helpful.

Were you able to resolve your issue ?

~ Shubham