virt-manager启动本地连接报错:internal error: could not get interface XML description: File operation failed
来源:互联网 发布:南京搜狗快速优化排名 编辑:程序博客网 时间:2024/06/11 12:56
0.环境:
操作系统:ubuntu 14.0.4
虚拟机管理工具(图形化):virt-manager
网络管理服务:network(network-manager 卸载了)
1.解决详情:
在命令行执行:virsh iface-list --all | tail -n +3 | cut -f2 -d' ' | while read intf; do if [ "$intf" != "" ]; then echo ++++ $intf ++++; virsh iface-dumpxml $intf; fi; done
发现如下的错误:
++++ eth0:1 ++++
错误: internal error: could not get interface XML description: File operation failed - Failed to read (null)
这是我为了连2个不同网段而建的一个虚拟网卡,显然virt-manager因为得不到我建的虚拟网卡的描述信息,而报的错,编辑/etc/network/interfaces把虚拟网卡的配置信息注释掉,重启network服务,好了,可以启动本地连接了
参考:https://bugzilla.redhat.com/show_bug.cgi?id=1185850
2.后记:
然而,如果按照上面的做法,就不能通过修改配置文件的方式添加虚拟网卡,这就意味者我每次开机,都得用“ifconfig 虚拟网卡名 虚拟网卡ip 掩码 ”手动添加一个虚拟网卡
0 0
- virt-manager启动本地连接报错:internal error: could not get interface XML description: File operation failed
- mysql启动报错 MySQL manager or server PID file could not be found! [FAILED]
- Mysql5.6启动报错, [ERROR] InnoDB: Could not find a valid tablespace file for 'pa
- Nginx启动报错: could not open error log file: open()
- linux安装mysql 报 ERROR! MySQL manager or server PID file could not be found!
- 在CentOS6.5上启动virt-manager报错
- linux启动报错 could not update ICEauthority file
- Qt for Android - Internal Error: Could not find .pro file
- 解决docker执行systemctl start 报错Failed to get D-Bus connection: Operation not permitted
- ArcGIS REST Server 报错Unable to complete operation. error: Some parameters could not be recognized.
- IDEA Tomcat启动报错Error:java: Compilation failed: internal java compiler error
- 使用idea启动项目时,报错:Error:java: Compilation failed: internal java compiler error
- Indellij IDEA项目启动报错Error:java: Compilation failed: internal java compiler error
- android studio 启动的时候报错start failed internal error
- Error description: Error during query execution. Operation 'setPosition' failed.
- virt-manager 报错no bootable device
- jenkins启动报错Error: could not find libjava.so Error: Could not find Java SE Runtime Environment.
- apt-get installs 报错 Could not open lock file /var/lib/dpkg/lock
- 打印十字图
- octomap
- 菜鸟成长记-UICollectionView使用
- hibernate中关于null index column for collection的异常
- oralce代理用户登录--工作备忘2016/03/09
- virt-manager启动本地连接报错:internal error: could not get interface XML description: File operation failed
- golang 快捷付值需要注意的地方
- iOS开发中实时监听app的网络连接状态问题
- char byte int互转
- 检测当前iOS设备类型方法
- 让APP不被android系统杀掉
- AngularJS 指令
- 怎样实现hql模糊查询
- JSP编译成Servlet(三)JSP编译后的Servlet