osdir.com
mailing list archive F.A.Q. -since 2001!



Subject: [Lxc-users] lxc_namespace - failed to
clone(0x6c020000): Invalid argument - msg#00002

List: lxc-chroot-linux-containers

Mail Archive Navigation:
by Date: Prev Next Date Index by Thread: Prev Next Thread Index


After a minor kernel update lxc-start does not work any more:

root@vms2:/lxc# lxc-start -f bunny.cfg -n bunny -d -o /dev/tty
lxc-start 1306913218.901 ERROR lxc_namespace - failed to
clone(0x6c020000): Invalid argument
lxc-start 1306913218.901 ERROR lxc_start - Invalid argument - failed
to fork into a new namespace
lxc-start 1306913218.901 ERROR lxc_start - failed to spawn 'bunny'
lxc-start 1306913218.901 ERROR lxc_cgroup - No such file or directory
- failed to remove cgroup '/cgroup/bunny'

root@vms2:/lxc# uname -a; lxc-version
Linux vms2 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 x86_64
GNU/Linux
lxc version: 0.7.4.1

root@vms2:/lxc# mount | grep cgroup
none on /cgroup type cgroup (rw)



--
Ullrich Horlacher Server- und Arbeitsplatzsysteme
Rechenzentrum E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx
Universitaet Stuttgart Tel: ++49-711-685-65868
Allmandring 30 Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Lxc-users mailing list
Lxc-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/lxc-users

Thread at a glance:

Previous Message by Date:

Re: [Lxc-users] two NICs in container

On 06/01/2011 07:26 AM, Mihamina Rakotomandimby wrote: > Hi all, > > When I create a container, I usually created it with only one NIC: > [...] > lxc.network.type = veth > lxc.network.flags = up > lxc.network.link = br0 > lxc.network.ipv4 = 41.204.96.2/28 > lxc.network.name = eth0 > [...] > > Now I want to create a container with 2 NICs > On the host I have another bridge "br1", and I wan the 2nd container > interface to be "eth1" > > How to? lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 lxc.network.ipv4 = 41.204.96.2/28 lxc.network.name = eth0 lxc.network.type = veth lxc.network.flags = up lxc.network.link = br1 lxc.network.ipv4 = myip/28 lxc.network.name = eth1 Alternatively you can get ride of the virtual interface name because they automatically assigned. lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 lxc.network.ipv4 = 41.204.96.2/28 lxc.network.type = veth lxc.network.flags = up lxc.network.link = br1 lxc.network.ipv4 = myip/28 ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Lxc-users mailing list Lxc-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/lxc-users

Next Message by Date:

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

On 06/01/2011 09:35 AM, Ulli Horlacher wrote: > After a minor kernel update lxc-start does not work any more: > > root@vms2:/lxc# lxc-start -f bunny.cfg -n bunny -d -o /dev/tty > lxc-start 1306913218.901 ERROR lxc_namespace - failed to > clone(0x6c020000): Invalid argument > lxc-start 1306913218.901 ERROR lxc_start - Invalid argument - > failed to fork into a new namespace > lxc-start 1306913218.901 ERROR lxc_start - failed to spawn 'bunny' > lxc-start 1306913218.901 ERROR lxc_cgroup - No such file or > directory - failed to remove cgroup '/cgroup/bunny' > > root@vms2:/lxc# uname -a; lxc-version > Linux vms2 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 > x86_64 GNU/Linux > lxc version: 0.7.4.1 > > root@vms2:/lxc# mount | grep cgroup > none on /cgroup type cgroup (rw) Can you show the content of the /cgroup root directory please ? ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Lxc-users mailing list Lxc-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/lxc-users

Previous Message by Thread:

[Lxc-users] two NICs in container

Hi all, When I create a container, I usually created it with only one NIC: [...] lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 lxc.network.ipv4 = 41.204.96.2/28 lxc.network.name = eth0 [...] Now I want to create a container with 2 NICs On the host I have another bridge "br1", and I wan the 2nd container interface to be "eth1" How to? -- RMA. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Lxc-users mailing list Lxc-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/lxc-users

Next Message by Thread:

Re: [Lxc-users] lxc_namespace - failed to clone(0x6c020000): Invalid argument

On 06/01/2011 09:35 AM, Ulli Horlacher wrote: > After a minor kernel update lxc-start does not work any more: > > root@vms2:/lxc# lxc-start -f bunny.cfg -n bunny -d -o /dev/tty > lxc-start 1306913218.901 ERROR lxc_namespace - failed to > clone(0x6c020000): Invalid argument > lxc-start 1306913218.901 ERROR lxc_start - Invalid argument - > failed to fork into a new namespace > lxc-start 1306913218.901 ERROR lxc_start - failed to spawn 'bunny' > lxc-start 1306913218.901 ERROR lxc_cgroup - No such file or > directory - failed to remove cgroup '/cgroup/bunny' > > root@vms2:/lxc# uname -a; lxc-version > Linux vms2 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 > x86_64 GNU/Linux > lxc version: 0.7.4.1 > > root@vms2:/lxc# mount | grep cgroup > none on /cgroup type cgroup (rw) Can you show the content of the /cgroup root directory please ? ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Lxc-users mailing list Lxc-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/lxc-users
blog comments powered by Disqus

Home | News | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz is too!