Failed to spawn test

Posted by Lost on Ask Ubuntu See other posts from Ask Ubuntu or by Lost
Published on 2012-09-07T21:40:49Z Indexed on 2012/09/07 21:50 UTC
Read the original article Hit count: 344

Filed under:
|

Running a simple test in Ubuntu 12.04:

sudo lxc-execute -n test /bin/bash -l debug -o outout

Got error message: lxc-execute: failed to spawn 'test'

cat outout:

lxc-execute 1347053658.113 DEBUG    lxc_start - sigchild handler set
lxc-execute 1347053658.113 INFO     lxc_start - 'test' is initialized
lxc-execute 1347053658.366 DEBUG    lxc_start - Dropping cap_sys_boot and watching utmp

lxc-execute 1347053658.366 DEBUG    lxc_cgroup - checking '/' (rootfs)
lxc-execute 1347053658.366 DEBUG    lxc_cgroup - checking '/sys' (sysfs)
lxc-execute 1347053658.366 DEBUG    lxc_cgroup - checking '/proc' (proc)
lxc-execute 1347053658.366 DEBUG    lxc_cgroup - checking '/dev' (devtmpfs)
lxc-execute 1347053658.366 DEBUG    lxc_cgroup - checking '/dev/pts' (devpts)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/run' (tmpfs)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/' (ext3)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/sys/fs/fuse/connections' (fusectl)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/sys/kernel/debug' (debugfs)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/sys/kernel/security' (securityfs)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/run/lock' (tmpfs)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/run/shm' (tmpfs)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/run/rpc_pipefs' (rpc_pipefs)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/scratch/WAMC-Simulation' (nfs)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/share' (nfs)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/proj/WAMC-Simulation' (nfs)
lxc-execute 1347053658.367 DEBUG    lxc_cgroup - checking '/users/bhu' (nfs)
lxc-execute 1347053658.367 ERROR    lxc_start - failed to spawn 'test'

Run command:

sudo lxc-checkconfig

Kernel config /proc/config.gz not found, looking in other places...

Found kernel config file /boot/config-2.6.38.7-1.0emulab

--- Namespaces ---

Namespaces: enabled

Utsname namespace: enabled

Ipc namespace: enabled

Pid namespace: enabled

User namespace: enabled

Network namespace: enabled

Multiple /dev/pts instances: enabled

--- Control groups ---

Cgroup: enabled

Cgroup namespace: enabled

Cgroup device: enabled

Cgroup sched: enabled

Cgroup cpu account: enabled

Cgroup memory controller: enabled

Cgroup cpuset: enabled

--- Misc ---

Veth pair device: enabled

Macvlan: enabled

Vlan: enabled

File capabilities: enabled

Note : Before booting a new kernel, you can check its configuration

usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig

What's the problem? Thanks a lot

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about lxc