ubuntu14.04安装xen
2015-08-21 10:43
232 查看
在遇到 命令: virsh version
返回:error: failed to connect to the hypervisor
error: internal error: libxenlight state driver is not active
的解决办法:
Start Nautilus as root in terminal:
Find and copy the file
Open the file
Find and uncomment the following lines:
Save the edited file and exit gedit or nano.
Restart
返回:error: failed to connect to the hypervisor
error: internal error: libxenlight state driver is not active
的解决办法:
Start Nautilus as root in terminal:
sudo -H nautilus
Find and copy the file
/etc/xen/xend-config.sxpto
/etc/xen/xend-config.sxp.backup:
sudo cp /etc/xen/xend-config.sxp /etc/xen/xend-config.sxp.backup
Open the file
/etc/xen/xend-config.sxpwith
geditor
nano:
sudo -H gedit /etc/xen/xend-config.sxp
Find and uncomment the following lines:
xend-unix-server no, and change it to
xend-unix-server yes
xend-unix-path /var/lib/xend/xend-socket, and change it to
xend-unix-path /var/lib/xend/xend-socket
Save the edited file and exit gedit or nano.
Restart
libvirt-bin,
xenand
xendomainsservices:
sudo service libvirt-bin restart sudo service xen restart sudo service xendomains restart
相关文章推荐
- Android布局的优化方案汇总
- MyEclipse快捷键大全-按快捷键分类(转自cnblogs MyEclipse快捷键大全)
- HDU 2841 Visible Trees(数论)
- can't connect to mysql server on localhost <10061>
- openresty + lua-resty-weedfs + weedfs + graphicsmagick动态生成缩略图(类似淘宝方案)
- CentOS 6.5 MySQL5.6.26源码安装
- Android布局的优化方案汇总
- 【甘道夫】基于Mahout0.9+CDH5.2执行分布式ItemCF推荐算法
- Nagle 与 SO_SNDBUF的问题
- Android Service浅谈
- Qt Creator 窗体控件自适应窗口大小布局
- 微信公众平台开发(1)入门教程
- python shell 根据ip 获取 hostname || 根据hostname 获取 ip
- OpenCV学习笔记一:Visual Studio 2013 + OpenCV 2.4.8 配置 - Visual Image
- 程序员观影有感--滚蛋吧,肿瘤君 (不喜勿喷)
- Apache,php关于站点配置及访问
- [转载]Trie树|字典树(字符串排序)
- 微信公众平台开发(1)入门教程
- java-程序执行原理
- Windows 10企业批量部署实战之刷新并添加启动映像