similar to: Failed to to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused

Displaying 20 results from an estimated 1000 matches similar to: "Failed to to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused"

2013 Sep 18
0
libvirt report error "error: End of file while reading data: Input/output error" when start domain
Hi, When I want to start a VM by virsh, report error: virsh start vm1 2013-09-18 05:52:06.809+0000: 12324: info : libvirt version: 1.1.1, package: 1.mcp8_0.1 (Koji, 2013-08-09-07:55:01, lnxmcp1) 2013-09-18 05:52:06.809+0000: 12324: debug : virLogParseOutputs:1334 : outputs=1:file:/var/log/virsh.log error: Failed to start domain vm1 error: End of file while reading data: Input/output error
2015 Oct 02
0
virsh with OSX and virtualbox
I have freshly installed Virtualbox (5.04) and have installed libvirt (1.2.19) using brew. When i attempt to run virsh it does not work with the following outputs. # virsh -c vbox:///session error: failed to connect to the hypervisor error: internal error: unable to initialize VirtualBox driver API Any pointers on what to try next or where to investigate to get more info. Has anyone got virsh
2013 Jul 14
0
OSX: trying to use libvirt 1.1.0 with VirtualBox 4.2
I see that libvirt 1.1.0 should now support virtualbox 4.2, but I'm having problems getting it to work in OSX. I have built it using homebrew, which now has 1.1.0 in its formulae. The error I get when tying to connect is shown below. Any suggestions for where I should look next? The error about "Failed to find user record for uid 'NNNNN'" is odd. libvirtd *is* started
2012 Mar 09
1
run virsh as non-root user
Hi, I have encountered problem running virsh as non-root user. I am using eucalyptus software on top of KVM, eucalyptus requires to run virsh as non-root user. I've found that people had similiar issue posted in the list, but I didn't find the solution. I've tried few things. 1) put user eucalyptus in the libvirt group. 2) even changed owner /var/run/libvirt/libvirt-sock to
2012 Jun 27
0
Trouble connecting to XenServer HyperVisor with Java bindings
Hello, I am trying to use the libvirt Java bindings (version 0.4.7) with libvirt version 0.9.12 to connect to a XenServer hypervisor. Virsh is able to connect to my XenServer, but when I try to do the same thing in Java, it won't connect. Here is the debug output: 2012-06-26 19:48:52.259+0000: 26051: info : libvirt version: 0.9.12, package: 1.fc16 (Unknown, 2012-06-26-11:43:53, flynx)
2012 Feb 09
1
virsh migrate results in error: Timed out during operation: cannot acquire state change lock
Hi all, Hi have one computer hosting several VM, this particular server is in need of maintenance and has to be shutdown. In order to avoid disrupting the services provided by the VM I intended to migrate the VM to another computer. Computer 1 and 2 do not share any storage. So it is necessary to migrate not only the memory but also any data on the hard-drive. Both computers are running
2010 Nov 14
2
java binding and virtualbox-ose
I'm trying to connect to vbox hypervisor on an Ubuntu 10.04 machine through libvirt java binding (libvirt-java-0.4.6) by simply invoking: Connect conn = new Connect("vbox:///session", false); but I got this exception: libvir: warning : Failed to find the interface: Is the daemon running ? libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock':
2017 Feb 17
2
"virsh list" hangs
`virsh list` hangs on my server that hosts a bunch of VMs. This might be due to the Debian upgrade I did on Feb 15, which upgrades `libvirt` from 2.4.0-1 to 3.0.0-2. I have tried restarting libvirtd for a few times, without luck. Attached below are some relevant logs; let me know if you need some more for debugging. Thanks for your help!! root@vm-host:~# uname -a Linux vm-host 4.6.0-1-amd64 #1
2010 Feb 09
1
error: unable to connect to libvirtd at 'a.b.c.d': Connection refused
Greetings: I have an issue with connecting to the esx hypervisor from my guest Vm. The purpose of the connection is to obtain host related information (like network, devices etc). I am not sure what is it that rejects the connect at the server side, and what i am missing. I am running lib0.7.5, i have libvirtd running on guest-vm. The host ESX has the ip address a.b.c.d. ? Any
2009 Jun 19
0
Re: [libvirt] domain.info() sometimes returns state zero for running machines
Sorry but I misunderstood your last post completely :-D but now I tried what you said, using the CVS version. I also dumped the "ret" value from virXen_getdomaininfo. The output was simple: ret=1, domain_flags=0 (right after XEN_GETDOMAININFO_FLAGS!!!). Sadly I don''t have much time to dig deeper but it seems to me that this happens very seldom or sometimes not at all (hard
2018 Oct 02
1
Libvirt 4.2.0 hang on destination on live migration cancel
I'm trying the following command on the source machine: virsh migrate --live --copy-storage-all --verbose TEST qemu+ssh:// 10.30.76.66/system If I ssh into the destination machine when this command is running, I can see NBD copying data as expected, and if I wait long enough it completes and succeeds. However if I ctrl+c this command above before it completes, it causes virsh commands
2013 Mar 11
1
QEMU+SSH login issue on RHEL 4
Hi All, I am trying to compile libvirt tools from source on RHEL 4. I could get the sources compiled, but when I try to connect to libvirtd using QEMU+SSH I get the following error: error: failed to connect to the hypervisor error: authentication failed: unsupported authentication type 2 With root as the user, I could login, rest other users get the error. All authentication related settings
2011 Jul 13
0
Problem starting libvirtd 0.9.3 on Ubuntu
I just built libvirt 0.9.3 from scratch on my Ubuntu 10.10 system. It appeared to build and install correctly. When running a command like 'virsh -c qemu:///session list --all', I get the following: error: Failed to connect socket to '@/home/heath/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor When looking into it, I realized libvirtd
2011 Jul 13
1
Unable to start libvirtd 0.9.3 on Ubuntu 10.10
I just built libvirt 0.9.3 on my Ubuntu 10.10 box. It appears to have built correctly. When I try "virsh -c qemu:///session list --all" I get the following: error: Failed to connect socket to '@/home/heath/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor After that, libvirtd isn't running as user heath as it did when I was using
2013 Oct 30
0
Re: libvirt_lxc causes cpu 100% usage
log_level = 1 In the lxc log , under normal situation , about 6~7 minutes between loops . the log below is printed in a loop.(the minimal loop content) 2013-10-29 10:17:00.567+0000: 7566: debug : virEventPollRunOnce:638 : Poll got 1 event(s) 2013-10-29 10:17:00.567+0000: 7566: debug : virEventPollDispatchTimeouts:423 : Dispatch 2 2013-10-29 10:17:00.568+0000: 7566: debug :
2013 Oct 31
0
Re: libvirt_lxc causes cpu 100% usage
why the poll always got 1 event ... ? any suggestion ? "virEventPollRunOnce:638 : Poll got 1 event(s)" ------------------ Original ------------------ From: "menghuizhanguo";<menghuizhanguo@gmail.com>; Date: Thu, Oct 31, 2013 08:43 AM To: "libvirt-users"<libvirt-users@redhat.com>; Subject: Re:libvirt_lxc causes cpu 100% usage I consider
2013 Oct 31
2
Re: libvirt_lxc causes cpu 100% usage
I consider this's a problem on mips platform, while it did not happened on x86 after testing. :-( ... ------------------ Original ------------------ From: "menghuizhanguo";<menghuizhanguo@gmail.com>; Date: Wed, Oct 30, 2013 10:50 AM To: "menghuizhanguo"<menghuizhanguo@gmail.com>; "libvirt-users"<libvirt-users@redhat.com>; Cc:
2014 Feb 07
0
Re: libvirt crashes with Caught Segmentation violation
On 07.02.2014 09:47, Minami Katsumata wrote: > Hi, > > I'm having problems with libvirt crashing after a couple hours when a > specific domain monitoring program is running. > > I have pasted below the following: > 1. libvirt version > 2. qemu-kvm version > 3. OS version > 4. Kernel version > 5. libvirt status post-crash > 6. libvirtd.log (info level dump
2010 Dec 31
1
livemigrate problems
hello everybody and happy new year! I am a newbie in libvirt use, and I use it mostrly throught OpenNebula. Anyway, I noticed that one of the nodes can be a destination of a livemigrate but not the source. This is the environment: 4 blades nicknamed(*) red3, red9, red10, red11, each with 8 Intel E5506 cores (@ 2.13GHz) running CentOS 5 and KVM as hyoervisor. (*) these are names I
2013 Apr 09
2
fail to convert qemu xml to args with libvirt-1.0.4: An error occurred, but the cause is unknown
Hi, I used to convert qemu XML to args with libvirt-1.0.3. But it failed to convert with libvirt-1.0.4. # virsh domxml-to-native qemu-argv test.xml >test.sh error: An error occurred, but the cause is unknown Comparing the debug file as below: 1) lbvirt-1.0.3 <cut> 2013-04-09 03:23:47.296+0000: 2669: debug : virEventPollInterruptLocked:716 : Interrupting 2013-04-09 03:23:47.296+0000: