中国真实偷乱视频,东京道一本热中文字幕,久久精品国产99国产精品亚洲,欧美激情一区二区三区在线

Board logo

標(biāo)題: [求助] nginx升級(jí)后出現(xiàn)的問題 (98: Address already in use) [打印本頁]

作者: jwenlee    時(shí)間: 2013-6-10 20:28     標(biāo)題: nginx升級(jí)后出現(xiàn)的問題 (98: Address already in use)

本帖最后由 jwenlee 于 2013-6-10 20:29 編輯

Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
[FAILED]

http://ahbydz.com/bbs/viewthread.php?tid=5976&highlight=nginx 根據(jù)這個(gè)貼的升級(jí)的額。

然后最后顯示上面的一段錯(cuò)誤百度了一下http://hi.baidu.com/hackxiu/item/81c0dac12c0c1156bcef69ca

但還是不行。[root@localhost ~]# killall -9 nginx
nginx: no process killed


[root@localhost ~]# service nginxd restart
Stopping nginx: nginx: [error] open() "/www/wdlinux/nginx-1.4.1/logs/nginx.pid" failed (2: No such file or directory)
[  OK  ]
Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
[FAILED]
[root@localhost ~]#

麻煩大大幫忙看下吧。
作者: admin    時(shí)間: 2013-6-10 20:32

有其它應(yīng)用,占用了80端口
作者: jwenlee    時(shí)間: 2013-6-10 20:37

額。沒在上面安裝別的服務(wù)軟件啊。

[root@localhost ~]# netstat -apn|grep 80  
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      10746/nginx.conf   
tcp        0      0 172.16.36.102:80            172.16.36.252:22939         TIME_WAIT   -                  
tcp        0      0 172.16.36.102:80            172.16.36.252:22329         TIME_WAIT   -                  
tcp        0      0 172.16.36.102:80            172.16.36.252:21777         TIME_WAIT   -                  
tcp        0      0 172.16.36.102:80            172.16.36.252:22007         TIME_WAIT   -                  
tcp        0      0 172.16.36.102:80            172.16.36.252:22155         TIME_WAIT   -                  
tcp        0      0 172.16.36.102:80            172.16.36.252:22248         TIME_WAIT   -                  
tcp        0      0 172.16.36.102:80            172.16.36.252:22633         TIME_WAIT   -                  
tcp        0      0 ::ffff:172.16.36.102:22     ::ffff:61.141.146.213:8094  ESTABLISHED 2519/0              
unix  3      [ ]         STREAM     CONNECTED     5680   1935/hdc            
unix  3      [ ]         STREAM     CONNECTED     4876   1809/hcid           
unix  2      [ ]         DGRAM                    4845   1809/hcid           
[root@localhost ~]#
作者: jwenlee    時(shí)間: 2013-6-10 20:39

回復(fù) 2# admin


   首先要感謝大哥耐心的閱讀!。
作者: jwenlee    時(shí)間: 2013-6-10 20:45

請(qǐng)問下還有解決的方法嗎?
作者: jwenlee    時(shí)間: 2013-6-10 20:47

我kill 10746后
[root@localhost ~]# service nginxd restart
Stopping nginx: nginx: [error] open() "/www/wdlinux/nginx-1.4.1/logs/nginx.pid" failed (2: No such file or directory)
[  OK  ]
Starting nginx: [  OK  ]
[root@localhost ~]#

Stopping nginx: nginx: [error] open() "/www/wdlinux/nginx-1.4.1/logs/nginx.pid" failed (2: No such file or directory)

這個(gè)文件我沒有啊。。。。在哪里有?
作者: jwenlee    時(shí)間: 2013-6-10 20:51

而且我發(fā)現(xiàn)里面有日志文件,好大,十分影響速度。
作者: jwenlee    時(shí)間: 2013-6-10 20:52

菜鳥繼續(xù)在實(shí)踐中學(xué)習(xí)了。。。。。
作者: admin    時(shí)間: 2013-6-11 09:58

你之前沒有啟動(dòng),當(dāng)然沒有那個(gè)文件

日志大,可以刪除的
作者: jwenlee    時(shí)間: 2013-6-24 01:53

回復(fù) 9# admin


   謝謝admin的回復(fù)
作者: zy1995k    時(shí)間: 2015-10-19 09:28

同出現(xiàn)這個(gè)問題,能否告知怎么解決




歡迎光臨 WDlinux官方論壇 (http://ahbydz.com/bbs/) Powered by Discuz! 7.2