On 09/14/2010 09:51 PM, l...@jelmail.com wrote: > Hello, > > I have been using LXC and getting on ok. However, today, I encountered a > problem after shutting down a container. I currently have 3 containers that > all start fine on boot. > > Starting a container after shutting it down (from inside with "halt") now > gives this: >
What is the distro you are running inside the container ? What is the lxc and kernel version ? > # lxc-start -n mycontainer > lxc-start: Permission denied - failed to create pty #0 > lxc-start: failed to create the ttys > lxc-start: failed to initialize the container > > I also noticed that I can't ssh into a running container which worked fine > until I saw the above happen. I now get this: > > # ssh r...@10.0.200.2 > r...@10.0.200.2's password: > PTY allocation request failed on channel 0 > > Now I have seen a few things on google about the latter but these have not > helped. Specifically, I do have /dev/pts/ptmx defined. My configs are below: > [ ... ] > I have also seen this appear on some console windows: > Cannot chmod /dev/pts/4 to 620 currently 600: Read-only file system > Hmm, weird. Is there any message in /var/log/messages ? Is it possible to show the content of /proc/mounts ? > If I reboot it will work fine but I can't keep rebooting my host every time > I want to re-start a container. I would appreciate any help on this. Thanks. > What is the better way to reproduce it ? Thanks -- Daniel ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users