"Failed to change IP address :"

Hello,

I am running Virtualmin behind a NAT device. I set the wrong address for default IP address so when a virtual server was created, the Apache virtualhost had the public IP listed instead of the internal. As such, Apache wouldn't start because it couldn't bind to the IP address.

I fixed the IP in Virtualmin Configuration > Networking settings. Upon saving and returning to the overview, I was greeted with the "Your system's primary IP address appears to have changed from {PUBLIC_IP} to {INTERNAL_IP}. Virtual servers using the old address may be unreachable or serve the wrong web content." I clicked the button to update the IP addresses. Leaving all the default options for the form, I clicked "Change Now". Next screen I see is an error: "Failed to change IP addresses : " That is it, no reason why.

I went into the virtual host files (I only had two virtual hosts as I was setting up the server) and changed the IPs by hand for now. But I cannot get rid of the message at the top of Virtualmin. New virtual servers are just fine since changing the setting in Networking settings.

I don't know how to make the warning disappear, I have fixed all the IP addresses for the virtual servers manually. Any advice?

Thanks

Status: 
Closed (fixed)

Comments

Fixed, thank to a friend.

We found "old_defip=" in /etc/webmin/virtual-server/config file. The value was set to my public IP, his was set to his current so I set the value in mine to my current public address, saved restarted webmin service and alert gone! Yay!