[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)错误原因
2015-08-31 09:52
405 查看
nginx重启报错:[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
原因:这个是nginx重启时经常遇到的,这个是nginx重复重启导致自己占用了端口。(一般可能是因为自己设置了开机自动启动,或者重复启动)
解决方法 : killall -9 nginx 杀掉nginx 的进程 然后重启(service nginx restart 或 sudo /usr/local/nginx/sbin/nginx)
原因:这个是nginx重启时经常遇到的,这个是nginx重复重启导致自己占用了端口。(一般可能是因为自己设置了开机自动启动,或者重复启动)
解决方法 : killall -9 nginx 杀掉nginx 的进程 然后重启(service nginx restart 或 sudo /usr/local/nginx/sbin/nginx)
相关文章推荐
- Linux线程-互斥锁pthread_mutex_t http://blog.csdn.net/zmxiangde_88/article/details/7998458
- 减少页面回流与重绘(Reflow & Repaint)
- foxmail邮箱 邮件地址信息 以及邮件内容信息的导入导出
- XML 元素 http://blog.csdn.net/chaiyu2002/article/details/5967186
- xml节点和元素的关系 http://blog.csdn.net/chaiyu2002/article/details/5967186
- foxmail邮件太多,需要经常手工清理邮件怎么办
- UVALive - 2197 Paint the Roads(费用流)
- epoll详细工作原理 http://blog.csdn.net/hdutigerkin/article/details/7517390
- xmlInitParser和xmlCleanupParser使用详解 http://blog.csdn.net/hdutigerkin/article/details/7548596
- libxml读取xml文件的其他方法 http://blog.csdn.net/hdutigerkin/article/details/7547014
- libxml的使用(4)--xpath搜索节点树 http://blog.csdn.net/hdutigerkin/article/details/7546912
- libxml的使用(2)--读取节点属性 http://blog.csdn.net/hdutigerkin/article/details/7546907
- libxml的使用(1)--读取xml http://blog.csdn.net/hdutigerkin/article/details/7546899
- Leetcode #217 Contains Duplicate
- HDU 4458 Shoot the Airplane(计算几何 判断点是否在n边形内)
- ResponderChain note
- 【转载】MFC的Main函数跑哪去了
- TurboMail邮件系统与利郎服装集团合作
- OC之非ARC环境下循环retain问题
- Aircrack-ng之Aireplay-ng命令