• 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 ipv6 install error failed (99: Cannot assign requested address)

helloedit

New Pleskian
Hello,


By mistake I add one wrong ipv6 to one domain in plesk. (after setting cloudflare DNS)

I had one problem with memory and restart nginx, and nginx didn't restart.
give me one error similar to:
Dec 12 20:49:30 ns5006751 nginx: nginx: [emerg] bind() to [xxx:5300:xxx:8cd0::]:443 (ip hidden) failed (99: Cannot assign requested address)


The domains started to give 502 error and cannot access to plesk neither.

plesk restart failed etc..

We remove in all the dns configuration all the records with tis iupv6 configuration. We tryed to restart plesk but error again.
The we remove the ip from
DELETE FROM IP_Addresses WHERE ip_address IN 'xxx:5300:xxx:8cd0::';
then did: plesk sbin nginxmng -d
and then the domains start working again, also plesk.


But now when we try to restart nginx we have this error:
[root@...]# plesk sbin nginxmng -e
[2023-12-13 13:29:57.646] 27817:6579b1d59d9e5 ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx_control' '--start'] with exit code [1]
Can not start proxy server: /usr/local/psa/admin/sbin/nginx-config execution failed:
nginx: [warn] conflicting server name "webmail.hiddendomain" on 51.222.240.208:443, ignored
nginx: [warn] conflicting server name "www.hiddendomain" on 51.222.240.208:443, ignored
nginx: [warn] conflicting server name "hiddendomain" on 51.222.240.208:443, ignored
nginx: [warn] conflicting server name "ipv4.hiddendomain" on 51.222.240.208:443, ignored
nginx: [warn] conflicting server name "webmail.hiddendomain" on 51.222.240.208:80, ignored
nginx: [warn] conflicting server name "www.hiddendomain" on 51.222.240.208:80, ignored
nginx: [warn] conflicting server name "hiddendomain" on 51.222.240.208:80, ignored
nginx: [warn] conflicting server name "ipv4.hiddendomain" on 51.222.240.208:80, ignored
nginx: [emerg] bind() to [xxx:5300:xxx:8cd0::]:443 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed


ip -6 addr >> return empty
ip a >> don't retunr the ipv6 address


vi /etc/sysctl.conf
vm.swappiness=1
#net.ipv6.conf.all.disable_ipv6=1
#net.ipv6.conf.default.disable_ipv6=1
~




There in any configuration file on the server with the ipv6 wrong ip(we removd all) xxx:5300:xxx:8cd0::




I tried this solution: Sites are unavailable: nginx: [emerg] bind() to failed (99: Cannot assign requested address) - Support Cases from Plesk Knowledge Base

# plesk sbin nginxmng -d
# plesk sbin nginxmng -e >> this fails

Any idea of what can I do to fix it?
 
Did you do any custom configurations to Apache? It seems that it grabs port 443. Or maybe do you use another webserver on the system?
 
Back
Top