WARNING (XendDomainInfo:262) No vm path in store for existing domain 0

     在 RHEL-5.8 安装 XEN 时报错如下:


ERROR    POST操作失败: xend_post:来自 xen 守护进程的错误:(xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.')
域安装似乎没有成功。
如果是这样,您可以运行 'virsh start vm02' 
重启您的域,否则请重
新开始安装。
ERROR    POST操作失败: xend_post:来自 xen 守护进程的错误:(xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.')
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 895, in ?
    main()
  File "/usr/sbin/virt-install", line 757, in main
    start_time, guest.start_install)
  File "/usr/sbin/virt-install", line 819, in do_install
    dom = install_func(conscb, progresscb, wait=(not wait))
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib/python2.4/site-packages/libvirt.py", line 1277, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: POST操作失败: xend_post:来自 xen 守护进程的错误:(xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.')


     到 /var/log/xen/xend.log 查阅、发现:


     WARNING (XendDomainInfo:262) No vm path in store for existing domain 0


     解决方案如下:
     
     ① 先查看 xendomains 的状态:service xendomains stop/status/start 
     ② 如果被stopped、而且、手工start起不来、则可先 touch /var/lock/subsys/xendomains
     
     
     接下来便可以顺利运行 virt-install 

你可能感兴趣的:(WARNING (XendDomainInfo:262) No vm path in store for existing domain 0)