[Lxc-users] Error creating cgroups

lhffjzh lhffjzh at 126.com
Fri Jun 7 01:26:47 UTC 2013


Hi Serge,

Here is the kernel message/complain when I run "lxc-execute", FYI.

tail -f /var/log/messages

Jun  7 09:23:42 Dev_2_A kernel: device vethKTg9Vz entered promiscuous mode
Jun  7 09:23:42 Dev_2_A kernel: ADDRCONF(NETDEV_UP): vethKTg9Vz: link is not
ready
Jun  7 09:23:42 Dev_2_A kernel: lo: Disabled Privacy Extensions
Jun  7 09:23:42 Dev_2_A kernel: sit0: Disabled Privacy Extensions
Jun  7 09:23:42 Dev_2_A kernel: bitbr2: port 2(vethKTg9Vz) entering disabled
state
Jun  7 09:23:42 Dev_2_A kernel: bitbr2: port 2(vethKTg9Vz) entering disabled
state


Thanks and Regards,
Haifeng

-----Original Message-----
From: lhffjzh [mailto:lhffjzh at 126.com] 
Sent: Friday, June 07, 2013 9:17 AM
To: 'Serge Hallyn'
Cc: 'lxc-users at lists.sourceforge.net'
Subject: Error creating cgroups

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