Portal Home > Knowledgebase > Articles Database > Problem adding IPs to cPanel/WHM server
Problem adding IPs to cPanel/WHM server
Posted by strato, 09-01-2007, 06:57 AM |
I have setup a new cpanel/whm server. The main IP address works fine and I added the additional IP addresses the datacenter gave me.
That was yesterday, today I logged on and when I go to IP Functions >> Show or Delete Current IP Addresses all the addresses I added yesterday are showing up in red text and I cant ping any of them, not even if I ping them from the server itself. Seems that when I rebooted the server after the initial cpanel setup something has caused this.
Trouble is my name servers are sitting on 2 of the malfunctioning ip addresses so they arent working at all.
I have tried removing them ad re-adding them and they still show red.
Any idea whats causing this?
Thanks for you help
|
Posted by david510, 09-01-2007, 09:17 AM |
Are the IPs still attached to the server? Try running this
service ipaliases restart
|
Posted by strato, 09-01-2007, 09:43 AM |
thanks
I ran this and got the following reply:
|
Posted by david510, 09-01-2007, 09:47 AM |
check the /etc/ips file and if IPs are not listed there, add them in the same manner as your main IP and run the earlier command.
|
Posted by strato, 09-01-2007, 09:49 AM |
Thanks again
I checked that file and they are all listed, the main server IP (the only one that works) is not listed though, will that make any difference?
|
Posted by david510, 09-01-2007, 09:57 AM |
Main IP will not be present in the /etc/ips. It will be in the file /etc/sysconfig/network-scripts/ifcfg-eth0. I meant to add in the same manner if any entry was present. Dont edit this file. Enter into folder /etc/sysconfig/network-scripts/ and check if entries like ifcfg-eth0:1, ifcfg-eth0:2 is present. If yes, move those file in different name and restart ipaliases.
|
Posted by strato, 09-03-2007, 06:06 AM |
Thanks again, but the datacenter rebuilt the box and all is well.
|
Posted by david510, 09-03-2007, 06:33 AM |
Good to hear. May be some network related file got messed up
|
Add to Favourites Print this Article
Also Read
I need help (Views: 700)