[Libvir] Problem using libvirtd on RHEL5.1

Hello 8-) I'm using libvirt-0.4.0-1 (re)compiled from libvirt-0.4.0.tar.gz, on Red Hat EL 5.1 x86_64. The problem is: # /etc/init.d/libvirtd start Starting libvirtd daemon: libvir: QEMU error : cannot create bridge 'virbr0' : File exists Failed to autostart network 'default': cannot create bridge[FAILED]' : File exists And I can't destroy the 'virbr0', because I don't know how :^) --- I've tried do compile the libvirt-cvs-snapshot.tar.gz, but I can't too :( In file included from libvirt.c:36: util.h:28:22: error: util-lib.h: No such file or directory RPM build errors: File not found: /var/tmp/libvirt-0.4.0-root/usr/libexec/libvirt_parthelper Maybe you have some tip/ trick for me :) Many thanks -- Tiago Cruz http://everlinux.com Linux User #282636

On Fri, Feb 22, 2008 at 04:56:24PM -0300, Tiago Cruz wrote:
Hello 8-)
I'm using libvirt-0.4.0-1 (re)compiled from libvirt-0.4.0.tar.gz, on Red Hat EL 5.1 x86_64.
The problem is:
# /etc/init.d/libvirtd start Starting libvirtd daemon: libvir: QEMU error : cannot create bridge 'virbr0' : File exists Failed to autostart network 'default': cannot create bridge[FAILED]' : File exists
And I can't destroy the 'virbr0', because I don't know how :^)
You need to shutdown the existing libvirt_qemud daemon that comes with RHEL5 first. If that's already gone, and you still have virbr0, then manually delete it with 'ifconfig virbr0 down' and 'brctl delbr virbr0' Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|

On Fri, 2008-02-22 at 21:13 +0000, Daniel P. Berrange wrote:
You need to shutdown the existing libvirt_qemud daemon that comes with RHEL5 first. If that's already gone, and you still have virbr0, then manually delete it with 'ifconfig virbr0 down' and 'brctl delbr virbr0'
Good! I was tried '...virbr0 down' but now 'brcrt del...' yet. Anyway, the compilation from CVS has done perfect! :) Now, the daemon was started and from my workstation I can connect using SSH! But now, this is the list of problems: Remote, virt-manager 0.53: "Console is not yet active from guest" Local, virt-manager 0.40: "The console is currently unavailable" Local, virt-manager 0.53: virt-manager does not open :) I think that it's because of my new libvirt. Daniel, please, what's the better solution for RHEL 5.1? I would like to get one way to manage my VM's from a remote way... today, I'm using NXClient to get a local console, but I would like to change this using some with ssh/http... Thanks Have a good weekend! -- Tiago Cruz http://everlinux.com Linux User #282636
participants (2)
-
Daniel P. Berrange
-
Tiago Cruz