• 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 ./reconfigurator ip_map_file_name giving errors

pimnl

New Pleskian
Server operating system version
CentOS 7.6.1810 x86_64
Plesk version and microupdate number
Plesk Obsidian 18.0.59.2
I have an 'old' VPS server with Plesk, on which multiple domains with websites are running. I just ordered a new server and restored a snapshot of the old server onto the new one.

Because the server has a new IP address, I need to generate a mapping file with information about the new IP address:
Changing IP Addresses

This is the content:

# You should edit IP addresses, netmasks, and interfaces to reflect your
# future settings. If you don't want the IP to be changed - leave it untouched,
# comment out its line or remove the entire line from the file.
eth0 37.97.157.2 255.255.255.0 -> eth0 136.144.166.77 255.255.255.0

When I then run the script to update the IP, I get these errors:

Code:
[root@grootstenederlanders bin]# plesk bin reconfigurator /root/ip_map_file_name
`plesk bin ipmanage` should be used instead of this utility
Remap: 37.97.157.2 -> 136.144.166.77
Changing IP address 37.97.157.2 to 136.144.166.77 in database
Reconfiguring web servers
[2024-04-11 04:45:33.465] 24724:66174ec2e6a2f ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2024-04-11 04:45:35.414] 24724:66174ec2e6a2f ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2024-04-11 04:45:35.586] 24724:66174ec2e6a2f ERR [panel] Apache config (17128035310.57137500) generation failed: Template_Exception: nginx: [emerg] bind() to [2a01:7c8:aabf:3::1]:443 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed


file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Changing IP address 136.144.166.77 to 37.97.157.2 in database
nginx: [emerg] bind() to [2a01:7c8:aabf:3::1]:443 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed

exit status 1

Any idea what I could be doing wrong?
 
Back
Top