OpenVZ Forum


Home » General » Support » Ubuntu VE starts only one process (After Update to karmic the VE did not come up)
Re: Ubuntu VE starts only one process [message #38879 is a reply to message #38877] Mon, 15 February 2010 10:15 Go to previous messageGo to previous message
robig1 is currently offline  robig1
Messages: 6
Registered: February 2010
Junior Member
I've executed the script below by
vzctl exec 2094 /etc/init.d/vztest
and the VE comes to life!

mount -t proc proc /proc
mount -t devpts devpts /dev/pts
mount -t sysfs sys /sys
mount -t tmpfs varrun /var/run
mount -t tmpfs varlock /var/lock
mkdir -p /var/run/network
cat /proc/mounts > /etc/mtab

init 2        
ifconfig lo 127.0.0.1 
/etc/init.d/networking restart


After that I've got an idea:
vzctl exec 2094 ls /proc
has NO output because proc is empty! I think its not mounted.
But why?

Robert
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CPUs support in 2.6.24+
Next Topic: 2.6.27-chistyakov.1 and cpulimit/cpus questune
Goto Forum:
  


Current Time: Fri Nov 15 16:32:39 GMT 2024

Total time taken to generate the page: 0.04387 seconds