安装xen、创建xen虚拟机、使用xen虚拟机过程中经常出现的错误总结内容摘要:

417 B 00:00 Retrieving file . 100% |=========================| 10 MB 00:00 Creating storage file... 100% |=========================| 20 GB 00:00 virDomainCreateLinux() failed POST操作失 败 : ( 39。 Device 0 (vif) could not be connected. Hotplug scripts not working.39。 ) Domain installation may not have been successful. If it was, you can restart your domain by running 39。 virsh start 39。 otherwise, please restart your installation. 二 , 26 4月 2020 09:23:28 ERROR virDomainCreateLinux() failed POST操作失 败 : ( 39。 Device 0 (vif) could not be connected. Hotplug scripts not working.39。 ) Traceback (most recent call last): File /usr/bin/virtinstall, line 502, in ? main() File /usr/bin/virtinstall, line 462, in main dom = (conscb,progresscb) File /usr/lib/, line 813, in start_install return (consolecb, meter) File /usr/lib/, line 834, in _do_install = (install_xml, 0) File /usr/lib64/, line 573, in createLinux if ret is None:raise libvirtError(39。 virDomainCreateLinux() failed39。 , conn=self) libvirtError: virDomainCreateLinux() failed POST操作失 败 : ( 39。 Device 0 (vif) could not be connected. Hotplug scripts not working.39。 ) 这 是 xenbr0、 未启 动导 致的 问题。 重启机器后 [root@hdfs05 ~] xend start [root@hdfs05 ~] xm list Name ID Mem(MiB) VCPUs State Time(s) Domain0 0 7931 8 r [root@hdfs05 ~] ifconfig eth0 Link encap:Ether HWaddr 00:1D:7D:48:38:1A i addr: Bcast: Mask: i6 addr: fe80::21d:7dff:fe48:381a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4942 errors:0 dropped:0 overruns:0 frame:0 TX packets:111 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:681358 ( KiB) TX bytes:14358 ( KiB) Memory:d8320200d8340000 eth1 Link encap:Ether HWaddr 00:1D:7D:48:38:1B i addr: Bcast: Mask: i6 addr: fe80::21d:7dff:fe48:381b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:20 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4970 ( KiB) TX bytes:552 ( b) Memory:d8360000d8380000 lo Link encap:Local Loopback i addr: Mask: i6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:87189 errors:0 dropped:0 overruns:0 frame:0 TX packets:87189 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:118287320 ( MiB) TX bytes:118287320 ( MiB) [root@hdfs05 ~] /etc/Usage: /etc/{start|stop|status|restart|condrestart|reload} [root@hdfs05 ~] /etc/libvirtd is stopped [root@hdfs05 ~] /etc/Starting libvirtd daemon: [ OK ] [root@hdfs05 ~] ifconfig 〃生 成了网 桥设备 virbr0 eth0 Link encap:Ether HWaddr 00:1D:7D:48:38:1A i addr: Bcast: Mask: i6 addr: fe80::21d:7dff:fe48:381a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5082 errors:0 dropped:0 overruns:0 frame:0 TX packets:175 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:710500 ( KiB) TX bytes:23050 ( KiB) Memory:d8320200d8340000 eth1 Link encap:Ether HWaddr 00:1D:7D:48:38:1B i addr: Bcast: Mask: i6 addr: fe80::21d:7dff:fe48:381b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:20 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4970 ( KiB) TX bytes:552 ( b) Memory:d8360000d8380000 lo Link encap:Local Loopback i addr: Mask: i6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:87613 errors:0 dropped:0 overruns:0 frame:0 TX packets:87613 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:118861744 ( MiB) TX bytes:118861744 ( MiB) virbr0 Link encap:Ether HWaddr 00:00:00:00:00:00 i addr: Bcast: Mask: i6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 ( b) TX bytes:328 ( b) [root@hdfs05 ~] xend stop [root@hdfs05 ~] /etc/Stopping libvirtd daemon: [ OK ] [root@hdfs05 ~] /etc/[root@hdfs05 ~] xend start [root@hdfs05 ~] ifconfig eth0 Link encap:Ether HWaddr 00:1D:7D:48:38:1A i addr: Bcast: Mask: i6 addr: fe80::21d:7dff:fe48:381a/64 Scope:Link UP BROADCAST RUNNING MULTICAST。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。