LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   cannot send monitor command (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/cannot-send-monitor-command-4175445911/)

johnabraham 01-16-2013 01:12 PM

cannot send monitor command
 
Hi guys

I've installed all the groups & packages of Virtualization on RHEL6.0 & tried to install a guest OS(RHEL6.0), after clicking finish finally in VMM its getting an error.

I got tired applying all the options & combinations. but worthless.

Error:
Unable to complete install: 'cannot send monitor command '{"execute":"qmp_capabilities"}': Connection reset by peer'

Details:
Unable to complete install '<class 'libvirt.libvirtError'> cannot send monitor command '{"execute":"qmp_capabilities"}': Connection reset by peer
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1561, in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 973, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1038, in _do_install
"install")
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1009, in _create_guest
dom = self.conn.createLinux(start_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1270, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: cannot send monitor command '{"execute":"qmp_capabilities"}': Connection reset by peer
'

var/log/messages:
Jan 17 00:55:37 localhost libvirtd: 00:55:37.617: error : qemudDomainLookupByName:4674 : Domain not found: no domain with matching name 'server'
Jan 17 00:55:37 localhost libvirtd: 00:55:37.867: error : qemudDomainLookupByName:4674 : Domain not found: no domain with matching name 'server'
Jan 17 00:55:38 localhost libvirtd: 00:55:38.077: error : storageVolumeLookupByPath:1241 : Storage volume not found: no storage vol with matching path
Jan 17 00:55:38 localhost libvirtd: 00:55:38.342: error : qemudDomainLookupByUUID:4649 : Domain not found: no domain with matching uuid '13c83c12-4d16-1b3f-8c28-9849981d05a4'
Jan 17 00:55:38 localhost libvirtd: 00:55:38.428: error : storageVolumeLookupByPath:1241 : Storage volume not found: no storage vol with matching path
Jan 17 00:55:38 localhost libvirtd: 00:55:38.455: error : storageVolumeLookupByPath:1241 : Storage volume not found: no storage vol with matching path
Jan 17 00:55:38 localhost libvirtd: 00:55:38.477: error : qemudDomainLookupByName:4674 : Domain not found: no domain with matching name 'server'
Jan 17 00:55:38 localhost libvirtd: 00:55:38.510: error : storageVolumeLookupByPath:1241 : Storage volume not found: no storage vol with matching path
Jan 17 00:55:38 localhost kernel: device vnet0 entered promiscuous mode
Jan 17 00:55:38 localhost kernel: virbr0: topology change detected, propagating
Jan 17 00:55:38 localhost kernel: virbr0: port 1(vnet0) entering forwarding state
Jan 17 00:55:38 localhost NetworkManager[1576]: <warn> /sys/devices/virtual/net/vnet0: couldn't determine device driver; ignoring...
Jan 17 00:55:39 localhost abrt[13457]: saved core dump of pid 13436 (/usr/libexec/qemu-kvm) to /var/spool/abrt/ccpp-1358364338-13436.new/coredump (16326656 bytes)
Jan 17 00:55:39 localhost abrtd: Directory 'ccpp-1358364338-13436' creation detected
Jan 17 00:55:39 localhost libvirtd: 00:55:39.104: error : qemuMonitorJSONCommandWithFd:242 : cannot send monitor command '{"execute":"qmp_capabilities"}': Connection reset by peer
Jan 17 00:55:39 localhost kernel: virbr0: port 1(vnet0) entering disabled state
Jan 17 00:55:39 localhost kernel: device vnet0 left promiscuous mode
Jan 17 00:55:39 localhost kernel: virbr0: port 1(vnet0) entering disabled state
Jan 17 00:55:39 localhost abrtd: Crash is in database already (dup of /var/spool/abrt/ccpp-1358360616-3760)
Jan 17 00:55:39 localhost abrtd: Deleting crash ccpp-1358364338-13436 (dup of ccpp-1358360616-3760), sending dbus signal
Jan 17 00:55:39 localhost abrtd: Deleting crash ccpp-1358364338-13436 (dup of ccpp-1358360616-3760), sending dbus signal
Jan 17 00:55:44 localhost cachefilesd[1436]: Scan complete



My system:
CPU: AMD FX-8120
MB: ASUS M5A99FX
HDD: seagate 2TB SATA
RAM: Corsair Vengeance 32GB(8GBx4) DDR3 1866MHz

thanks

dyasny 01-17-2013 12:33 PM

why 6.0 when 6.3 has long since been released?

rockee199 04-02-2013 05:05 AM

rockee 2012-07-20 00:33
[Kvm] kvm starting domain: cannot send monitor command
cannot send monitor command \'{\"execute\":\"qmp_capabilities\"}\': Connection reset by peer

Traceback (most recent call last):
File \"/usr/share/virt-manager/virtManager/asyncjob.py\", line 45, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File \"/usr/share/virt-manager/virtManager/engine.py\", line 956, in asyncfunc
vm.startup()
File \"/usr/share/virt-manager/virtManager/domain.py\", line 1048, in startup
self._backend.create()
File \"/usr/lib64/python2.6/site-packages/libvirt.py\", line 325, in create
if ret == -1: raise libvirtError (\'virDomainCreate() failed\', dom=self)
libvirtError: cannot send monitor command \'{\"execute\":\"qmp_capabilities\"}\': Connection reset by peer


1) Remove any snapshot available
# rm -f /var/lib/libvirt/qemu/save/my-virtual-machine-name


2) restart libvirtd
# service libvirtd restart


3) Start the virtual machine again


All times are GMT -5. The time now is 04:15 AM.