Subject: Guest Restart Issue
From: Madog <madogdevelopment@gmail.com>
Date: Sun, 24 Nov 2013 12:00:17 -0500

 Sun, 24 Nov 2013 12:00:17 -0500
Hi All:

Periodically I get a weird restart issue with one of my guests (I'm running Gnome in
the guest, and have a encrypted mount there too using EncFS) and I can no longer remote
via X to the guest (am using x2go).   I can still access data on the guest from the
host and if I build a new guest and copy over ~/home things function again.  I'm using
Debian Squeeze.

Output is shown below that shows I believe several errors including "Perhaps there is
a stale lock file?" at the end of the restart….any suggestions?   Thanks!

vserver VserverGuestXYZ stop
Using makefile-style concurrent boot in runlevel 6.
Shutting down ALSA...done (none loaded).
Stopping GNOME Display Manager: gdm.
Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Checking for running unattended-upgrades: Asking all remaining processes to terminate...done.
Currently running processes (pstree):
init-+-cupsd-+-5016*[cpdftocps]
     |       |-1067*[cups-x2go]
     |       |-7349*[cupsd]
     |       `-6588*[pdftopdf]
     `-rsyslogd---3*[{rsyslogd}]
Killing all remaining processes...failed.
Stopping enhanced syslogd: rsyslogd/usr/lib/util-vserver/vserver.stop: line 98: 12309
Killed                  "${IONICE CMD[@]}" "${NICE CMD[@]}" "${CHBIND CMD[@]}" "$ VSPACE"
--enter "$S CONTEXT" "${OPTS VSPACE[@]}" -- "$ VTAG" --migrate "${OPTS VTAG ENTER[@]}"
--silent -- $ VCONTEXT $SILENT OPT --migrate $OPT VCONTEXT CHROOT --xid "$S CONTEXT"
-- "${INITCMD STOP[@]}"
A timeout occured while waiting for the vserver to finish and it will
be killed by sending a SIGKILL signal. The following process list
might be useful for finding out the reason of this behavior:

----------------------------------------------------------------------
12309 40031 VserverXYZ.domainname.com ?        S+     0:00                         
\  /bin/sh /etc/init.d/rc 6
12321 40031 VserverXYZ.domainname.com?        S+     0:00                          
   \  startpar -p 4 -t 20 -
16483 40031 VserverXYZ.domainname.com ?        S      0:00                         
        \  /bin/sh /etc/init
16600 40031 VserverXYZ.domainname.com ?        S      0:00                         
            \  start-stop-da
 6111 40031 VserverXYZ.domainname.com?        Sl     0:00 /usr/sbin/rsyslogd -c4
----------------------------------------------------------------------

vserver VserverXYZ status
Vserver 'VserverXYZ' is stopped


vserver vserverXYZ start
Using makefile-style concurrent boot in runlevel 3.
Starting enhanced syslogd: rsyslogd.
Loading cpufreq kernel modules...done (none).
CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled, governor not available...done.
Starting periodic command scheduler: cron.
Starting NTP server: ntpd.
Starting system message bus: dbus.
Can't start Hardware abstraction layer - sysfs not mounted on /sys ... failed!
Starting OpenBSD Secure Shell server: sshd.
Cleaning up stale X2Go sessions.
Starting GNOME Display Manager: gdm.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting Common Unix Printing System: cupsdFATAL: Could not load /lib/modules/2.6.32-5-vserver-686/modules.dep:
No such file or directory
FATAL: Could not load /lib/modules/2.6.32-5-vserver-686/modules.dep: No such file or
directory
FATAL: Could not load /lib/modules/2.6.32-5-vserver-686/modules.dep: No such file or
directory
.
Enabling additional executable binary formats: binfmt-supportFATAL: Could not load /lib/modules/2.6.32-5-vserver-686/modules.dep:
No such file or directory
Cannot create link /etc/mtab~
Perhaps there is a stale lock file?