Hello!
Im trying to run MongoDB on my VPS but a think this is a strange error because it is not recognizing the ‘config’ option.
How to fix this?
Thank you!
Hello!
Im trying to run MongoDB on my VPS but a think this is a strange error because it is not recognizing the ‘config’ option.
How to fix this?
Thank you!
can you show the command that gives you this error as well as the exact error message?
It´s not starting the server, the command is:
ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf
and the --config option is ‘invalid’
that should work, can you give me the version?
/usr/bin/mongod --version
i believe it also accepts the -f syntax so im curious if you’ve tried that?
/usr/bin/mongod --quiet -f /etc/mongod.conf
Hi, it finally works!
changed from ‘–config’ to ‘-f’ and the Mongo started!
Thank you very much!
I’m glad I could help! Have a great weekend
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.