歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> 關於Linux

ERROR internal error process exited while conne錯誤

使用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查看虛擬機運行情況

本欄目更多精彩內容:http://www.bianceng.cn/OS/Linux/

Copyright © Linux教程網 All Rights Reserved