I have tried the “brew services list” and all my programs have the status ‘none’.
I have checked with “cat mongod.conf” and I have that
systemLog:
destination: file
path: /usr/local/var/log/mongodb/mongo.log
logAppend: true
storage:
dbPath: /usr/local/var/mongodb
net:
bindIp: 127.0.0.1
So I have tried with this data with “mongod --port 29000 --dbpath /usr/local/var/mongodb --logpath /usr/local/var/log/mongodb/mongo.log --fork” and other ports and I have the same error.
The instruction I have folllowed are here : https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/
I have made
xcode-select --install
brew tap mongodb/brew
brew update
brew install mongodb-community@7.0
And after the command “mongod --config /usr/local/etc/mongod.conf --fork”
I have tried with “brew services start mongodb-community@7.0” just to see after if with “brew services list” I see mongodb is actived and I have a status error (even if in the message in the terminal just after the “brew services start mongodb” I had a “Successfully started mongodb-community
(label: homebrew.mxcl.mongodb-commu”). I don’t know if is normal.