使用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/
Linux下運行OCCI程序報Error while trying to retrieve text for error ORA-01804錯誤
VMware使用FreeBSD錯誤error mounting /dev/acd0 on /dist: input/output error (5)的解決
linux下tar命令遇到error:Error exit delayed from previous errors的問題及解決
ERROR:internal error Unable to locate libvirtd daem錯誤