Re: kvm monitor socket - connection refused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



28.06.2011 23:20, Iordan Iordanov wrote:
> Hello,
> 
> We are using KVM on Debian Squeeze (QEMU 0.12.5). Yesterday, I started a
> virtual machine and let it run overnight. I don't recall doing anything
> out of the ordinary to it.
> 
> This morning, I wanted to issue some commands to it through the control
> socket, but socat is unable to connect to it. Usually, I am able to
> connect to the control socket this way.
> 
> # ls -l
> total 1744816
> -rw-r--r-- 1 iordan iordan 4195352576 Jun 28 14:54 disk.img
> srwxrwxr-x 1 root   root            0 Jun 28 12:35 monitor
> # socat - UNIX-CONNECT:./monitor
> 2011/06/28 15:13:53 socat[4564] E connect(3, AF=1 "./monitor", 11):
> Connection refused
> 
> # kvm was run thus:
> kvm -runas iordan -drive file=./disk.img -enable-kvm -vnc
> localhost:200,vnc,password -usbdevice tablet -monitor
> unix:./monitor,server,nowait

The process listening on this socket no longer exist,
it finished.  With this command line it should stay in
foreground till finished (there's no -daemonize etc),
so you should see error messages if any.

> # file monitor
> monitor: socket
> 
> Is this a known issue with this version of Qemu? Has anybody else
> experienced this, and if so knows why it happens?

How about checking who is actually listening on this
socket before asking?

/mjt
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux