Good afternoon all, I''m by no means a linux/xen specialist and this has me completely bamboozled!!! legacy remote system which does firewall, dmz, routing etc. guy who built it is long gone and his notes don''t help. system has been very efficiently running Xen on gentoo for circa 5 years. power failure caused ungraceful shutdown - not the first outage but no problems until now. restarts and syslog looks good to me for host kernel - after all I can remote login and su to root. I see xenblkd running (sleeping) but nothing else to do with xen in sight. here is data that I hope might help someone enlighten me with the nub of the problem: vmlinuz-2.6.11. xen-2.0.6 tried ''xend start'' from root and got: --- Traceback (most recent call last): File "/usr/sbin/xend", line 27, in ? from xen.xend.server import SrvDaemon File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 35, in ? from xen.xend.server import SrvServer File "/usr/lib/python/xen/xend/server/SrvServer.py", line 28, in ? from twisted.web import server, static ImportError: No module named web --- "ImportError: No module named web" - so where did it suddenly go? or is this masking some other issue? I''ve read various similar posts but all were in the context of a recent update to xen or python or whatever. now, I know we have made no updates, no software changes of any kind so logically let alone technically I am up the proverbial gum tree. very grateful for any help cheers Richard -- View this message in context: http://xen.1045712.n5.nabble.com/Xen-not-restarting-after-power-interruption-tp5708972.html Sent from the Xen - User mailing list archive at Nabble.com.
Niels Dettenbach (Syndicat IT&Internet)
2012-May-20 09:20 UTC
Re: Xen not restarting after power interruption
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 richardsambell <richard.sambell@modulartelecoms.co.uk> schrieb:>vmlinuz-2.6.11. > xen-2.0.6Uhaa! This seems *very* old and outdated from a security view and other things. Hope your machine is not running on public networks - but if you talk about "firewalling" i assume it is at least exposed to potentially insecure networks. So this might be urgent. From this point it could make sense to backup / copy over your DomUs and update or reinstall (as att gentoo and xen was very "new" and usually configured "by hand" i would prefer to do a reinstall) your Gentoo / Xen to a current version of Xen and kernel. Then copy back your DomUs and start it. You may have to check the network configuration before proceeding (if possible) or copy old /etc/confid/net and /etc/xen for your reference what was happen. Gentoo has changed network configuration syntax slightly (see /etc/conf.d/net.example) and xen has changed some default names in the network devices / bridge config. See changes on xen wiki for upgrading notes if required. Setting up Xen with Gentoo is much more easy today as att of 2.0 and there are some helpful HOWTOs out i.e. in several wikis.>tried ''xend start'' from root and got: > >--- >Traceback (most recent call last): > File "/usr/sbin/xend", line 27, in ? > from xen.xend.server import SrvDaemon > File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 35, in ? > from xen.xend.server import SrvServer > File "/usr/lib/python/xen/xend/server/SrvServer.py", line 28, in ? > from twisted.web import server, static > ImportError: No module named web > --- > >"ImportError: No module named web" - so where did it suddenly go? or is >this >masking some other issue?Hmm, if you or the host really did no other thing (i.e. some update automatics) in between then ungraceful restart it might be that one or several files was "gonge" during a filesystem repair after the hard shutdown. Try to find if "web" is there somewhere in the filesystem or if it could be loaded from your xens python. If not you can try to find copies from that files to replace it into your system. hth best regards, Niels. - -- Niels Dettenbach Syndicat IT&Internet http://www.syndicat.com -----BEGIN PGP SIGNATURE----- Version: APG v1.0.8 iIEEAREIAEEFAk+4t1M6HE5pZWxzIERldHRlbmJhY2ggKFN5bmRpY2F0IElUJklu dGVybmV0KSA8bmRAc3luZGljYXQuY29tPgAKCRBU3ERlZRyiDd0yAJ0eczOttYeN CcTIZ0XmHBW3nWXdmQCgg4yzLy7egbRVBCanRs6h9wtbL5s=u2h6 -----END PGP SIGNATURE-----