18.12. 常​​​​​​​见​​​​​​​的​​​​​​​故​​​​​​​障​​​​​​​解​​​​​​​除​​​​​​​


当​​​​​​​你​​​​​​​试​​​​​​​图​​​​​​​启​​​​​​​动​​​​​​​ xend 服​​​​​​​务​​​​​​​时​​​​​​​,什​​​​​​​么​​​​​​​也​​​​​​​没​​​​​​​有​​​​​​​发​​​​​​​生​​​​​​​。​​​​​​​键​​​​​​​入​​​​​​​ xm list1 后​​​​​​​可​​​​​​​以​​​​​​​看​​​​​​​到​​​​​​​下​​​​​​​面​​​​​​​的​​​​​​​输​​​​​​​出​​​​​​​:
Error: Error connecting to xend: Connection refused. Is xend running?
当​​​​​​​你​​​​​​​尝​​​​​​​试​​​​​​​手​​​​​​​工​​​​​​​运​​​​​​​行​​​​​​​ xend start 时​​​​​​​,发​​​​​​​现​​​​​​​更​​​​​​​多​​​​​​​的​​​​​​​错​​​​​​​误​​​​​​​:
Error: Could not obtain handle on privileged command interfaces (2 = No such file or directory)
Traceback (most recent call last:)

File "/usr/sbin/xend/", line 33 in ?

from xen.xend.server. import SrvDaemon

File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py" , line 26 in ?
		
from xen.xend import XendDomain

File "/usr//lib/python2.4/site-packages/xen/xend/XendDomain.py" , line 33, in ?

from xen.xend import XendDomainInfo
		
File "/usr/lib/python2.4/site-packages/xen/xend/image.py" , line37, in ?

import images

File "/usr/lib/python2.4/site-packages/xen/xend/image.py" , line30, in ?

xc = xen.lowlevel.xc.xc ()

RuntimeError: (2, 'No such file or directory' )
最​​​​​​​可​​​​​​​能​​​​​​​的​​​​​​​原​​​​​​​因​​​​​​​就​​​​​​​是​​​​​​​你​​​​​​​把​​​​​​​主​​​​​​​机​​​​​​​启​​​​​​​动​​​​​​​到​​​​​​​了​​​​​​​非​​​​​​​ xen-hypervisor 的​​​​​​​内​​​​​​​核​​​​​​​。​​​​​​​要​​​​​​​解​​​​​​​决​​​​​​​这​​​​​​​个​​​​​​​问​​​​​​​题​​​​​​​,你​​​​​​​必​​​​​​​须​​​​​​​在​​​​​​​引​​​​​​​导​​​​​​​时​​​​​​​选​​​​​​​择​​​​​​​ xen-hypervisor 内​​​​​​​核​​​​​​​(或​​​​​​​在​​​​​​​ grub.conf 文​​​​​​​件​​​​​​​里​​​​​​​把​​​​​​​ xen-hypervisor 内​​​​​​​核​​​​​​​设​​​​​​​置​​​​​​​为​​​​​​​缺​​​​​​​省​​​​​​​选​​​​​​​项​​​​​​​)。​​​​​​​
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.