我已经使用 nginx 几个月没有问题,但是在升级到 Mac OS X 10.9 Mavericks 之后,当我尝试启动 nginx 时,我得到了这个:
nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
nginx: [emerg] still could not bind()
我尝试按照这些指示进行操作,但运气不佳,因为我的输出看起来有点不同。
输出:
ps ax -o pid,ppid,%cpu,vsz,wchan,command|egrep '(nginx|PID)'
是:
PID PPID %CPU VSZ WCHAN COMMAND
15015 12765 0.0 2432784 - egrep (nginx|PID)
我已经尝试使用该 PID 杀死进程,但它似乎永远不会死......关于如何让 nginx 再次运行的任何想法?任何帮助是极大的赞赏!!