[Lxc-users] failed to rename cgroup ?

陈竞 cj.magina at gmail.com
Wed Mar 7 09:46:38 UTC 2012


i'm not running vsftpd in lxc, i just want to run lxc-sshd in cotainer to
start a sshd container,
it seems that my host kernel is too old for lxc-0.80

在 2012年3月7日 下午5:41,Brian K. White <brian at aljex.com>写道:

> Are you running vsftpd inside the container?
> If so, make sure it has these two lines in /etc/vsftpd.conf (in the
> container not the host)
>
> # LXC compatibility
> #
> http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg01110.html
> isolate=NO
> isolate_network=NO
>
> Do the same for all containers.
>
> Then reboot the host, because you can't clear the problem any other way,
> only prevent it from happening in the first place.
>
> Then see if you still have a problem shutting down and restarting that
> container.
>
> --
> bkw
>
>
> On 3/7/2012 4:32 AM, 陈竞 wrote:
> > i dont konw how to solve the problem, can you give me some advise? thank
> you
> >
> > 在 2012年3月7日 下午5:04,Papp Tamas <tompos at martos.bme.hu
> > <mailto:tompos at martos.bme.hu>>写道:
> >
> >     On 03/07/2012 09:58 AM, 陈竞 wrote:
> >      > i want to start lxc-sshd, but get error:
> >      >
> >      > localhost lxc # /usr/local/bin/lxc-start -n sshd
> >      > lxc-start: No such file or directory - failed to rename cgroup
> >      > /cgroup//lxc/9740->/cgroup//lxc/sshd
> >      > lxc-start: failed to spawn 'sshd'
> >      > lxc-start: No such file or directory - failed to remove cgroup
> >      > '/cgroup//lxc/sshd'
> >      >
> >      > what does it mean?
> >
> >     Remove, not rename.
> >
> >     tamas
> >
> >
> ------------------------------------------------------------------------------
> >     Virtualization & Cloud Management Using Capacity Planning
> >     Cloud computing makes use of virtualization - but cloud computing
> >     also focuses on allowing computing to be delivered as a service.
> >     http://www.accelacomm.com/jaw/sfnl/114/51521223/
> >     _______________________________________________
> >     Lxc-users mailing list
> >     Lxc-users at lists.sourceforge.net <mailto:
> Lxc-users at lists.sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/lxc-users
> >
> >
> >
> >
> > --
> > 陈竞,中科院计算技术研究所,高性能计算机中心
> > Jing Chen HPCC.ICT.AC <http://HPCC.ICT.AC> China
> >
> >
> >
> ------------------------------------------------------------------------------
> > Virtualization&  Cloud Management Using Capacity Planning
> > Cloud computing makes use of virtualization - but cloud computing
> > also focuses on allowing computing to be delivered as a service.
> > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> >
> >
> >
> > _______________________________________________
> > Lxc-users mailing list
> > Lxc-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>



-- 
陈竞,中科院计算技术研究所,高性能计算机中心
Jing Chen HPCC.ICT.AC China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120307/2e52ea19/attachment.html>


More information about the lxc-users mailing list