[libvirt] Installing libvirt 0.8.6 Ubuntu 9.10

Zdenek Styblik stybla at turnovfree.net
Thu Jan 20 11:32:04 UTC 2011


On 01/20/2011 12:20 PM, Marcela Castro León wrote:
> Hello
> I think now is running.
> I've started doing
> 
> *chubut at chubut:/usr/local/sbin$ sudo ./libvirtd &
> *
> and checked doing
> 
> *chubut at chubut:~$ ps -ef | grep libvirtd
> chubut    1877  1700  0 12:16 pts/0    00:00:00 grep --color=auto libvirtd
> chubut at chubut:~$ ps -ef | grep libvirtd
> root      1945  1721  0 12:17 pts/1    00:00:00 ./libvirtd
> chubut    1993  1700  0 12:17 pts/0    00:00:00 grep --color=auto libvirtd
> chubut at chubut:~$ sudo virsh -c qemu:///system list
>  Id Name                 State
> ----------------------------------
> 
> chubut at chubut:~$ *
> 
> Do you think it's right? Thank you very much.
> 
> Marcela
> 

Please try as a root or via sudo:
# netstat -nlp | grep libvirt;

you should see something like:
--- SNIP ---
root at anubis:~# netstat -nlp | grep libvirt
unix  2      [ ACC ]     STREAM     LISTENING     5787     3271/libvirtd
      /var/run/libvirt/libvirt-sock
--- SNIP ---

Z.

> 2011/1/20 Justin Clift <jclift at redhat.com>
> 
>> On 20/01/2011, at 9:52 PM, Marcela Castro León wrote:
>> Hello
>>> I've got this error.
>>> chubut at chubut:/usr/local$ virsh -c qemu:///system list
>>> error: unable to connect to '/usr/local/var/run/libvirt/libvirt-sock',
>> libvirtd may need to be started: No such file or directory
>>> error: failed to connect to the hypervisor
>>>
>>> The daemon is not running, but i don't know how to start it.
>>
>> Ok, this might be a dumb question, but have you tried "sudo virsh -c
>> qemu:///system list" (with the "sudo") when the libvirtd program is running?
> 
> 
> 
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list


-- 
Zdenek Styblik
Net/Linux admin
OS TurnovFree.net
email: stybla at turnovfree.net
jabber: stybla at jabber.turnovfree.net




More information about the libvir-list mailing list