[libvirt-users] problem starting virt-manager

Hi, i try to run virt-manager on a SLES 11 SP1 box. I'm using kernel 2.6.32.12 and virt-manager 0.9.4-106.1.x86_64 . The system is a 64bit box. Here is the output: ========================= pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/virt_manager/sles_11_sp1 # virt-manager & [1] 9659 pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/virt_manager/sles_11_sp1 # Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager.py", line 386, in <module> main() File "/usr/share/virt-manager/virt-manager.py", line 247, in main from virtManager import cli File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module> import libvirt File "/usr/lib64/python2.6/site-packages/libvirt.py", line 25, in <module> raise lib_e ImportError: /usr/lib64/libvirt.so.0: undefined symbol: selinux_virtual_domain_context_path [1]+ Exit 1 virt-manager ========================= As you see, virt-manager does not start. Thanks for any hint. Bernd -- Bernd Lentes Systemadministration Institut für Entwicklungsgenetik Gebäude 35.34 - Raum 208 HelmholtzZentrum münchen bernd.lentes@helmholtz-muenchen.de phone: +49 89 3187 1241 fax: +49 89 3187 2294 http://www.helmholtz-muenchen.de/idg Wir sollten nicht den Tod fürchten, sondern das schlechte Leben Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671

On 11.09.2012 10:20, Lentes, Bernd wrote:
Hi,
i try to run virt-manager on a SLES 11 SP1 box. I'm using kernel 2.6.32.12 and virt-manager 0.9.4-106.1.x86_64 . The system is a 64bit box.
Here is the output: ========================= pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/virt_manager/sles_11_sp1 # virt-manager & [1] 9659 pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/virt_manager/sles_11_sp1 # Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager.py", line 386, in <module> main() File "/usr/share/virt-manager/virt-manager.py", line 247, in main from virtManager import cli File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module> import libvirt File "/usr/lib64/python2.6/site-packages/libvirt.py", line 25, in <module> raise lib_e ImportError: /usr/lib64/libvirt.so.0: undefined symbol: selinux_virtual_domain_context_path
Seems like a broken dependencies to me. This function is supposed to be in libselinux-utils package IIRC. Can you try installing it and if it works, maybe we need to update our spec file. Thanks in advance, Michal
[1]+ Exit 1 virt-manager =========================
As you see, virt-manager does not start.
Thanks for any hint.
Bernd
-- Bernd Lentes
Systemadministration Institut für Entwicklungsgenetik Gebäude 35.34 - Raum 208 HelmholtzZentrum münchen bernd.lentes@helmholtz-muenchen.de phone: +49 89 3187 1241 fax: +49 89 3187 2294 http://www.helmholtz-muenchen.de/idg
Wir sollten nicht den Tod fürchten, sondern das schlechte Leben
Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Michal wrote:
On 11.09.2012 10:20, Lentes, Bernd wrote:
Hi,
i try to run virt-manager on a SLES 11 SP1 box. I'm using kernel 2.6.32.12 and virt-manager 0.9.4-106.1.x86_64 . The system is a 64bit box.
Here is the output: =========================
pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/vir t_manager/sles_11_sp1 # virt-manager &
[1] 9659
File "/usr/share/virt-manager/virt-manager.py", line 386, in <module> main() File "/usr/share/virt-manager/virt-manager.py", line 247, in main from virtManager import cli File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module> import libvirt File "/usr/lib64/python2.6/site-packages/libvirt.py",
pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/vir t_manager/sles_11_sp1 # Traceback (most recent call last): line 25, in <module>
raise lib_e ImportError: /usr/lib64/libvirt.so.0: undefined symbol:
selinux_virtual_domain_context_path
Seems like a broken dependencies to me. This function is supposed to be in libselinux-utils package IIRC. Can you try installing it and if it works, maybe we need to update our spec file.
Hi Michal, i googled for several hours but didn't suceed in finding a binary or src rpm with libselinux-utils-2.0.71 (that's the version i need). Do you have any idea where i can find it ? Btw: i have libselinux1 installed, not libselinux. Is it the same, or where is the difference ? Bernd Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671

