You are not logged in.

#1 2012-03-19 21:50:25

Gelax!
Member
From: Cagliari
Registered: 2011-10-03
Posts: 11

[Solved] Libvirt (virsh) and segmentation fault

Hello everybody,
I want to use libvirt to run a virtual machine,
but due to a bug in some dependency of libvirt i can't.
The problem is:

$ virsh list
 Id    Nome                           Stato
----------------------------------------------------
Errore di segmentazione

or:

# virsh -v
0.9.10
Errore di segmentazione

In my opinion is not a libvirt problem because i tried the latest 10 version from the Arch Rollback Machine and Libvirt-git from AUR and all have the same problem ...

Someone know any solution?

Thanks for any help smile

Last edited by Gelax! (2012-03-28 07:34:12)

Offline

#2 2012-03-21 06:47:22

sakishrist
Member
Registered: 2012-03-04
Posts: 42

Re: [Solved] Libvirt (virsh) and segmentation fault

Same here.

Is there any (temporary) fix for this?

By the way, there is a report for this issue here.

Offline

#3 2012-03-21 08:21:29

Gelax!
Member
From: Cagliari
Registered: 2011-10-03
Posts: 11

Re: [Solved] Libvirt (virsh) and segmentation fault

not a good solution but it works for me:

# cd /var/cache/pacman/pkg/
# pacman -Uf libnl-1.1-3-x86_64.pkg.tar.xz
# pacman -S libnl
# ln /usr/lib/libnl-3.so /usr/lib/libnl.so.1

no more segmentation fault.
but now the problem is:

# virsh -c qemu:///sytem list --all
errore: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connessione rifiutata
errore: impossibile collegarsi all'hypervisor
# modprobe kvm
# modprobe kvm-intel
# /etc/rc.d/libvirtd start
:: Starting libvirtd                                                     [DONE] 
# pidof libvirtd
#
# ps aux |grep virt
root      2256  0.0  0.0   8660  1060 pts/0    S+   14:49   0:00 grep virt
# rc.d stop libvirtd
:: Stopping libvirtd       [FAIL]

the libvirtd service will not start.


EDIT: This solution is not correct ... Solves the problem of segmentation error (which does not give any trouble), but creates others (the daemon will not start, etc)...
libvirt also works with the final segmentation fault

Last edited by Gelax! (2012-03-28 07:33:37)

Offline

Board footer

Powered by FluxBB