• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Cannot update IP adress

Kenneth Skytthe

New Pleskian
Hi.

Ive tried updating my plesk installation with a new IP, following this guide: https://kb.plesk.com/en/943
But after i have edited the ipaddresses.map with the new IP adress and run: /usr/local/psa/bin/reconfigurator.pl ipaddresses.map

I get the following message:

Generating DB update script...
IPAddr instance has no attribute 'addr'

My Plesk is running on Ubuntu 14.04.4 LTS and my plesk version is 12.5.30 Ubuntu 14.04 1205160407.13

Do you guys have any idea to what might be causing this?
 
I do not know what is network interface you are using, but if it is eth0, show me, please, output of following command:

# echo "IPADDR=$(ifconfig eth0 | grep "inet addr" | awk '{ print $2 }' | awk 'BEGIN { FS=":" } { print $2 }')"

change bolded network interface if you have other.
And please show me content of ipaddresses.map file.
 
Hello

I get the following address in return: IPADDR=10.13.99.1

# 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 it's line or remove entire line from the file.

eth0 xxx.xxx.xxx.xxx 255.255.255.192 -> eth0 10.13.99.1 255.255.255.0
I have omitted the public IP

The public IP address is being replaced with a private one, and then i will NAT the traffic from the public.
 
Just tried that, but no luck output of plesk reapir db is:

Checking the Plesk database using the native database server tools .. [OK]

Checking the structure of the Plesk database ........................ [OK]

Checking the consistency of the Plesk database ...................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0
 
Back
Top