Director {
Name = bareos-dir
Password = "XXXXXXXXXXXXX"
Description = "Allow the configured Director to access this file daemon."
Dir Addresses = {
ipv6 = {
addr = ::;
}
}
}
Aug 27 18:25:53 ubuntudev bareos-fd[8437]: Config error: Keyword "DirAddresses" not permitted in this resource.
Aug 27 18:25:53 ubuntudev bareos-fd[8437]: Perhaps you left the trailing brace off of the previous resource.
Aug 27 18:25:53 ubuntudev bareos-fd[8437]: : line 6, col 17 of file /etc/bareos/bareos-fd.d/directo
Aug 27 18:25:53 ubuntudev bareos-fd[8437]: Dir Addresses = {
Aug 27 18:25:53 ubuntudev systemd[1]: bareos-filedaemon.service: Control process exited, code=exited status=1
Aug 27 18:25:53 ubuntudev systemd[1]: bareos-filedaemon.service: Failed with result 'exit-code'.
Aug 27 18:25:53 ubuntudev systemd[1]: Failed to start Bareos File Daemon service.On 27.08.19 at 15:29 wrote Samuel Marischek:
> Hello all,
>
> We use here Bareos 17.2 with UCS. The most of the servers here are IPV6
> only. So i find out that the ports on the server and client are not
> listen on ipv6. Where i can enable this?
>
> And the same @the client. We use here Ubuntu 18.04.
Bareos daemons listen on IPv4 by default.
If you want it to listen on IPv6,
add following lines to your Bareos Director configuration
(/etc/bareos/bareos-dir.d/director/bareos-dir.conf):
Dir Addresses = {
ipv6 = {
addr = ::;
}
}
Do it accordingly in the Storage- and File-Daemon configurations.
Regards,
Jörg
--
Jörg Steffens joerg....@bareos.com
FD Addresses = {
ipv6 = { addr = ::; }
}Director {
Name = bareos-dir
Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXxx"
Description = "Director, who is permitted to contact this storage daemon."
SDAddresses = {
ipv6 = { addr = ::; }
}
}/etc/bareos/bareos-dir.d/director/bareos-dir.conf/etc/bareos/bareos-sd.d/storage/bareos-sd.conf/etc/bareos/bareos-fd.d/client/myself.conf
If check with lsof:
lsof -i :9101
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
bareos-di 1578 bareos 4u IPv6 23628 0t0 TCP *:bacula-dir (LISTEN)
lsof -i :9102
bareos-fd 1438 root 3u IPv6 11188 0t0 TCP *:bacula-fd (LISTEN)
lsof -i :9103
bareos-sd 9362 bareos 3u IPv6 40641 0t0 TCP *:bacula-sd (LISTEN)
lsof -i :9103
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
bareos-fd 891 root 5u IPv6 26559 0t0 TCP ubuntudev.supertux.lan:41722->bareos.supertux.lan:bacula-sd (ESTABLISHED)bareos-sd JobId 43: Job Backup-ubuntudev.supertux.lan.2019-08-28_16.47.16_15 is waiting. Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "FileStorage" (/var/lib/bareos/storage)
Pool: Incremental
Media type: FileOn 27.08.19 at 19:40 wrote Samuel Marischek:
> Ok, the storagedameon did not start:
>
> |
> Director{
> Name=bareos-dir
> Password="XXXXXXXXXXXXXXXXXXXXXXXXXXXXxx"
> Description="Director, who is permitted to contact this storage daemon."
>
> SDAddresses ={
> ipv6 ={addr =::;}
> }
> }
> |
>
> So i think SDAddresses ist no right.
You need to set it in the Storage Daemon own ressource at
/etc/bareos/bareos-sd.d/storage/bareos-sd.conf , see
https://docs.bareos.org/Configuration/StorageDaemon.html#storage-resource
--
Jörg Steffens joerg....@bareos.com