OpenVZ Forum


Home » General » Support » *SOLVED* network problem if I set onboot=yes
Re: network problem if I set onboot=yes [message #12355 is a reply to message #12325] Wed, 25 April 2007 16:03 Go to previous messageGo to previous message
heber is currently offline  heber
Messages: 10
Registered: April 2007
Junior Member
I finally find out the real problem.

The vz init script was already the last one and it wasn't working.

Just to test I put a "sleep 20" before script execution and It worked !

Debuging I put "ps -ef >>/root/ps.txt" before and after "sleep 20" and I realized that the difference was that nic wasn't up at vz script execution time, and this was the problem.

I saw the following before the line with "sleep" :

root 2723 1 0 11:56 ? 00:00:00 /sbin/ifup --allow auto eth0

That's why I had that weird behaviour with arp output.

Isn't this a bug, right? Or should vz script check if ethx is up before running?

Thanks a lot
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* home dir of vps on an other partition or networkdevice
Next Topic: Sparc, Debian and OpenVZ
Goto Forum:
  


Current Time: Tue Jul 16 04:20:18 GMT 2024

Total time taken to generate the page: 0.02595 seconds