|
|
CentOS 6 x86系统
应该是apache2的锅,可就关不掉
[root@dd ~]# service httpd stop
Stopping httpd: [ OK ]
[root@dd ~]# sudo service nginx start
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@dd ~]# netstat -ltunp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1068/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1277/sendmail
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1468/httpd
tcp 0 0 :::22 :::* LISTEN 1068/sshd
[root@dd ~]# /etc/init.d/apache2 stop
-bash: /etc/init.d/apache2: No such file or directory
[root@dd ~]# sudo /etc/init.d/apache2 stop
sudo: /etc/init.d/apache2: command not found
|
|