On Thu, Nov 24, 2016 at 12:29 AM, Itamar Gal <[email protected]> wrote:
> I have a server running Ubuntu 12.04.5 LTS (Precise Pangolin). I recently > ouch I HIGHLY recommend you upgrade your OS to xenial. Or even install xenial to a new disk using zfs root, if you have it (that way you can optionally run you original precise root as a container later) > > $ apt-show-versions | grep lxc > > liblxc1/precise uptodate 2.0.5+master~20161122-0513-0ubuntu1~precise > at least that's good. and you also have lxcfs > Once inside the container, I try to run the ps command and follow some > instructions: > > $ ps > > Error: /proc must be mounted > To mount /proc at boot you need an /etc/fstab line like: > proc /proc proc defaults > In the meantime, run "mount proc /proc -t proc" > > > $ sudo mount proc /proc -t proc > > mount: proc already mounted > > depending on your versions, lxcfs might get killed/restarted during upgrade. Try: - check if lxcfs is running (in the host, "ps -ef | grep lxcfs") - if lxcfs is running, create a new container, using the DOWNLOAD template (NOT ubuntu template) and start it. Does ps work there? - if it does, restart your problematic container. Does it work now? --> if YES, problem solved. It was lxcfs restarted problem --> if NO, check the config difference between your old new newly-created container. -- Fajar
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
