- Plesk for Linux
nginx fails to start with the following error:
CONFIG_TEXT: Cannot assign requested address
There are some mismatches between IP set up on server and registered in Plesk. For example, the number of IPs registered in Plesk is higher then the actual number of IPs on the server:
IP addresses in Plesk:
# plesk bin ipmanage -l
IP addresses on the server:
# ip a
A website may show ourdated/old SSL certificate.
Unsynced IP address between Plesk and OS or IP address was removed/changed manually on the server directly.
Sync IP addresses between Plesk and OS:
Go to Plesk > Tools & Settings > IP Addresses and press Reread IP:
Select the appeared IP addresses and click on the Repair button to fix them or click the Remove button if they are no longer required.
Connect to the server via SSH;
Re-enable nginx service:
# /usr/local/psa/admin/bin/nginxmng -d
# /usr/local/psa/admin/bin/nginxmng -e
Note: This operation can cause a significant downtime when more than 100 domains are hosted on the Plesk server, as all the configuration files will be regenerated.