Cannot find QEMU binary /usr/bin/kvm: Permission denied

简介:

kvm报错,信息如下:Cannot find QEMU binary /usr/bin/kvm: Permission denied

解决办法:find / -name qemu-kvm 或者 find / -name qemu\*

然后加软连接:ln -s /usr/libexec/qemu-kvm /usr/bin/kvm

如果提示文件已存在:ln: 创建符号链接 "/usr/libexec/qemu-kvm": 文件已存在

则删除:rm /usr/bin/kvm

然后重新加软件连接,完成之后测试:
kvm --help

如有内容则表明OK

 

本文转自 念槐聚 博客园博客,原文链接:http://www.cnblogs.com/haochuang/archive/2012/09/04/2670424.html,如需转载请自行联系原作者

相关文章
|
7天前
|
网络协议 网络安全
sudo mount -t nfs server_ip:/path/to/shared_directory /mnt/local_directory命令的作用是什么?
sudo mount -t nfs server_ip:/path/to/shared_directory /mnt/local_directory命令的作用是什么?
21 1
|
2月前
|
Linux 开发工具 数据安全/隐私保护
CentOS7报错:“xxx is not in the sudoers file. This incident will be reported“解决方法
CentOS7报错:“xxx is not in the sudoers file. This incident will be reported“解决方法
|
分布式计算 Hadoop Linux
Linux报错:mkdir:无法创建目录“/opt/apps/xxx/logs“: Permission denied
Linux报错:mkdir:无法创建目录“/opt/apps/xxx/logs“: Permission denied
499 0
|
6月前
|
Linux Shell
mac/linux执行受限:bash: ./install.sh: Permission denied
mac/linux执行受限:bash: ./install.sh: Permission denied
|
Linux 数据安全/隐私保护
sudo报错:no valid sudoers sources found, quitting
sudo报错:no valid sudoers sources found, quitting
277 0
|
Linux
【Linux】locate: can not stat () `/var/lib/mlocate/mlocate.db‘: No such file or directory
【Linux】locate: can not stat () `/var/lib/mlocate/mlocate.db‘: No such file or directory
197 0
【Linux】locate: can not stat () `/var/lib/mlocate/mlocate.db‘: No such file or directory
|
消息中间件 Linux
Linux - error: cannot open Packages database in /var/lib/rpm
Linux - error: cannot open Packages database in /var/lib/rpm
371 0
|
Ruby
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/bin directory.错误解决办法
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/bin directory.错误解决办法
2634 0
|
应用服务中间件 PHP
macOS mkdir: /usr/var: Operation not permitted
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/80016887 ...
2686 0