Hi Serge,

On 08/17/13 15:29, Serge Hallyn wrote:
Quoting Harald Dunkel (ha...@afaics.de):
Hi folks,

Using the current (d24d56d7ee3420bb79238ff84cad07c20cf4757d)
version lxc-start gives me

# lxc-start -n lxc0
lxc-start: Failed to find current cgroup
lxc-start: Out of memory reading cgroups
lxc-start: failed to spawn 'lxc0'

The same container worked before for the lxc version checked out
on 130811. Unfortunately I don't have the ID for git.


???
Every helpful hint is highly appreciated.

Sounds like my fault then.  Can you please show:

        grep cgroup /proc/self/mountinfo
        cat /proc/self/cgroup
        cat /proc/cgroups

and then do

        lxc-start -n lxc0 -l info -o debug.out

and attach debug.out?


{root@cecil:result 385} lxc-start -n lxc0
lxc-start: Failed to find current cgroup
lxc-start: Out of memory reading cgroups
lxc-start: failed to spawn 'lxc0'
{root@cecil:result 385} grep cgroup /proc/self/mountinfo
25 19 0:18 / /cgroup rw,relatime - cgroup cgroup 
rw,perf_event,blkio,net_cls,freezer,devices,memory,cpuacct,cpu,cpuset,clone_children
{root@cecil:result 386} cat /proc/self/cgroup
1:perf_event,blkio,net_cls,freezer,devices,memory,cpuacct,cpu,cpuset:/
{root@cecil:result 387} cat /proc/cgroups
#subsys_name    hierarchy       num_cgroups     enabled
cpuset  1       2       1
cpu     1       2       1
cpuacct 1       2       1
memory  1       2       1
devices 1       2       1
freezer 1       2       1
net_cls 1       2       1
blkio   1       2       1
perf_event      1       2       1
{root@cecil:result 388} lxc-start -n lxc0 -l info -o debug.out
lxc-start: Failed to find current cgroup
lxc-start: Out of memory reading cgroups
lxc-start: failed to spawn 'lxc0'


See attachment


2bcontinued

Harri

      lxc-start 1376750272.667 INFO     lxc_start_ui - using rcfile 
/var/lib/lxc/lxc0/config
      lxc-start 1376750272.668 INFO     lxc_apparmor - aa_enabled set to 0

      lxc-start 1376750272.668 INFO     lxc_conf - tty's configured
      lxc-start 1376750272.668 INFO     lxc_start - 'lxc0' is initialized
      lxc-start 1376750272.681 INFO     lxc_conf - opened 
/export/storage/lxc/lxc0/rootfs.hold as fd 20

      lxc-start 1376750272.682 ERROR    lxc_cgroup - Failed to find current 
cgroup
      lxc-start 1376750272.682 ERROR    lxc_cgroup - Out of memory reading 
cgroups
      lxc-start 1376750272.707 ERROR    lxc_start - failed to spawn 'lxc0'
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to