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 ~]# 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 ~]#
我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)