• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue nginx: configuration file /etc/nginx/nginx.conf test failed

Azurel

Silver Pleskian
My hoster have restart the server because maintenance work on his servers host system and again nginx not start after server restart. So domains are not working. After hours waiting, I take a look with

# service nginx status
Starting Startup script for nginx service...
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] bind() to <IPv6>:443 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed
nginx.service: control process exited, code=exited status=1
Failed to start Startup script for nginx service.
Unit nginx.service entered failed state.
nginx.service failed.

BUT, with
# service nginx start
its working instantly fine. What is here the problem?

I found this article Nginx does not start automatically after reboot: 99: Cannot assign requested address

My hoster had changed the file /etc/sysconfig/network-scripts/ifcfg-enp0s5
DEVICE="enp0s5"
ONBOOT="yes"
BOOTPROTO="none"
HWADDR="00:1c:XX:XX:XX:XX"
IPADDR="37.XX.XX.XX"
NETMASK="255.255.255.255"
DHCPV6C="no"
IPV6_AUTOCONF="no"
IPV6INIT="yes"
IPV6ADDR="2A01:XX..XX:0:1/128"
GATEWAY="169.XX.XX.1"
IPV6_DEFAULTGW="FEXX::FFFF:1:1"
Its really okay to use apostrophe "value" for the values? And its allowed to use uppercase for IPV6ADDR value?
 
Yes, this is all permissible. Where such doubts?
Compare syntax with content of any other files from /etc/sysconfig/network-scripts/
 
I nerver see and find in network-scripts-files values with apostrophe. That's why I asked. ;)
So I add sleep like the article suggested. I hope this helps.
 
Back
Top