Hi, I tried to install Xen 4.2 RC4 on Debian Wheezy. I followed the instructions here: <http://wiki.xen.org/wiki/Xen_4.2_RC2_test_instructions> ./configure make world make deb then sudo dpkg -i --force-overwrite dist/xen-upstream-4.2.0-rc4.deb I used --force-overwrite so that I didn''t have to uninstall my libxenstore package on which several other things depend. then sudo update-grub I rebooted and selected Xen 4.2 # xm Traceback (most recent call last): File "/usr/sbin/xm", line 5, in <module> from xen.xm import main ImportError: No module named xen.xm # xl list libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running? failed to stat /var/run/xenstored.pid: No such file or directory cannot init xl context # service xen start Not running within Xen or no compatible utils ... (warning). Doesn''t seem to work terribly well, and I cannot find any instructions on how to fix those problems.
On Mon, 2012-09-10 at 16:08 +0100, Mathias Gaunard wrote:> Hi, I tried to install Xen 4.2 RC4 on Debian Wheezy. > > I followed the instructions here: > <http://wiki.xen.org/wiki/Xen_4.2_RC2_test_instructions> > > ./configure > make world > make deb > > then sudo dpkg -i --force-overwrite dist/xen-upstream-4.2.0-rc4.deb > > I used --force-overwrite so that I didn''t have to uninstall my > libxenstore package on which several other things depend. > > then sudo update-grub > > I rebooted and selected Xen 4.2 > > # xm > Traceback (most recent call last): > File "/usr/sbin/xm", line 5, in <module> > from xen.xm import main > ImportError: No module named xen.xm > > # xl list > libxl: error: libxl.c:87:libxl_ctx_alloc: Is xenstore daemon running? > failed to stat /var/run/xenstored.pid: No such file or directory > cannot init xl context > > # service xen start > Not running within Xen or no compatible utils ... (warning).The xen initscript is part of the Debian packaging, which is leftover due to your use of force above. The xen supplied script is called "xencommons".> Doesn''t seem to work terribly well, and I cannot find any instructions > on how to fix those problems.I suspect they mostly stem from you forcing the package manager to do something it didn''t want to. I''m afraid that bug reports arising from a system which has had this done to it are of rather low value. Ian.
On 09/10/2012 05:23 PM, Ian Campbell wrote:>> # service xen start >> Not running within Xen or no compatible utils ... (warning). > > The xen initscript is part of the Debian packaging, which is leftover > due to your use of force above.It''s part of xen-utils-common, which is not installed on my system anymore. I used to have xen from the debian repositories installed, which I uninstalled as the instructions said. It''s possible it didn''t remove all files. In any case, I fixed the Python path problem and starting with xencommons works correctly. One of my VMs has however disappeared. The others migrated successfully.> > The xen supplied script is called "xencommons". > >> Doesn''t seem to work terribly well, and I cannot find any instructions >> on how to fix those problems. > > I suspect they mostly stem from you forcing the package manager to do > something it didn''t want to.I only forced it to erase /usr/lib/libxenstore.so.3.0.0> I''m afraid that bug reports arising from a system which has had this > done to it are of rather low value.This is not a bug report. Just a user trying to use what will likely become a release.
On Mon, 2012-09-10 at 16:55 +0100, Mathias Gaunard wrote:> On 09/10/2012 05:23 PM, Ian Campbell wrote: > > >> # service xen start > >> Not running within Xen or no compatible utils ... (warning). > > > > The xen initscript is part of the Debian packaging, which is leftover > > due to your use of force above. > > It''s part of xen-utils-common, which is not installed on my system anymore.Did you purge it? On Debian conffiles (which includes initscripts) are not removed when you remove a package, you need to purge a package to get rid of everything. Ian.