Langenbach, Steffen
2011-Oct-24 16:02 UTC
[libvirt-users] Start of libvirtd fails with error "undefined symbol: __virAlloc"
Hello List like described in the topic I have a problem with starting the libvirtd. I'm a complete newbie with libvirtd, today I heard the first time that such a daemon exists after I get the message that our webserver isn't running (a former colleague has installed this system). We have the following configuration: A Ubuntu based host on which our webserver runs within a qemu virtual machine. The following happens: Yesterday the host restarted (at the moment we don't know the reason) and since this restart libvirtd did not start up. How I found that out: When I try to start the virtual machine with "virsh start z-web" I get the error: "Connecting to uri: qemu:///session libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock': No such file or directory error: failed to connect to the hypervisor" As explained, I'm a total Newbie with libvirtd. So as far as I know, the libvirt-sock is generated by libvirtd when it's running. I don't know the right way how to start libvirtd. I tried it by just typing "libvirtd", but that generates this error: "libvirtd: symbol lookup error: libvirtd: undefined symbol: __virAlloc". I can't find any log-entry that gives me more information about this error. Does anybody can help me with this problem? In which logfiles does libvirtd normaly writes such errormessages? Or what can the problem be? If you need more information about the configuration or something else, I can find that out, if you tell me where ;) Thanks alot for your help! Kind regards, Steffen ________________________________ Steffen Langenbach IT-Administration Tel: +49 6151 50031-66 Fax: +49 6151 50031-40 Steffen.Langenbach at mechatronic.de [http://www.mechatronic.de/fileadmin/gfx/mechatronic_mail.jpg] ________________________________ Mechatronic AG ? Wittichstra?e 2, 64295 Darmstadt; DE ? Tel +49 6151 50031-66 ? Fax +49 6151 50031-40 ________________________________ Diese E-Mail enth?lt vertrauliche Informationen. Wenn Sie diese E-Mail irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Die Anfertigung unerlaubter Kopien, die Weitergabe der Information sowie die unbefugte Weitersendung der E-Mail ist nicht gestattet. This e-mail contains confidential information. If you wrongly received this e-mail, please inform the sender immediately and delete this e-mail. Unauthorised copying, disclosure or distribution of this e-mail is strictly forbidden. Amtsgericht: Darmstadt, Sitz: Darmstadt, HRB 9437 Vorstand: Thomas Ullmann (Vors./CEO) Vorsitzender des Aufsichtsrats: Dr. Alexander Geilert -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111024/3d650c3f/attachment.htm>
Eric Blake
2011-Oct-26 18:04 UTC
[libvirt-users] Start of libvirtd fails with error "undefined symbol: __virAlloc"
On 10/24/2011 10:02 AM, Langenbach, Steffen wrote:> Hello List > > like described in the topic I have a problem with starting the libvirtd. I'm a complete newbie with libvirtd, today I heard the first time that such a daemon exists after I get the message that our webserver isn't running (a former colleague has installed this system). > We have the following configuration: A Ubuntu based host on which our webserver runs within a qemu virtual machine. > The following happens: Yesterday the host restarted (at the moment we don't know the reason) and since this restart libvirtd did not start up. > How I found that out: When I try to start the virtual machine with "virsh start z-web" I get the error: > "Connecting to uri: qemu:///session > libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock': No such file or directory > error: failed to connect to the hypervisor" > As explained, I'm a total Newbie with libvirtd. So as far as I know, the libvirt-sock is generated by libvirtd when it's running. I don't know the right way how to start libvirtd. I tried it by just typing "libvirtd", but that generates this error: "libvirtd: symbol lookup error: libvirtd: undefined symbol: __virAlloc".Generally, you would start libvirtd via your system's service management utilities, such as 'service libvirtd start', rather than directly invoking the binary. That way, it gets started with the right privileges and daemonization patterns. Your particular error makes it sound like you have a botched installation; generally, a symbol not found message is an indication that the libvirtd binary depends on libvirt.so, but that your ld.so can't find the proper version of libvirt.so in any of the usual places. Are you using a distro build (if so, reinstall the libvirt package) or a self-built binary (if so, double-check your configuration and installation parameters).> > I can't find any log-entry that gives me more information about this error.For an entry point not found error, there won't be any log message - your libvirtd (actually, ld.so) was dying even before it gets to main(). -- Eric Blake eblake at redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Maybe Matching Threads
- System Time Source
- login on homes share despite available = no
- America's Army 3 (AA3Game.exe) Crashes with Steam Client and Wine 1.3.2
- Picture Tutorial: Installing OpenSUSE 11.2 x86_64 Linux as a PV DomU (Xen 3.5-unstable Pv-Ops Dom0 Kernel 2.6.31.5)
- Xen Pv-Ops DomU Virtualization Support for ChromiumOS64