[root@iZbp1aed32ln6eZ sbin]# netstat -ntlp|grep 80 tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN 1501/java tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 1501/java tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7225/Nginx: master tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 7036/java [root@iZbp1aed32ln6eZ sbin]# kill -9 7225 [root@iZbp1aed32ln6eZ sbin]# ./Nginx -s reload Nginx: [alert] kill(7225, 1) Failed (3: No such process) [root@iZbp1aed32ln6eZ sbin]# /usr/local/Nginx/sbin/Nginx -c /usr/local/Nginx/conf/Nginx.conf 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() [root@iZbp1aed32ln6eZ sbin]# netstat -ntlp|grep 80 tcp 0 0 127.0.0.1:8005 0.0.0.0:* LISTEN 1501/java tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 1501/java tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7276/Nginx: worker tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 7036/java [root@iZbp1aed32ln6eZ sbin]# killall -9 Nginx [root@iZbp1aed32ln6eZ sbin]# systemctl restart Nginx Failed to restart Nginx.service: Unit not found. [root@iZbp1aed32ln6eZ sbin]# /usr/local/Nginx/sbin/Nginx -c /usr/local/Nginx/conf/Nginx.conf [root@iZbp1aed32ln6eZ sbin]# ./Nginx -s reload
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。