当前位置:   article > 正文

在mac的m1版本安装nginx_zsh: killed

zsh: killed

项目场景

尝试在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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/264534
推荐阅读
相关标签
  

闽ICP备14008679号