[BlueOnyx:17726] Re: new server setup

Michael Stauber mstauber at blueonyx.it
Sun May 31 12:14:02 -05 2015


Hi Tom,

> "The network interface cannot be disabled, because one or 
> more sites are using the IP address assigned to the interface."
>
> How do I correct this?

The DNS has nothing to do with this. DNS records do not create interface
aliases. Virtual sites do. And you probably have a Virtual site that is
still using that IP.

Generally it works like this:

When the network is configured (via /root/networks_settings.sh and/or
"System Settings" / "TCP/IP"), then this will activate eth0 and the IP
you configured will be added to eth0 as primary IP.

As long as all Vsites are using the same IP, no alias (like "eth0:0"
will be created. If you add a Vsite with an IP different than the
primary IP, it will add eth0:0 for the first IP, eth0:1 for the second
and so on.

Whenever you "free up" such an "extra"-IP by deleting the Vsite on it,
or by changing its IP to the primary one, a check will run. That check
tests if the "extra-IP" is still used for Vsites. If no more Vsites are
using that IP, it will be unbound from the server and the alias (eth0:X)
will be removed.

So what you need to do there: Check which Vsite is still using the IP
that you no longer want to use. Then move that Vsite to the primary IP.
And the alias will get unbound automatically once no other Vsites are
using it.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list