赞
踩
尝试在mac的m1版本上进行nginx使用
通过brew安装nginx后,尝试启动nginx总是无效或错误,以下都是无效的指令,不正常的结果,可作为错误判断依据之一:
(base) khunone@wangzhaokundeMacBook-Pro ~ % nginx
zsh: killed nginx
(base) khunone@wangzhaokundeMacBook-Pro ~ % brew services start nginx
Bootstrap failed: 5: Input/output error
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/khunone/Library/LaunchAgents/homebrew.mxcl.nginx.plist` exited with 5.
(base) khunone@wangzhaokundeMacBook-Pro etc % brew services start nginx
Bootstrap failed: 5: Input/output error
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/khunone/Library/LaunchAgents/homebrew.mxcl.nginx.plist` exited with 5.
(base) khunone@wangzhaokundeMacBook-Pro ~ % launchctl load /opt/homebrew/Cellar/nginx/1.21.6_1/homebrew.mxcl.nginx.plist
Load failed: 5: Input/output error
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。