FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2006
    Posts
    2

    Xen fails after upgrade on FC5

    Hi,

    I just updated my xen machine (yum update), and now xend does not seem to start properly:

    Code:
    [root@towel ~]# uname -a
    Linux towel.vogons.av 2.6.18-1.2200.fc5xen0 #1 SMP Sat Oct 14 17:49:47 EDT 2006 i686 athlon i386 GNU/Linux
    [root@towel ~]# rpm -qa|grep xen
    kernel-xen0-2.6.17-1.2174_FC5
    xen-3.0.2-5.fc5
    kernel-xenU-2.6.17-1.2174_FC5
    kernel-xenU-2.6.18-1.2200.fc5
    kernel-xen0-2.6.18-1.2200.fc5
    [root@towel ~]# rm /var/log/xen/xend*
    [root@towel ~]# service xend restart
    restart xend:                                              [  OK  ]
    [root@towel ~]# cat /var/log/xen/xend.log
    [2006-10-28 12:21:21 xend 2368] INFO (SrvDaemon:283) Xend Daemon started
    [2006-10-28 12:21:21 xend 2368] INFO (SrvDaemon:287) Xend changeset: unavailable .
    [2006-10-28 12:21:21 xend 2368] ERROR (SrvDaemon:297) Exception starting xend ((111, 'Connection refused'))
    Traceback (most recent call last):
      File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 291, in run
        servers = SrvServer.create()
      File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line 108, in create
        root.putChild('xend', SrvRoot())
      File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40, in __init__
        self.get(name)
      File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get
        val = val.getobj()
      File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj
        self.obj = klassobj()
      File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 39, in __init__
        self.xd = XendDomain.instance()
      File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 636, in instance
        inst.init()
      File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 71, in init
        xstransact.Mkdir(VMROOT)
      File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line 345, in Mkdir
        complete(path, lambda t: t.mkdir(*args))
      File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line 351, in complete
        t = xstransact(path)
      File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line 20, in __init__
        self.transaction = xshandle().transaction_start()
      File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsutil.py", line 18, in xshandle
        xs_handle = xen.lowlevel.xs.xs()
    Error: (111, 'Connection refused')
    [root@towel ~]# cat /var/log/xen/xend-debug.log
    Exception starting xend: (111, 'Connection refused')
    [root@towel ~]# xm create zimbra
    Using config file "/etc/xen/zimbra".
    Error: Error connecting to xend: No such file or directory.  Is xend running?
    On another, not yet upgraded, box, the socket /var/run/xend/xmlrpc.sock is created, but not on the upgraded one.
    Rebooting to de previous kernel does not help. I think the xen-3.0.2-5 package is the culprit (on the other box it is xen-3.0.2-3), but I am not sure.

    Any idea what is going on here?

    Thanks,
    Sietse

  2. #2
    Join Date
    Aug 2006
    Posts
    8

    same issue

    I have tracked back my xen issue about as far as you have, but have not been able to get xen working after the yum update. Please post back here if you find the sollution.

  3. #3
    Join Date
    Aug 2006
    Posts
    8
    My first attempt at fixing was uninstalling xen (yum remove xen) and all associated dependencies, then reinstalling (yum install xen kernel-xen0). After a reboot into this kernel. I got the following error:

    Code:
    [2006-11-02 17:52:08 xend 2976] INFO (SrvDaemon:283) Xend Daemon started
    [2006-11-02 17:52:08 xend 2976] INFO (SrvDaemon:287) Xend changeset: unavailable .
    [2006-11-02 17:52:08 xend 2976] ERROR (SrvDaemon:297) Exception starting xend ((111, 'Connection refused'))
    Traceback (most recent call last):
      File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 291, in run
        servers = SrvServer.create()
      File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line 108, in create
        root.putChild('xend', SrvRoot())
      File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40, in __init__
        self.get(name)
      File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get
        val = val.getobj()
      File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj
        self.obj = klassobj()
      File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 39, in __init__
        self.xd = XendDomain.instance()
      File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 636, in instance
        inst.init()
      File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 71, in init
        xstransact.Mkdir(VMROOT)
      File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line 345, in Mkdir
        complete(path, lambda t: t.mkdir(*args))
      File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line 351, in complete
        t = xstransact(path)
      File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line 20, in __init__
        self.transaction = xshandle().transaction_start()
      File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsutil.py", line 18, in xshandle
        xs_handle = xen.lowlevel.xs.xs()
    Error: (111, 'Connection refused')
    Last edited by evoltech; 3rd November 2006 at 02:15 AM.

  4. #4
    Join Date
    Aug 2006
    Posts
    8
    This seems to be a error where there was a disconect between the xen developers/packages and the kernel-xen0 packagers. The issue is described in detail here. The suggested sollution is to install xen from the development repo (yum --enablerepo=development install xen). On my system this ended up including the following packages:

    Code:
    Updating:
     xen                     i386       3.0.3-1          development       1.7 M
    Installing for dependencies:
     kpartx                  i386       0.4.7-5          development       380 k
     python-virtinst         noarch     0.96.0-1         development        28 k
     xen-libs                i386       3.0.3-1          development        82 k
    Updating for dependencies:
     glibc                   i686       2.5.90-3         development       5.1 M
     glibc-common            i386       2.5.90-3         development        16 M
     glibc-devel             i386       2.5.90-3         development       2.0 M
     glibc-headers           i386       2.5.90-3         development       603 k
     libvirt                 i386       0.1.8-1          development       119 k
     libvirt-python          i386       0.1.8-1          development        43 k
    This sollution was found at sidragon.net.
    Last edited by evoltech; 3rd November 2006 at 02:14 AM. Reason: inline html didn't work for link

  5. #5
    Join Date
    Oct 2006
    Posts
    2
    Confirmed, this works.

    Sietse

Similar Threads

  1. Upgrade F8 to F9 fails
    By garc in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 2nd October 2008, 07:57 AM
  2. yum upgrade fails
    By stry_cat in forum Using Fedora
    Replies: 9
    Last Post: 19th October 2007, 03:06 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •