执行:
# /etc/init.d/xendomains status
报错:
Checking for xendomains:No handlers could be found for logger "xend" Error: Disk isn't accessible No handlers could be found for logger "xend" Error: Disk isn't accessible MISS AUTO: [dead] [失败]
原因:selinux对xend服务的保护引起的;
解决:
1.关闭selinux:
修改文件
# /etc/selinux/config
然后重启系统。具体修改如图:
2.临时关闭:
运行命令:
# setenforce 0 (不需要重启)
3.不关闭selinux:
执行:
# getsebool -a|more
找到xend_disable_trans和xm_disable_trans设置为on
# setsebool -P xend_disable_trans 1 # setsebool -P xm_disable_trans 1
如果这篇文章帮助到了你,请不要吝啬你的回复!
转载于:https://blog.51cto.com/bbaobelief/1262397