运行brew services start mongodb-community
会产生以下结果:
Bootstrap failed: 5: Input/output error
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/<myUserName>/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist` exited with 5.
当我运行launchctl load -w /Users/<myUserName>/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
时
收益率
Load failed: 5: Input/output error
我最近将macOs升级到了BigSur 11.5.2。
我卸载并重新安装了homebrew和xcode。
发布于 2021-08-31 02:57:31
尝尝这个
brew services restart <mongodb-community@4.4>
发布于 2021-09-07 19:17:04
我可以通过自制软件运行mongodb。我相信这解决了我的问题:
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
紧接着是
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
发布于 2021-09-21 07:15:15
我在MySQL上看到了这个问题,解决方案是我当前的配置文件不是我的自制文件夹的所有者。
我不得不更改它,因为我为另一个工作空间设置了第二个配置文件,但它们共享相同的自制路径。
我建议任何看到这个错误的人尝试运行
sudo chown -R $(whoami) $(brew --prefix)/*
然后看看这是否能解决这个问题。同样,我在MongoDB上没有这个问题,但是当我的配置文件不拥有brew文件夹时,我在MySQL上看到了这个确切的错误。
https://stackoverflow.com/questions/68975769
复制相似问题