[Lxc-users] Unable to shudown

Dean Montgomery dmonty at sd73.bc.ca
Tue Jul 9 20:12:49 UTC 2013


I'm unable to properly shutdown an ubuntu 12.04 guest on debian wheezy host.

lxc-shutdown -n vs1
telinit: Failed to connect to socket /com/ubuntu/upstart: Connection refused


>From within the guest I'm unable to shutdown or restart

ssh vs1
sudo shutdown -h now
 ( does nothing )

telinit 0
 ( does nothing )

runlevel
0 0

root at vs1# ps auxwww
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   5352  1832 ?        Ss   10:17   0:00 /sbin/init
root        55  0.0  0.0   3312  3304 ?        S<L  10:17   0:00 /usr/bin/atop -a -w /var/log/atop.log 600
nobody      71  0.0  0.0   2420   668 ?        Ss   10:17   0:00 /usr/bin/gdomap -I /var/run/gdomap.pid -p
102         86  0.0  0.0   3380   980 ?        Ss   10:17   0:00 dbus-daemon --system --fork --activation=upstart
root       149  0.0  0.0   2700   828 ?        Ss   10:17   0:00 rpcbind -w
statd      171  0.0  0.0   2960  1216 ?        Ss   10:17   0:00 rpc.statd -L
root       181  0.0  0.0  10256  3540 ?        Ss   10:17   0:00 sshd: dmonty [priv] 
root       184  0.0  0.0  34396  3976 ?        Sl   10:17   0:00 /usr/sbin/console-kit-daemon --no-daemon
root       252  0.0  0.0  26308  3396 ?        Sl   10:17   0:00 /usr/lib/policykit-1/polkitd --no-debug
dmonty     258  0.0  0.0  10520  1740 ?        R    10:17   0:00 sshd: dmonty at pts/0  
dmonty     259  0.0  0.1  12664  7824 pts/0    Ss   10:17   0:00 -bash


The only thing that I can do is abruptly stop it without shutting down the processes properly:
lxc-stop -n vs1


-- 
Dean Montgomery
Network Support Tech./Programmer
School District #73



----This message appears to be signed.  Please press the [SD73 Verifier] button to confirm authenticity.----
$-$-%-$RGVhbiBNb250Z29tZXJ5OklUIFNlcnZpY2VzOlZXNWhZbXhsSUhSdklITm9kV1J2ZDI0PToyMDEzLTctOQ==$ 4be6bcd1dc2134f5c2b0a8356296ca0f% 0f29fe13e2a63e98f60b1ee445877fff$-$-%-$
----Any part of the message that appears below this point is not guaranteed to be from the author of this message and should be IGNORED.----




More information about the lxc-users mailing list