码迷,mamicode.com
首页 > 其他好文 > 详细

virt-install:ERROR internal error process exited while connecting to monitor

时间:2014-06-22 06:34:56      阅读:271      评论:0      收藏:0      [点我收藏+]

标签:style   http   tar   ext   color   get   

转载请注明出处:http://www.openext.org/2014/06/virt-install-erro1

使用virt-install安装vm的时候出现了一下错误,解决方法如下:

$sudo ./create-vm-demo.sh

Starting install…

ERROR internal error process exited while connecting to monitor: char device redirected to /dev/pts/2

kvm: -drive file=/home/muge0913/workstation/kvm/test.img,if=none,id=drive-ide0-0-0,format=raw: could not open disk image

/home/muge0913/workstation/kvm/test.img: Permission denied

 

解决:编辑/etc/libvirt/qemu.conf添加内容如下,这样root就有操作的权限了。

user = “root”

# The group for QEMU processes run by the system instance. It can be

# specified in a similar way to user.

group = “root”

# Whether libvirt should dynamically change file ownership

# to match the configured user/group above. Defaults to 1.

# Set to 0 to disable file ownership changes.

dynamic_ownership = 0

 

#vrish list查看虚拟机运行情况




virt-install:ERROR internal error process exited while connecting to monitor,布布扣,bubuko.com

virt-install:ERROR internal error process exited while connecting to monitor

标签:style   http   tar   ext   color   get   

原文地址:http://blog.csdn.net/muge0913/article/details/32970565

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!