【发布时间】:2021-09-15 16:27:22
【问题描述】:
安装redis 后,我注意到services 未激活,我的error 状态为:
dnsmasqnginx-
php(即php8.x) php@7.4redis
我已经尝试了我在互联网上找到的所有内容,包括 SO,但没有运气。
我试过了:
- 重新安装每个服务
-
launchctl unload和launchctl load-~/Library/LaunchAgents/homebrew.mxcl.dnsmasq.plist(我已经为每项服务都试过了) -
brew doctor说:您的系统已准备就绪。 launchctl enable <service target>
但是,如果我运行 sudo brew services list 一切正常,除了 mysql 和 php (PHP 8.x)
当我尝试使用 brew services start SERVICE NAME 单独启动每个服务时,我收到以下错误。这是php
Bootstrap failed: 5: Input/output error
Error: Failure while executing; `/bin/launchctl bootstrap gui/501
/Users/mvpop/Library/LaunchAgents/homebrew.mxcl.php.plist` exited with 5.
我想尽了办法才能启动服务。
任何建议将不胜感激。
谢谢!
更新 - 我刚刚删除并重新安装了所有服务,尝试启动它们时出现相同的错误:
Bootstrap failed: 5: Input/output error
Error: Failure while executing; `/bin/launchctl bootstrap gui/501
/Users/mvpop/Library/LaunchAgents/homebrew.mxcl.php.plist` exited with 5.
【问题讨论】: