Hello,
I tried every solution here but I still get the same error when I try to start mongodb-community edition through brew services start mongodb-community
or
brew services restart mongodb-community
or
brew services start mongodb-community@6.0
I deleted the 27017.sock file and tried these things again. At some point I always get the same error when I
brew services list
Name Status User File
mongodb-community error 3584 root ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
And this error while trying to restart.
Error: Failure while executing; /bin/launchctl bootstrap gui/501 /Users/macbook/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
exited with 5.
When I tried to start it “sudo”, I get the error below;
Error: Failure while executing; /bin/launchctl bootstrap system /Library/LaunchDaemons/homebrew.mxcl.mongodb-community.plist
exited with 37.
Can anyone help me on this? This really got my days and I’m frustrated.