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 #38880 is a reply to message #38879] Mon, 15 February 2010 10:28 Go to previous messageGo to previous message
nuno is currently offline  nuno
Messages: 43
Registered: January 2010
Member
robig1 wrote on Mon, 15 February 2010 10:15
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


The openvz.conf I posted should go in /etc/init/ (not /etc/init.d).

vzctl exec 2094 mount -t proc proc /proc
fails?

I don't know why...


 
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: Sat Aug 02 12:01:47 GMT 2025

Total time taken to generate the page: 0.86312 seconds