//报错信息
Last login: Thu Apr 14 21:12:20 2022 from 222.138.220.215
Welcome to aliyun Elastic Compute Service!
[root@iZ28s0ahcusZ ~]# sbin/nginx -s reload
-bash: sbin/nginx: No such file or directory
[root@iZ28s0ahcusZ ~]# service nginx start
Redirecting to /bin/systemctl start nginx.service
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
[root@iZ28s0ahcusZ ~]# killall -9 nginx
nginx: no process found
[root@iZ28s0ahcusZ ~]# service nginx start
Redirecting to /bin/systemctl start nginx.service
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
[root@iZ28s0ahcusZ ~]# systemctl status nginx.service
鈼� nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2022-04-15 10:40:36 CST; 36s ago
Process: 19163 ExecStart=/usr/sbin/nginx (code=exited, status=1/FAILURE)
Process: 19160 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
Process: 19158 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
Apr 15 10:40:34 iZ28s0ahcusZ nginx[19163]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Apr 15 10:40:34 iZ28s0ahcusZ nginx[19163]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Apr 15 10:40:35 iZ28s0ahcusZ nginx[19163]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Apr 15 10:40:35 iZ28s0ahcusZ nginx[19163]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Apr 15 10:40:36 iZ28s0ahcusZ nginx[19163]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Apr 15 10:40:36 iZ28s0ahcusZ nginx[19163]: nginx: [emerg] still could not bind()
Apr 15 10:40:36 iZ28s0ahcusZ systemd[1]: nginx.service: control process exited, code=exited status=1
Apr 15 10:40:36 iZ28s0ahcusZ systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
Apr 15 10:40:36 iZ28s0ahcusZ systemd[1]: Unit nginx.service entered failed state.
Apr 15 10:40:36 iZ28s0ahcusZ systemd[1]: nginx.service failed.
[root@iZ28s0ahcusZ ~]# sbin/nginx -s reload
-bash: sbin/nginx: No such file or directory
[root@iZ28s0ahcusZ ~]#