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 #38871 is a reply to message #38832] Sun, 14 February 2010 07:15 Go to previous messageGo to previous message
nuno is currently offline  nuno
Messages: 43
Registered: January 2010
Member
The problem is indeed upstart.
You need to mount some directories, usually done by initramfs, and start some things manually.

Maybe this will help:

description "upstart with openvz"

start on startup

task
pre-start script
    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
end script

script
    init 2
    ifconfig lo 127.0.0.1
    /etc/init.d/networking restart
    start rsyslog
end script



Create this file and copy it to (the container) /etc/init/openvz.conf

Both Karmic and Lucid expect a newer kernel version, but most things will work.

Regards,

[Updated on: Mon, 15 February 2010 10:28]

Report message to a moderator

 
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: Wed Oct 01 22:48:20 GMT 2025

Total time taken to generate the page: 0.09857 seconds