nginx don't work

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
Guaro
Posts: 4
Joined: Sun Dec 15, 2019 8:09 am

nginx don't work

Post by Guaro »

Hi

Zoneminder was previously working without problem but from one moment to another it stopped working, I uninstalled it and reinstalled it again and I realized that the nginx.service does not want to boot as it seems to use port 80 but is busy with some process, I think that It is an application called facturescript because since installing that application the zoneminder stopped working.

use the "sudo fuser -k 80 / tcp" command to close the port without any result, the only thing that happened was that the facturescript and phpmyadmin stopped working.

I use archlinux.

thanks.

Code: Select all

[guaro@carambox ~]$ sudo 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.

Code: Select all

[guaro@carambox ~]$ sudo systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
     Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Sun 2019-12-29 14:42:52 -05; 10s ago
    Process: 2212 ExecStart=/usr/bin/nginx -g pid /run/nginx.pid; error_log stderr; (code=exited, status=1/FAILURE)

Dec 29 14:42:50 carambox nginx[2212]: 2019/12/29 14:42:50 [warn] 2212#2212: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: >
Dec 29 14:42:50 carambox nginx[2212]: 2019/12/29 14:42:50 [emerg] 2212#2212: bind() to 0.0.0.0:80 failed (98: Address already in use)
Dec 29 14:42:50 carambox nginx[2212]: 2019/12/29 14:42:50 [emerg] 2212#2212: bind() to 0.0.0.0:80 failed (98: Address already in use)
Dec 29 14:42:51 carambox nginx[2212]: 2019/12/29 14:42:50 [emerg] 2212#2212: bind() to 0.0.0.0:80 failed (98: Address already in use)
Dec 29 14:42:51 carambox nginx[2212]: 2019/12/29 14:42:50 [emerg] 2212#2212: bind() to 0.0.0.0:80 failed (98: Address already in use)
Dec 29 14:42:52 carambox nginx[2212]: 2019/12/29 14:42:50 [emerg] 2212#2212: bind() to 0.0.0.0:80 failed (98: Address already in use)
Dec 29 14:42:52 carambox nginx[2212]: 2019/12/29 14:42:50 [emerg] 2212#2212: still could not bind()
Dec 29 14:42:52 carambox systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Dec 29 14:42:52 carambox systemd[1]: nginx.service: Failed with result 'exit-code'.
Dec 29 14:42:52 carambox systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Post Reply