[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    Re: [libvirt-users] Error on running libvirt (dnsmasq)
From:       Michal Privoznik <mprivozn () redhat ! com>
Date:       2012-04-20 7:09:21
Message-ID: 4F910BA1.6080200 () redhat ! com
[Download RAW message or body]

On 20.04.2012 08:01, John Wayne wrote:
> Hi,
> 
> I am running libvirt on RHEL 6.2 and getting this below error when I start the \
> daemon: 
> /usr/sbin/libvirtd --verbose
> 2012-04-20 06:00:13.366+0000: 26900: info : libvirt version: 0.9.11
> 2012-04-20 06:00:13.366+0000: 26900: error : virExecWithHook:424 : Cannot find \
> 'dnsmasq' in path: No such file or directory 2012-04-20 06:00:13.405+0000: 26900: \
> warning : ebiptablesDriverInit:4066 : Could not find 'ebtables' executable \
> 2012-04-20 06:00:13.419+0000: 26900: error : virCommandWait:2306 : internal error \
> Child process (/bin/sh -c IPT=/sbin/ip6tables cmd='$IPT -n -L FORWARD'
> eval res=\$\("${cmd} 2>&1"\)
> if [ $? -ne 0 ]; then  echo "Failure to execute command '${cmd}' : '${res}'.";  \
> exit 1;fi ) status unexpected: exit status 1
> 2012-04-20 06:00:13.419+0000: 26900: error : ebiptablesDriverInit:4101 : Testing of \
> ip6tables command failed: Failure to execute command '$IPT -n -L FORWARD' : \
> 'WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into \
> /etc/modprobe.d/. ip6tables v1.4.7: can't initialize ip6tables table `filter': \
> Address family not supported by protocol Perhaps ip6tables or your kernel needs to \
> be upgraded.'. 
> I compiled libvirt from the source, do I really need dnsmasq? 

No, unless you want to use the default network (or any variation of it).
That is - dnsmasq is used as DHCP server for guests. You can disable
autostart on the default network via virsh:

   virsh net-autostart --disable default

Michal


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic