Hier der Fehler:
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
* 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 Tue 2021-06-22 09:21:32 CEST; 3ms ago
Docs: man:nginx(8)
Process: 23545 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 23546 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Jun 22 09:21:30 vm1022 nginx[23546]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Jun 22 09:21:30 vm1022 nginx[23546]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Jun 22 09:21:31 vm1022 nginx[23546]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Jun 22 09:21:31 vm1022 nginx[23546]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Jun 22 09:21:31 vm1022 nginx[23546]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Jun 22 09:21:31 vm1022 nginx[23546]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Jun 22 09:21:32 vm1022 nginx[23546]: nginx: [emerg] still could not bind()
Jun 22 09:21:32 vm1022 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Jun 22 09:21:32 vm1022 systemd[1]: nginx.service: Failed with result 'exit-code'.
Jun 22 09:21:32 vm1022 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-full (--configure):
installed nginx-full package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-full (<< 1.14.2-2+deb10u4.1~) | nginx-light (<< 1.14.2-2+deb10u4.1~) | nginx-extras (<< 1.14.2-2+deb10u4.1~); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
nginx depends on nginx-full (>= 1.14.2-2+deb10u4) | nginx-light (>= 1.14.2-2+deb10u4) | nginx-extras (>= 1.14.2-2+deb10u4); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
dpkg: error processing package nginx (--configure):
dependency problems - leaving unconfigured
Processing triggers for systemd (241-7~deb10u7) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for ufw (0.36-1) ...
Errors were encountered while processing:
nginx-full
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)