Michal wrote:
On 11.09.2012 10:20, Lentes, Bernd wrote:
Hi,
i try to run virt-manager on a SLES 11 SP1 box. I'm using kernel 2.6.32.12 and virt-manager 0.9.4-106.1.x86_64 . The system is a 64bit box.
Here is the output: =========================
pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/vir t_manager/sles_11_sp1 # virt-manager &
[1] 9659
File "/usr/share/virt-manager/virt-manager.py", line 386, in <module> main() File "/usr/share/virt-manager/virt-manager.py", line 247, in main from virtManager import cli File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module> import libvirt File "/usr/lib64/python2.6/site-packages/libvirt.py",
pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/vir t_manager/sles_11_sp1 # Traceback (most recent call last): line 25, in <module>
raise lib_e ImportError: /usr/lib64/libvirt.so.0: undefined symbol:
selinux_virtual_domain_context_path
Seems like a broken dependencies to me. This function is supposed to be in libselinux-utils package IIRC. Can you try installing it and if it works, maybe we need to update our spec file.
Hi, i installed libselinux-utils-2.0.73-1.fc10.x86_64.rpm. I didn't find the exact version i have (2.0.71) and used a rpm for Fedora. Is that a problem ? Anyway, the error message is still the same :-( rpm -ql libselinux-utils-2.0.73-1.fc10 said that the package consists only of executables and manpages. Shouldn't there be some libraries ? Bernd Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671

Bernd wrote:
Michal wrote:
On 11.09.2012 10:20, Lentes, Bernd wrote:
Hi,
i try to run virt-manager on a SLES 11 SP1 box. I'm using kernel 2.6.32.12 and virt-manager 0.9.4-106.1.x86_64 . The system is a 64bit box.
Here is the output: =========================
pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/vir t_manager/sles_11_sp1 # virt-manager &
[1] 9659
File "/usr/share/virt-manager/virt-manager.py", line 386, in <module> main() File "/usr/share/virt-manager/virt-manager.py", line 247, in main from virtManager import cli File "/usr/share/virt-manager/virtManager/cli.py", line 29, in <module> import libvirt File "/usr/lib64/python2.6/site-packages/libvirt.py",
pc56846:/media/idg2/SysAdmin_AG_Wurst/software_und_treiber/vir t_manager/sles_11_sp1 # Traceback (most recent call last): line 25, in <module>
raise lib_e ImportError: /usr/lib64/libvirt.so.0: undefined symbol:
selinux_virtual_domain_context_path
Seems like a broken dependencies to me. This function is supposed to be in libselinux-utils package IIRC. Can you try installing it and if it works, maybe we need to update our spec file.
Hi,
i installed libselinux-utils-2.0.73-1.fc10.x86_64.rpm. I didn't find the exact version i have (2.0.71) and used a rpm for Fedora. Is that a problem ? Anyway, the error message is still the same :-( rpm -ql libselinux-utils-2.0.73-1.fc10 said that the package consists only of executables and manpages. Shouldn't there be some libraries ?
Hi, trying the same from the python shell, i get the same error:
import libvirt Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.6/site-packages/libvirt.py", line 25, in <module> raise lib_e ImportError: /usr/lib64/libvirt.so.0: undefined symbol: selinux_virtual_domain_context_path
The lines in the above mentioned file around 25 looks like this: # On cygwin, the DLL is called cygvirtmod.dll try: import libvirtmod except ImportError, lib_e: try: import cygvirtmod as libvirtmod except ImportError, cyg_e: if str(cyg_e).count("No module named"): raise lib_e raise lib_e is line 25. Does it try to find a file from cygwin ? Bernd Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671
participants (2)
-
Lentes, Bernd
-
Michal Privoznik