Hey my Nginx not start after a server reboot. Restart manually with service nginx restart works only after a reboot not change my real ip to 0.0.0.0 followed this tutorial https://www.howtoforge.com/tutorial/perfect-server-ubuntu-18-04-nginx-bind-dovecot-and-ispconfig-3/ Code: Oct 26 21:17:39 mail systemd[1]: Starting A high performance web server and a reverse proxy server... Oct 26 21:17:39 mail nginx[751]: nginx: [emerg] bind() to 0.0.0.0:443 failed (99: Cannot assign requested address) Oct 26 21:17:39 mail nginx[751]: nginx: configuration file /etc/nginx/nginx.conf test failed Oct 26 21:17:39 mail systemd[1]: nginx.service: Control process exited, code=exited status=1 Oct 26 21:17:39 mail systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 26 21:17:39 mail systemd[1]: Failed to start A high performance web server and a reverse proxy server.
If this is a server you just installed, go through that installation guide and compare the packages that are installed and the settings.
If installed according to the guide, the system should just work. Did it work previously and only failed after reboot? https://www.howtoforge.com/community/threads/please-read-before-posting.58408/ Maybe just install it again, practice makes perfect.
Only After complete Server reboot If i run Service nginx restart it work Code: ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.1.13 ##### VERSION CHECK ##### [INFO] php (cli) version is 7.2.10-0ubuntu***.***.***.*** ##### PORT CHECK ##### ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Unknown process (nginx:) (PID 10369) [INFO] I found the following mail server(s): Postfix (PID 1376) [INFO] I found the following pop3 server(s): Dovecot (PID 1186) [INFO] I found the following imap server(s): Dovecot (PID 1186) [INFO] I found the following ftp server(s): PureFTP (PID 1286) ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:110 (1186/dovecot) [anywhere]:143 (1186/dovecot) [anywhere]:80 (10369/nginx:) [anywhere]:8080 (10369/nginx:) [anywhere]:8081 (10369/nginx:) [anywhere]:465 (1376/master) [localhost]:8082 (754/pushxx) [localhost]:8083 (754/pushxx) [anywhere]:21 (1286/pure-ftpd) ***.***.***.***:53 (735/named) [localhost]:53 (735/named) --More--
You have this in your log: Code: nginx: configuration file /etc/nginx/nginx.conf test failed Put that in Internet search engines.
I installed the by the Tutorial from howtoforge I pay for priority Support So i ask here for my problem My conf seems to be ok Code: sudo nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful
You are not paying me. Anyway, using Internet searh engines, I found this: I use Apache so I do not know nginx, but that looks promising.
The log in #1: Looks like after reboot something else is using it, maybe? Also from Internet Search Engines: https://blog.serverdensity.com/troubleshoot-nginx/
Then the Message is address already in use In my case Cannot assign requested address I think i wait for anyone with nginx knowledge But thanks you anyways for your help
The address must be in use already (e.g. by another web server like apache) or it is somehow configured twice in nginx so that ngix tries to bind to it a second time. Please post the output of: netstat -ntap | grep 443
Output after reboot server is nothing (nginx not start) after service nginx restart ip nulled Code: tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 2707/nginx: master
Ok, so nginx starts when you start it manually? At least the netstat output shows that it's started and listening on the SSL port.
Every time when you reboot nginx, you get this message in the log file? mail nginx[751]: nginx: configuration file /etc/nginx/nginx.conf test failed and when you test the nginx.conf, it does not contain errors?
The only thing in the log, after a reboot is Code: 2019/07/26 22:50:50 [emerg] 805#805: bind() to xxx.xxx.xxx.xxx:443 failed (99: Cannot assign requested address)