Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>
[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
Similar Posts:
- nginx: [emerg] getpwnam(“nginx”) failed [How to Fix]
- Nginx Error: Job for nginx.service failed because the control process exited with error code
- Nginx Error when installing the startup service failed to start a high performance web server and a reverse proxy serve
- [Solved] Nginx Restart Error: nginx: [error] open() “/usr/local/nginx/logs/nginx.pid” failed (2: No such file or directory)
- [Solved] Nginx can’t listen to the problem of virtual VIP: 99: cannot assign requested address
- [Solved] Nginx: [error] open() "/usr/local/Nginx/logs/Nginx.pid
- Nginx Startup Error: Job for nginx.service failed because the control process exited with error code. See …
- nginx: [error] open() “/usr/local/nginx/logs/nginx.pid“ failed (2: No such file or directory)
- PHP nginx 504 gateway timeout gateway timeout error
- [Solved] Nginx.service: Failed to read PID from file /run/nginx.pid: Invalid argument