Alexander Grein
New Pleskian
I have updated a plesk system from 12.5 to 17.5 on a clone of my main system, to make sure everything work fine after it.
This cloned system has an other main ip than the original system, so I need to change the main IP address inside plesk to be able to do my tests.
My first step was to open the IP-Address-Settings inside plesk and pressing the "reread IP-Address" buttons.
Because of a missing function to change the IP-Address of all webhostings to the new IP, I start a google search and found an article about doing this over the command line.
After starting /usr/local/psa/bin/reconfigurator.pl ip_map.txt and editing the generated ip_map.txt I get this error:
xxx.xx.xxx.xx: address is already used by Plesk
ip_map.txt: 1 conflicts found
After an other google search, I found an article, which means I do have to delete this new IP first, to get I running, if I already added it inside plesk (like I did).
So I used my database management tool and deleted the corresponding entry in the IP_Addresses table of the psa database.
After this step, I started /usr/local/psa/bin/reconfigurator.pl ip_map.txt again, and now I get this error:
xxx.xx.xxx.xx: cannot delete main IP on interface
/opt/psa/admin/bin/ifmng --del 185.21.101.80: exited with non-zero code 256
Any ideas, how I can solve this problem?
This cloned system has an other main ip than the original system, so I need to change the main IP address inside plesk to be able to do my tests.
My first step was to open the IP-Address-Settings inside plesk and pressing the "reread IP-Address" buttons.
Because of a missing function to change the IP-Address of all webhostings to the new IP, I start a google search and found an article about doing this over the command line.
After starting /usr/local/psa/bin/reconfigurator.pl ip_map.txt and editing the generated ip_map.txt I get this error:
xxx.xx.xxx.xx: address is already used by Plesk
ip_map.txt: 1 conflicts found
After an other google search, I found an article, which means I do have to delete this new IP first, to get I running, if I already added it inside plesk (like I did).
So I used my database management tool and deleted the corresponding entry in the IP_Addresses table of the psa database.
After this step, I started /usr/local/psa/bin/reconfigurator.pl ip_map.txt again, and now I get this error:
xxx.xx.xxx.xx: cannot delete main IP on interface
/opt/psa/admin/bin/ifmng --del 185.21.101.80: exited with non-zero code 256
Any ideas, how I can solve this problem?