Hello for all…
I was checking my nginx status and I encounter this error, I couldn’t be able to know what causes this:
frappe@jwe-Standard-PC-i440FX-PIIX-1996:~/frappe-bench$ sudo systemctl status nginx
[sudo] password for frappe: **
× nginx.service - A high performance web server and a reverse proxy server
** Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: enabled)
** tive: failed (Result: exit-code) since Sat 2024-10-19 19:20:35 +03; 22h ago
Duration: 22h 10min 38.076s
Docs: man:nginx(8)
Process: 31983 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, st>
Process: 31985 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FA>
CPU: 15ms
Oct 19 19:20:33 jwe-Standard-PC-i440FX-PIIX-1996 nginx[31985]: nginx: [emerg] bind() to 0.0.0.0:80 fail>
Oct 19 19:20:33 jwe-Standard-PC-i440FX-PIIX-1996 nginx[31985]: nginx: [emerg] bind() to [::]:80 failed >
Oct 19 19:20:34 jwe-Standard-PC-i440FX-PIIX-1996 nginx[31985]: nginx: [emerg] bind() to 0.0.0.0:80 fail>
Oct 19 19:20:34 jwe-Standard-PC-i440FX-PIIX-1996 nginx[31985]: nginx: [emerg] bind() to [::]:80 failed >
Oct 19 19:20:34 jwe-Standard-PC-i440FX-PIIX-1996 nginx[31985]: nginx: [emerg] bind() to 0.0.0.0:80 fail>
Oct 19 19:20:34 jwe-Standard-PC-i440FX-PIIX-1996 nginx[31985]: nginx: [emerg] bind() to [::]:80 failed >
Oct 19 19:20:35 jwe-Standard-PC-i440FX-PIIX-1996 nginx[31985]: nginx: [emerg] still could not bind()
Oct 19 19:20:35 jwe-Standard-PC-i440FX-PIIX-1996 systemd[1]: nginx.service: Control process exited, cod>
Oct 19 19:20:35 jwe-Standard-PC-i440FX-PIIX-1996 systemd[1]: nginx.service: Failed with result 'exit-co>
Oct 19 19:20:35 jwe-Standard-PC-i440FX-PIIX-1996 systemd[1]: Failed to start nginx.service - A high per>
lines 1-19/19 (END)
by the way my ERPNext work well despite this error. when I try to stop the nginx the site still work and when I try to start it I get:
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
anyone have this issue before…?