change site ip :: Unable to set to an unconfigured ip address

Bahram0110

Well-Known Member
Dec 12, 2007
45
0
56
Hello,
Recently my server goes down.. after sometimes we found that dns file has some syntax error.
Then I correct that problems.

Now all things are OK, But there is one problem (this problem occurred after first one, I'm sure):
2 of my sites has dedicated ip and others are on shared one.
now that 2 sites cannot be opened. I configured that 2 sites to open with shared ip. (they are up now)

Problem :
that 2 dedicated ips that makes problem not showing in any section of whm
I even rebuild the ip address pool
I tried to add ip:
All Requested Ips were already active
System has 0 free ips.
Skipping xx.xx.xx.xx.. already added


I tried to change one of sites to problematic ip with browser url (coz ip is not shown in Change Site's IP Address) :
https://whmurl:2087/scripts2/changeip?user=username&oldip=xx.xx.xx.1&customip=xx.xx.xx.2

but this error replied:
Unable to set to an unconfigured ip address

Can anyone help me please?
Thank you.
 

Bahram0110

Well-Known Member
Dec 12, 2007
45
0
56
there was some unknown characters at the end of
/var/named/chroot/etc/named.conf
like § موÙقیت به Ø*ساØ
So I correct them.
then restart nsd.
 

Bahram0110

Well-Known Member
Dec 12, 2007
45
0
56
etc/ips:
xx.xx.xx.40:255.255.255.0 --> No problem
xx.xx.xx.41:255.255.255.128:xx.xx.xx.127 --> problem
xx.xx.xx.42:255.255.255.128:xx.xx.xx.127 --> problem
I use whm/cpanel 11.28.87
I forced cpanel to update..
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
First of all, are the IPs showing in ifconfig as bound to the machine?

Code:
ifconfig
If not, try restarting ipaliases:

Code:
/etc/init.d/ipaliases restart
Then recheck "ifconfig" again.

If the IPs still aren't working at that point, try removing the IPs and then re-adding them in WHM > Show or Delete Current IP Addresses area. Otherwise, you can also try removing them in /etc/ips and /etc/domainips files, then again re-adding them in WHM > Add a New IP Address area.