You are not logged in.
Pages: 1
[root@bioarchlinux conf.d]# systemctl start nginx
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for details.
[root@bioarchlinux conf.d]# netstat -anp|grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 251/nginx: master p
unix 8 [ ] DGRAM 11880 1/init /run/systemd/journal/socket
unix 2 [ ] DGRAM 33580 12020/systemd and the log
Dec 27 03:11:51 bioarchlinux systemd[1]: Starting A high performance web server and a reverse proxy server...
░░ Subject: A start job for unit nginx.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit nginx.service has begun execution.
░░
░░ The job identifier is 1104.
Dec 27 03:11:51 bioarchlinux nginx[20017]: 2021/12/27 03:11:51 [emerg] 20017#20017: bind() to 0.0.0.0:80 failed (98: Address already in use)
Dec 27 03:11:52 bioarchlinux nginx[20017]: 2021/12/27 03:11:51 [emerg] 20017#20017: bind() to 0.0.0.0:80 failed (98: Address already in use)
Dec 27 03:11:52 bioarchlinux nginx[20017]: 2021/12/27 03:11:51 [emerg] 20017#20017: bind() to 0.0.0.0:80 failed (98: Address already in use)
Dec 27 03:11:53 bioarchlinux nginx[20017]: 2021/12/27 03:11:51 [emerg] 20017#20017: bind() to 0.0.0.0:80 failed (98: Address already in use)
Dec 27 03:11:53 bioarchlinux nginx[20017]: 2021/12/27 03:11:51 [emerg] 20017#20017: bind() to 0.0.0.0:80 failed (98: Address already in use)
Dec 27 03:11:54 bioarchlinux nginx[20017]: 2021/12/27 03:11:51 [emerg] 20017#20017: still could not bind()
Dec 27 03:11:54 bioarchlinux systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit nginx.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Dec 27 03:11:54 bioarchlinux systemd[1]: nginx.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit nginx.service has entered the 'failed' state with result 'exit-code'.
Dec 27 03:11:54 bioarchlinux systemd[1]: Failed to start A high performance web server and a reverse proxy server.
░░ Subject: A start job for unit nginx.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit nginx.service has finished with a failure.
░░
░░ The job identifier is 1104 and the job result is failed.Last edited by malacology (2021-12-27 14:11:26)
Don't speak to silly man. Keep Minimalism.
Offline
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 251/nginx: master p Well, there's a running nginx already?
Offline
No, nginx stop
Don't speak to silly man. Keep Minimalism.
Offline
Your netstat disagrees…
ps aux | grep nginxOffline
I know, I need to reboot, after reboot, it works.
Last edited by malacology (2021-12-27 14:11:11)
Don't speak to silly man. Keep Minimalism.
Offline
Pages: 1