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