[Lxc-users] Error creating cgroups

lhffjzh lhffjzh at 126.com
Fri Jun 7 01:53:44 UTC 2013


Hi Serge,

I found the reason just now, the Linux build on a Virtual Machine by a
colleague, so it was failed. I think it is ok on a physical OS.



Thanks and Regards,
Haifeng

-----Original Message-----
From: lxc-users-bounces at lists.sourceforge.net
[mailto:lxc-users-bounces at lists.sourceforge.net] On Behalf Of lhffjzh
Sent: Friday, June 07, 2013 9:27 AM
To: 'Serge Hallyn'
Cc: lxc-users at lists.sourceforge.net
Subject: Re: [Lxc-users] Error creating cgroups

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




----------------------------------------------------------------------------
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users






More information about the lxc-users mailing list