執行:
# /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
如果這篇文章幫助到了你,請不要吝嗇你的回覆!