[lxc-devel] Lxc container wont start !

Tchize Matias tchize.matias at ratedpeople.com
Thu May 8 15:27:00 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Guys,

I hope you guys can help me out. I am trying to bring a linux containers
up it is a Ubuntu 12.04 box amd64.
I have made an exact of this container from another container working in
a different Server, I did that before with another container and
it worked just fine. I have copied two machines (test.ma1 and test.ma2 )
all container using "rsync -avpH -numeric-ids
/copy/container/dir/test.ma1" command.

The test.ma2 is working just fine but when I try to start the machine
test.ma1  I get this error..

"lxc-start: command get_cgroup failed to receive response "

Then, I've tried to start it with debugging mode on ...

" ~# lxc-start -d -n test.ma1 -o lxc-start.log -l DEBUG " then I get
this logs ..

lxc-start 1399561470.985 INFO     lxc_start_ui - using rcfile
/var/lib/lxc/test.ma1/config
      lxc-start 1399561470.985 WARN     lxc_log - lxc_log_init called
with log already initialized
      lxc-start 1399561470.995 INFO     lxc_lsm - LSM security driver
AppArmor
      lxc-start 1399561470.996 DEBUG    lxc_conf - allocated pty
'/dev/pts/3' (7/8)
      lxc-start 1399561470.996 DEBUG    lxc_conf - allocated pty
'/dev/pts/9' (9/10)
      lxc-start 1399561470.996 DEBUG    lxc_conf - allocated pty
'/dev/pts/10' (11/12)
      lxc-start 1399561470.996 DEBUG    lxc_conf - allocated pty
'/dev/pts/11' (13/14)
      lxc-start 1399561470.996 INFO     lxc_conf - tty's configured
      lxc-start 1399561470.996 DEBUG    lxc_start - sigchild handler set
      lxc-start 1399561470.996 DEBUG    lxc_console - no console peer
      lxc-start 1399561470.996 INFO     lxc_start - 'test.ma1' is
initialized
      lxc-start 1399561471.004 INFO     lxc_monitor - using monitor sock
name lxc/ad055575fe28ddd5//var/lib/lxc
      lxc-start 1399561471.006 DEBUG    lxc_start - Not dropping
cap_sys_boot or watching utmp
      lxc-start 1399561471.009 DEBUG    lxc_conf - instanciated veth
'vethBO25M2/vethWQ4SD5', index is '204'
      lxc-start 1399561471.009 INFO     lxc_cgroup - cgroup driver
cgmanager initing for wordpressdb.preprod
      lxc-start 1399561471.017 INFO     lxc_cgmanager - cgroup limits
have been setup
      lxc-start 1399561471.050 DEBUG    lxc_conf - move '(null)' to '27152'
      lxc-start 1399561471.050 INFO     lxc_conf - 'test.ma1' hostname
has been setup
      lxc-start 1399561471.074 DEBUG    lxc_conf - 'eth0' has been setup
      lxc-start 1399561471.074 INFO     lxc_conf - network has been setup
      lxc-start 1399561471.077 DEBUG    lxc_conf - mounted
'/var/lib/lxc/test.ma1/rootfs' on '/usr/lib/x86_64-linux-gnu/lxc'
      lxc-start 1399561471.077 DEBUG    lxc_conf - Set exec command to
/sbin/init
      lxc-start 1399561471.077 INFO     lxc_conf - Autodev not required.
      lxc-start 1399561471.077 DEBUG    lxc_conf - mounted 'proc' on
'/usr/lib/x86_64-linux-gnu/lxc/proc', type 'proc'
      lxc-start 1399561471.077 DEBUG    lxc_conf - mounted 'sysfs' on
'/usr/lib/x86_64-linux-gnu/lxc/sys', type 'sysfs'
      lxc-start 1399561471.077 INFO     lxc_conf - mount points have
been setup
      lxc-start 1399561471.077 INFO     lxc_conf - created
/usr/lib/x86_64-linux-gnu/lxc/dev/lxc
      lxc-start 1399561471.077 ERROR    lxc_conf - Input/output error -
error 5 creating /usr/lib/x86_64-linux-gnu/lxc/dev/lxc/console
      lxc-start 1399561471.077 ERROR    lxc_conf - failed to setup the
console for 'test.ma1'
      lxc-start 1399561471.077 ERROR    lxc_start - failed to setup the
container
      lxc-start 1399561471.077 ERROR    lxc_sync - invalid sequence
number 1. expected 2
      lxc-start 1399561471.077 WARN     lxc_conf - failed to remove
interface '(null)'
      lxc-start 1399561471.114 ERROR    lxc_start - failed to spawn
'test.ma1'
      lxc-start 1399561471.114 ERROR    lxc_commands - command
get_cgroup failed to receive response

- -- 
Tchize Matias

Linux & Windows System Administrator

E | tchize.matias at ratedpeople.com

Rated People Ltd | 66 Buckingham Gate London SW1E 6AU | Registered in
London | Company no. 5540422 | VAT no. 872933492

The information in this email is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
email by anyone else is unauthorised. If you are not the intended
recipient, any disclosure, copying, distribution or any action taken or
omitted to be taken in reliance on it, is prohibited and may be unlawful.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTa6JEAAoJENfzE1L1Z893iQcH/1jQhBC67vNN/pO/YRTj6ilf
3UPdkWSai1o42eY+uNZgq+I3ZbF1P1TqDUCQufJ7C6pPDp/KSp0tuJ5/aRo7aZQa
RlUakg8BYXVfWhLyAHKUMQ9C19GwMiK8qaGPAVPZps0SL9dR6EI5mxdZ26EaaBfu
shJqgVOM0HnnvT+uWQGoV8Fhp1bqxMywNAMS7g921fyv57wh6Tbwl2qJbo6Of0bO
+EwLn4dx+e5KAF3gOsteq7izfHM4mwhYPRx9g5bi8JCxMA2+nnS4ei8OGhrU5/Ou
tBPPVeyrpJWzcnHsK032aODXsxvZbKojjpcCIYvJVYsX+ie7sM1wD7g2S2uha9c=
=9OoK
-----END PGP SIGNATURE-----



More information about the lxc-devel mailing list