Hello, Team

I have Bareos server installed on Oracle Linux v9.6 (Red Hat based) with
the disabled IPv6 stack.

Since Bareos 21.0.0 release (2021-12-21)

Bareos now listens on IPv4 and IPv6 by default. If you currently use
[DIR|SD|FD] Address or [DIR|SD|FD] Address, you may need to update your
configuration to get the same behaviour as before. PR #882
https://github.com/bareos/bareos/pull/882
<https://github.com/bareos/bareos/pull/882>

Due to the disabled IPv6 on the server all bareos daemons trigger warnings:

07-Nov 18:05 bareos-fd: Warning: Cannot open IPv6 stream socket.
ERR=Address family not supported by protocol
07-Nov 18:05 bareos-fd: Warning: Can't add default IPv6 address (IPv6
address wanted but IPv6 is disabled!)

07-Nov 18:04 bareos-sd: Warning: Cannot open IPv6 stream socket.
ERR=Address family not supported by protocol
07-Nov 18:04 bareos-sd: Warning: Can't add default IPv6 address (IPv6
address wanted but IPv6 is disabled!)
07-Nov 18:04 bareos-sd: Warning: Can't add default IPv6 address (IPv6
address wanted but IPv6 is disabled!)

07-Nov 17:56 bareos-dir: Warning: Cannot open IPv6 stream socket.
ERR=Address family not supported by protocol
07-Nov 17:56 bareos-dir: Warning: Can't add default IPv6 address (IPv6
address wanted but IPv6 is disabled!)

Tried to add only IPv4 usage to the configuration files as described at
https://docs.bareos.org/Configuration/CustomizingTheConfiguration.html#datatype-addresses
but the warnings are still occuring.

/etc/bareos/bareos-dir.d/director/bareos-dir.conf
DirAddresses  = {
  ipv4 = { addr = 0.0.0.0 }
}
or Dir Address = 0.0.0.0

/etc/bareos/bareos-fd.d/client/myself.conf
FdAddresses = { ip = { addr =  0.0.0.0 ; port = 9102 } }
 or
FD Address =  0.0.0.0

How can we get rid of these warnings?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/CANfMhsuxw%3DXVxNre-FfibjuKFXjZTFKJD%3Dezco8LAzJQkivPTA%40mail.gmail.com.

Reply via email to