- Plesk 11.x for Linux
The web server fails to rebuild configuration and start due to the following error:
CONFIG_TEXT: Unable to generate the web server configuration file on the host <example.com> because of the following errors:
nginx: [emerg] listen() to 10.0.0.1:80, backlog 511 failed (98: Address already in use)
nginx: configuration file /etc/nginx/nginx.conf test failed
The problem is caused by a race condition in nginx init script (
), which causes the service start attempt to begin before all nginx worker processes are properly shut down.
This behavior was confirmed to be a bug with ID #PPPM-353. Fixed in Plesk 11.5
Upgrade to the latest Plesk version.
If the upgrade is not possible:
- Log in to Plesk
- Disable and then enable Nginx proxy in Tools & Settings > Services Management