Zammad is not starting after Update

Hi there,
I updated today my vserver security & zammad @ digitalocean and got an error afterwards.

Infos:

  • Used Zammad version: can’t login
  • Used Zammad installation source: (source, package, …)
  • Operating system: ubuntu 18.04
  • Browser + version: Chrome Version 79.0.3928.4 (Offizieller Build) dev (64-Bit)

Expected behavior:

  • After updating my vserver it should all just load and that I can use my ticket system

Actual behavior:

  • I got an error after update and my browser doesn’t load zammad.
    I just found out, after searching a while that my nginx is failing

nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-10-07 11:42:49 UTC; 56min ago
Docs: man:nginx(8)
Process: 961 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Process: 868 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

Oct 07 11:42:48 nice-wsrn-support nginx[961]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Oct 07 11:42:48 nice-wsrn-support nginx[961]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Oct 07 11:42:48 nice-wsrn-support nginx[961]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Oct 07 11:42:48 nice-wsrn-support nginx[961]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Oct 07 11:42:49 nice-wsrn-support nginx[961]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Oct 07 11:42:49 nice-wsrn-support nginx[961]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Oct 07 11:42:49 nice-wsrn-support nginx[961]: nginx: [emerg] still could not bind()
Oct 07 11:42:49 nice-wsrn-support systemd[1]: nginx.service: Control process exited, code=exited status=1
Oct 07 11:42:49 nice-wsrn-support systemd[1]: nginx.service: Failed with result ‘exit-code’.
Oct 07 11:42:49 nice-wsrn-support systemd[1]: Failed to start A high performance web server and a reverse proxy server.

Steps to reproduce the behavior:

another thing is that my domain is available unter http://nice.wsrn.support, but the apache is loading and under https://nice.wsrn.support I get an error.

The error in var/log/nginx/error.log says:
2019/10/07 11:42:47 [emerg] 961#961: bind() to 0.0.0.0:80 failed (98: Address already in use)

Does this help anybody? I still can’t access my system…

Your system tells you the exact problem which has nothing to do with Zammad.
Port 80 is already in use by another application.

To check for the application in question, just run lsof -i -P -n|grep ':80' on your host.
Please note that further help is out of scope of Zammad as application.

thanks for your help.
I figured it out myself, after reading…

this helped me:

sudo netstat -tulpn
sudo kill -2
sudo service nginx restart

Thanks anyway.