• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Issue Cannot restart NGINX

rjensen

New Pleskian
Server operating system version
Ubuntu 24.04
Plesk version and microupdate number
18.0.66_build1800250106.19 os
I run a few personal and association websites from a server sitting in the DMZ of a router. Plesk manages the domains.

Started with this error:
Template_Exception: nginx: [emerg] bind() to [IPv6]:443 failed (99: Cannot assign requested address) nginx: configuration file /etc/nginx/nginx.conf test failed​

Rereading the IPs in Plesk resulted in the notification:
IP address [IPv6] cannot be removed because it is used by one or more domains for their mail service IP address.​
Where do I find the IP addresses assigned to mail servers??​

Something suggested that it was an nginx error, and recommended disabling and then re-enabling nginx in Plesk:
$ plesk sbin nginxmng -d​

HOWEVER, I cannot re-enable nginx. This command fails with the following error:
$ plesk sbin nginxmng -e​

[2025-01-10 16:48:31.549] 24437:678195af85c1a ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx_control' '--start'] with exit code [1] Can not start proxy server: exit status 1​

Plesk also gives this error:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /opt/psa/admin/conf/templates/default/server.php, error = Template_Exception: Call to a member function getId() on null file: /opt/psa/admin/plib/Template/Processor.php line: 38 code: 0 Previous error: Template_Exception: Call to a member function getId() on null file: /opt/psa/admin/plib/Template/Processor.php line: 38 code: 0 Previous error: Error: Call to a member function getId() on null file: /opt/psa/admin/plib/Template/Variable/Server/IpAddresses.php line: 77 code: 0 See the details in Configuration Troubleshooter. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.​
Clicking to regenerate the broken configuration files fails. Error remains.

Suggestions?
 
Back
Top