小编Mar*_*Pop的帖子

Brew 服务无法启动

安装后redis,我注意到它们services不处于活动状态,并且我的状态error为:

  • dnsmasq
  • nginx
  • php(即 php8.x)
  • php@7.4
  • redis

我已经尝试了在互联网上找到的所有内容,包括SO,但没有运气。

我试过:

  • 重新安装每个服务
  • launchctl unloadlaunchctl load- ~/Library/LaunchAgents/homebrew.mxcl.dnsmasq.plist(我已经为每项服务尝试过这个)
  • brew doctor说:你的系统已准备好酿造。
  • launchctl enable <service target>

但是,如果我运行除了and (PHP 8.x)sudo brew services list之外的一切正常mysqlphp

当我尝试单独启动每个服务时,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.
Run Code Online (Sandbox Code Playgroud)

我不知道可以尝试什么来启动服务。

任何建议将不胜感激。

谢谢!

更新 - 我刚刚一一删除并重新安装了所有服务,在尝试启动它们时遇到了相同的错误:

Bootstrap failed: 5: Input/output error

Error: Failure …
Run Code Online (Sandbox Code Playgroud)

php homebrew

6
推荐指数
1
解决办法
6740
查看次数

标签 统计

homebrew ×1

php ×1