Problems in cPanel (in vps) adding static ip´s [message #33095] |
Mon, 22 September 2008 13:58 |
hostenlinea
Messages: 15 Registered: August 2008
|
Junior Member |
|
|
Hi,
I have a dedicated server, fully virtualized with openvz (and hypervm for manage). In a vps i have cPanel.
When I atempt to add a new ip in WHM, appears in red.
When i make:
root@server [/etc]# service ipaliases restart
UnRouting 62.212.74.1xx SIOCDELRT: No such device
[FAILED]
Shutting down eth0:1 eth0:1: unknown interface: No such device
[FAILED]
Bringing up eth0:1 SIOCSIFADDR: No such device
eth0:1: unknown interface: No such device
SIOCSIFNETMASK: No such device
SIOCGIFADDR: No such device
SIOCSIFBROADCAST: No such device
SIOCSIFBRDADDR: No such device
eth0:1: unknown interface: No such device
[FAILED]
Routing 62.212.74.1xx SIOCADDRT: No such device
[FAILED]
-------------
And, if i put:
[root@localhost ~]# vzctl exec 110 /etc/init.d/network restart
Shutting down interface venet0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface venet0: SIOCADDRT: Network is unreachable
[ OK ]
What is happening? Is a vps networking problem?? (is working aparently good).
Thanks!
Regards,
Amil
[Updated on: Mon, 22 September 2008 14:08] Report message to a moderator
|
|
|
|
SOLVED!!! Re: Problems in cPanel (in vps) adding static ip´s [message #33185 is a reply to message #33095] |
Fri, 26 September 2008 21:02 |
hostenlinea
Messages: 15 Registered: August 2008
|
Junior Member |
|
|
Hi,
I solved this adding manually a secondary ip, with vzctl in master:
vzctl set {CTID} --ipadd {n.n.n.n} --save
Once made, in WHM, i recalculate ip-pool and I can now work with this ip fully, working 100%.
For any reason, if I add the ip with cPanel doesn´t assign correctly the ip (in network restart unmade network changes), maybe is a cPanel bug over OpenVZ. Or maybe a problem related to hypervm.
Hope this help, thanks.
Regards,
Amil
[Updated on: Sat, 27 September 2008 11:27] Report message to a moderator
|
|
|