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

Source: Internet
Author: User

Reprinted please indicate the source: http://www.openext.org/2014/06/virt-install-erro1

An error occurred while installing the vm using virt-install. The solution is as follows:

$ 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: cocould not open disk image

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

 

Solution: edit/etc/libvirt/qemu. conf to add the following content, so that the root user has the operation permission.

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 shocould 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 View virtual machine running status




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.