• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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