Bacula-users

Re: [Bacula-users] Fedora 24 (bacula 7.4.1) gives error in bacula-sd.conf

2016-07-03 09:25:19
Subject: Re: [Bacula-users] Fedora 24 (bacula 7.4.1) gives error in bacula-sd.conf
From: Kern Sibbald <kern AT sibbald DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 3 Jul 2016 15:24:02 +0200
Well, that is exactly what is expected.  If you execute the storage 
daemon and give it a File daemon's conf file, it will get upset.

Best regards,
Kern

On 07/03/2016 12:12 PM, bdam wrote:
> Whats wrong with this please? I'm guessing something is now incompatible with 
> the same config I've used for years. Happens on all 3 servers, all of which 
> just got the Fedora 23->24 update.
>
> Here is the error:
>
> [root@sabbath sbin]# ./bacula-sd -d -c /etc/bacula/bacula-fd.conf -u root -g 
> root
> [root@sabbath sbin]# bacula-sd: ERROR TERMINATION at parse_conf.c:932
> Config error: expected resource name, got: FileDaemon
>              : line 31, col 11 of file /etc/bacula/bacula-fd.conf
> FileDaemon {                          # this is me
>
> 03-Jul 10:28 bacula-sd: ERROR TERMINATION at parse_conf.c:932
> Config error: expected resource name, got: FileDaemon
>              : line 31, col 11 of file /etc/bacula/bacula-fd.conf
> FileDaemon {                          # this is me
>
> ##################################
>
> Here is the full bacula-sd.conf
>
> [root@sabbath sbin]# cat /etc/bacula/bacula-fd.conf
> #
> # Default  Bacula File Daemon Configuration file
> #
> #  For Bacula release 2.4.2 (26 July 2008) -- redhat
> #
> # There is not much to change here except perhaps the
> # File daemon Name to
> #
>
> #
> # List Directors who are permitted to contact this File daemon
> #
> Director {
>    Name = sabbath-dir
>    Password = "{REDACTED}"
> }
>
> #
> # Restricted Director, used by tray-monitor to get the
> #   status of the file daemon
> #
> Director {
>    Name = sabbath-mon
>    Password = "{REDACTED}"
>    Monitor = yes
> }
>
> #
> # "Global" File daemon configuration specifications
> #
> FileDaemon {                          # this is me
>    Name = sabbath-fd
>    FDport = 9102                  # where we listen for the director
>    WorkingDirectory = /data/Bacula/Working
>    Pid Directory = /var/run
>    Maximum Concurrent Jobs = 20
> }
>
> +----------------------------------------------------------------------
> |This was sent by bill.damage AT yahoo DOT com via Backup Central.
> |Forward SPAM to abuse AT backupcentral DOT com.
> +----------------------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users