知识屋:更实用的电脑技术知识网站
所在位置:首页 > 操作系统 > linux

DEBUG (blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: '

发布时间:2014-09-05 14:55:13作者:知识屋

DEBUG (blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: '解决
 
     在 RHEL-5.8 安装 XEN 时报错如下:
 
[plain] 
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 查阅、发现:
 
     DEBUG (blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: '/dev/xvda'
 
     解决方法如下:
 
     mknod /dev/xvda b 220 0
(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
收藏
  • 人气文章
  • 最新文章
  • 下载排行榜
  • 热门排行榜