*SOLVED* VPS has no IP after reboot and /etc/rc.d/vz start... [message #5491] |
Mon, 21 August 2006 20:33 |
disaster
Messages: 158 Registered: February 2006
|
Senior Member |
|
|
Hi!
I've created my own template from a Debin Sarge 3.1 install.
Now if I do a /etc/rc.d/vz start after reboot my VPS has no IP.
vzctl enter ID
and then ifconfig outputs nothing
if i do then a
vzctl set ID --ipdel all --save
vzctl set ID --ipadd IP --save
everything works fine.
I can also do a /etc/rc.d/vz stop and then a start again... then it works without any problem. Only directly after reboot of the host system it does not work.
Any idea?
Stefan
[Updated on: Tue, 22 August 2006 07:45] Report message to a moderator
|
|
|
|
|
|
Re: *SOLVED* VPS has no IP after reboot and /etc/rc.d/vz start... [message #5510 is a reply to message #5491] |
Tue, 22 August 2006 07:47 |
disaster
Messages: 158 Registered: February 2006
|
Senior Member |
|
|
Ok i solved the problem - while debugging add_ip script for debian.
The problem was, that we start /etc/rc.d/vz not via the normal init. We start it through a special script and perhaps some path parameters were not set correctly at this moment. I've now added the script to the normal bootup process => rc.d/rcx.d/S20vz etc... now it works perfectly.
So sorry - my fault.
|
|
|