[Lxc-users] Error creating cgroups

lhffjzh lhffjzh at 126.com
Fri Jun 7 01:16:38 UTC 2013


Hi Serge,

Do you know how about following errors? seems create cgroup failed, but I
checked cgroup dir is ok, I list OS/configuration message below, please help
me. 

[root at Dev_2_A ProjectCode]# cat Cmd/LXC_Cmd/LXC_out.log 
lxc-execute: Error creating cgroups
lxc-execute: failed to spawn 'bitlxc'

[root at Dev_2_A ProjectCode]# uname -a
Linux Dev_2_A 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 03:51:51 BST 2011
x86_64 x86_64 x86_64 GNU/Linux

[root at Dev_2_A ProjectCode]# ls /cgroup/
blkio  cpu  cpuacct  cpuset  devices  freezer  memory  net_cls
[root at Dev_2_A ProjectCode]# /etc/init.d/cgconfig status
Running
[root at Dev_2_A ProjectCode]#

[root at Dev_2_A ProjectCode]# cat Cmd/LXC_Cmd/LXC_cfg.in 
lxc.utsname = bitlxc 
lxc.pts = 1024

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = bitbr2
lxc.network.name = eth2
lxc.network.mtu = 9000

# Traffic pass through FortiGate by route
lxc.network.ipv4 = 10.16.1.2/24
lxc.network.ipv4.gateway = 10.16.1.1




Thanks and Regards,
Haifeng







More information about the lxc-users mailing list