Varun Bhatnagar
2013-Jan-16 11:28 UTC
[libvirt-users] Libvirt daemon is not getting started
Hi, Earlier I was having libvirt-0.7.5 but now I have installed 0.9.8 version of libvirt now. I am trying to start libvirt daemon using the command below but daemon it is not getting started and the PID file is not getting created. Tried /usr/loval/sbin/libvirtd -d option too. In that case I am not getting any error but PID file is not getting created in this case too. /usr/local/sbin/libvirtd 2013-01-16 16:43:53.399+0000: 4070: info : libvirt version: 0.9.8 2013-01-16 16:43:53.399+0000: 4070: error : virCommandWait:2192 : internal error Child process (/usr/sbin/iptables --table mangle --delete POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 --jump CHECKSUM --checksum-fill) status unexpected: exit status 2 2013-01-16 16:43:53.406+0000: 4070: error : virCommandWait:2192 : internal error Child process (/usr/sbin/iptables --table mangle --insert POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 --jump CHECKSUM --checksum-fill) status unexpected: exit status 2 2013-01-16 16:43:53.406+0000: 4070: warning : networkAddGeneralIptablesRules:1259 : Could not add rule to fixup DHCP response checksums on network 'default'. 2013-01-16 16:43:53.406+0000: 4070: warning : networkAddGeneralIptablesRules:1260 : May need to update iptables package & kernel to support CHECKSUM rule. 2013-01-16 16:43:54.704+0000: 4070: error : umlStartup:471 : cannot initialize inotify 2013-01-16 16:43:54.704+0000: 4070: error : virStateInitialize:854 : Initialization of UML state driver failed 2013-01-16 16:43:54.704+0000: 4070: error : daemonRunStateInit:1157 : Driver state initialization failed and I am also trying to connect to VMPlayer with the following URL but it is giving the following error message: virsh # connect vmplayer:///session error: Failed to connect to the hypervisor error: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory Is this because of the daemon, as it is not getting started or because of some other reason? Can anybody suggest any solution for this. I am stuck from past few days and not able to find solution. Any help will be appreciated. Thanks in advance. Regards, Varun =====-----=====-----====Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130116/d96826e1/attachment.htm>
On 01/16/2013 04:28 AM, Varun Bhatnagar wrote:> Hi, > > Earlier I was having libvirt-0.7.5 but now I have installed 0.9.8 version > of libvirt now.Is this a pre-built distro version (if so, you might want to ask your distro for help) or from an upstream tarball (if so, why not upgrade all the way to libvirt 1.0.1? There may have been a fix for this issue in the meantime). Remember, libvirt strives for backward-compatibility, so you can always drop in a newer libvirt where an older one used to work.> 2013-01-16 16:43:53.406+0000: 4070: warning : > networkAddGeneralIptablesRules:1260 : May need to update iptables package > & kernel to support CHECKSUM rule.This warning is worth heeding, but not mandatory to fix.> 2013-01-16 16:43:54.704+0000: 4070: error : umlStartup:471 : cannot > initialize inotifyThis, on the other hand, is the reason that libvirtd is not starting. Are you actually using uml? If not, it may be easiest to rerun ./configure, but this time pass --without-uml, to disable this code. If you are, then you'll probably have to step through the initialization under gdb to see why inotify isn't working.> and I am also trying to connect to VMPlayer with the following URL but it > is giving the following error message: > > virsh # connect vmplayer:///session > error: Failed to connect to the hypervisor > error: Failed to connect socket to > '/usr/local/var/run/libvirt/libvirt-sock': No such file or directoryYes, this error is expected when libvirtd fails to run.> Notice: The information contained in this e-mailI'll repeat the advice we have already given you about avoiding disclaimers by sending from a personal account, but this time by copying a humorous blurb first posted elsewhere (https://lists.gnu.org/archive/html/bug-coreutils/2013-01/msg00092.html) READ CAREFULLY. By reading this email, you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licences, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 621 bytes Desc: OpenPGP digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130116/7fc34aee/attachment.sig>