[lxc-users] lxc-start failed

Serge Hallyn serge.hallyn at ubuntu.com
Wed Oct 1 15:08:02 UTC 2014


Quoting Thouraya TH (thouraya87 at gmail.com):
> Hello,
> 
> Please i need a help.

What distro/release are you on, and how did you install lxc?

> ##
> # The default user is 'ubuntu' with password 'ubuntu'!
> # Use the 'sudo' command to run tasks as root in the container.
> ##
> 
> root at thouraya-Lenovo-3000-N500:~# *sudo lxc-start -n u4*
> lxc-start: lxc_start.c: main: 337 The container failed to start.
> lxc-start: lxc_start.c: main: 339 To get more details, run the container in
> foreground mode.
> lxc-start: lxc_start.c: main: 341 Additional information can be obtained by
> setting the --logfile and --logpriority options.
> 
> root at thouraya-Lenovo-3000-N500:~# *sudo lxc-start -F -n u4*
> lxc-start: conf.c: instanciate_veth: 2817 failed to attach 'vethVBF6LH' to
> the bridge 'lxcbr0' : Operation not permitted

Well that's funky.  Could you show the container config flie, and
the output of:

ifconfig -a
sudo brctl show
sudo ip link add type veth
sudo ls /sys/class/net
sudo brctl addif lxcbr0 veth0
sudo brctl delif lxcbr0 veth0

> lxc-start: conf.c: lxc_create_network: 3100 failed to create netdev
> lxc-start: start.c: lxc_spawn: 829 failed to create the network
> lxc-start: start.c: __lxc_start: 1087 failed to spawn 'u4'
> lxc-start: lxc_start.c: main: 337 The container failed to start.
> lxc-start: lxc_start.c: main: 341 Additional information can be obtained by
> setting the --logfile and --logpriority options.
> 
> root at thouraya-Lenovo-3000-N500:~# uname -a
> Linux thouraya-Lenovo-3000-N500 3.11.0-26-generic #45~precise1-Ubuntu SMP
> Tue Jul 15 04:02:35 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> root at thouraya-Lenovo-3000-N500:~# uname -m
> x86_64
> 
> 
> 
> 
> 
> 
> Thanks a lot.
> Best Regards.

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list