Installation mac os exitCode 100

If you run just mongod without any params it tries to bring up mongod on default port and default dirpath-/data/db
In new versions of Macos access to /data/db is restricted
Also did you create logpath dir and given necessary permissions?

So try this
mongod --dbpath your_dbpath --logpath your_logpath --fork

Please check mongo doc for different options

3 Likes