435243 发表于 2016-7-4 09:56:24

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

使用virt-install安装vm的时候出现了一下错误,解决方法如下:$sudo ./create-vm-demo.shStarting install…ERROR internal error process exited while connecting to monitor: char device redirected to /dev/pts/2kvm: -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重启libvirtd服务:service libvirtd restart
#vrish list查看虚拟机运行情况
页: [1]
查看完整版本: virt-install:ERROR internal error process exited while connecting to monitor