Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Prompt Permission denied when creating kvm

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

[root@localhost~] # virt-install-name dt_pxe-ram 8192-vcpus=16-disk path=/home/vm_test.img-cdrom / gaodi/iso/CentOS.iso-network=bridge:br-def,virtualport_type=openvswitch,model=virtio-os-type=linux-graphics vnc,listen=0.0.0.0-boot cdrom

Starting install...

ERROR internal error: process exited while connecting to monitor: 2019-10-19T06:10:38.446209Z qemu-system-x86_64:-drive file=/gaodi/CentOS.iso,if=none,id=drive-ide0-0-1 Readonlywritten raw: Could not open'/ gaodi/CentOS.iso': Permission denied

Domain installation does not appear to have been successful.

If it was, you can restart your domain by running:

Virsh-connect qemu:///system start dt_pxe

Otherwise, please restart your installation.

Solution: set x permissions to the parent directory of iso, and if the file is in a multi-level directory, set the x attribute for each level of directory.

[root@localhost~] # chmod 755 / gaodi/iso

[root@localhost~] # chmod 755 / gaodi

If you restart it, you won't get it wrong.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report