Page 1 of 1

v-delete-sys-ip "Error: IP is in use" even if it's not

Posted: Sat Jun 24, 2017 8:19 am
by andrea.gobetti
Hi, in Vesta I have two IP addresses configured, the first one was created automatically at installation time (and was wrong), so I created another IP address (the second one) which is correct, now I'm trying to delete the first one, but I get a message like:
Error: IP is in use / WEB_DOMAINS = 4
Each time I add a new domain the counter WEB_DOMAINS increases, but when I delete one of that domains the counter does not decrease, so I'm not able to delete that IP address!

Re: v-delete-sys-ip "Error: IP is in use" even if it's not

Posted: Mon Jun 26, 2017 8:45 pm
by skamasle
I think is not posible delete main IP

Try rebuild counters

And maybe you need remote it manully first from vesta config file in /usr/local/vesta/*

I change some IPs in that way and works fine

Re: v-delete-sys-ip "Error: IP is in use" even if it's not

Posted: Tue Jun 27, 2017 1:06 pm
by andrea.gobetti
Thanks skamasle, I've deleted the file corrisponding to the IP that I wanted to remove in /usr/local/vesta/data/ips and it seems that it worked without problems!