Run bacula-fd -t in a terminal to check for config errors.

-Chris-

On Tue, 2 Jun 2026, 05:23 Russell Kackley, <[email protected]> wrote:

> Gary,
>
> I think your problem is in this line:
>
> Director = {
>
> Delete the "=" and try again.
>
> On Mon, Jun 1, 2026 at 5:30 PM Gary Dale <[email protected]> wrote:
>
>> One of the benefits of running Linux on a phone is that it runs all the
>> software I'm used to. I thought it would be easy to run Bacula to backup
>> the phone daily. That wasn't quite the case.
>>
>> The first sticking point was that the phone kept changing its MAC
>> address. which made it impossible to preserve an IP (unless I wanted to
>> never use public WiFi anymore). Fortunately the developers fixed that so
>> it now picks up a reserved DHCP address from my home router.
>>
>> My first thought was to just duplicate my workstation's setup on my
>> bacula server and copy the workstation's -fd.conf file to my phone and
>> adjust it.
>>
>> Seems to almost work. I can start a job on the server and it will try to
>> run it but fails after 3 minutes because it can't communicate with the
>> phone's fd.
>>
>> Looking on the phone, bacula-fd isn't starting (see below).
>>
>> What I can't figure out is why. Any help would be appreciated.
>>
>> My bacula-fd.conf on the phone is:
>>
>> cat bacula-fd.conf
>> #
>> # Default  Bacula File Daemon Configuration file
>> #
>> # There is not much to change here except perhaps the
>> # File daemon Name to
>> #
>> #
>> # Copyright (C) 2000-2023 Kern Sibbald
>> # License: BSD 2-Clause; see file LICENSE-FOSS
>> #
>>
>> #
>> # List Directors who are permitted to contact this File daemon
>> #
>> Director {
>>    Name = FuriPhoneFLX1s-dir
>>    Password = "<same as on server & workstation>"
>> }
>>
>> Director = {
>>    Name = TheLibrarian-dir   # bacula server
>>    Password = "<same as on server & workstation>"
>> }
>>
>> #
>> # Restricted Director, used by tray-monitor to get the
>> #   status of the file daemon
>> #
>>
>> Director {
>>    Name = FuriPhoneFLX1s-mon
>>    Password = "<random  password - not sure where it is used>"
>>    Monitor = yes
>> }
>>
>> #
>> # "Global" File daemon configuration specifications
>> #
>> FileDaemon {                          # this is me
>>    Name = FuriPhoneFLX1s-fd
>>    FDport = 9102                  # where we listen for the director
>>    WorkingDirectory = /var/lib/bacula
>>    Pid Directory = /run/bacula
>>    Maximum Concurrent Jobs = 20
>>    Plugin Directory = /usr/lib/bacula
>>    FDAddress = <phone's IP address>
>> }
>>
>> # Send all messages except skipped files back to Director
>> Messages {
>>    Name = Standard
>>    director = FuriPhoneFLX1s-dir = all, !skipped, !restored, !verified,
>> !saved
>> }
>>
>> -------------------------
>>
>> systemd output
>>
>> --------------------------
>>
>> # systemctl status bacula-fd.service
>> ● bacula-fd.service - Bacula File Daemon service
>>       Loaded: loaded (/usr/lib/systemd/system/bacula-fd.service;
>> enabled; preset: enabled)
>>       Active: activating (auto-restart) (Result: exit-code) since Mon
>> 2026-06-01 17:39:09 EDT; 47s ago
>>   Invocation: 5c3dcb2ce66741599440a8c7185419d0
>>         Docs: man:bacula-fd(8)
>>      Process: 1395076 ExecStartPre=/usr/sbin/bacula-fd -t -c $CONFIG
>> (code=exited, status=1/FAILURE)
>>          CPU: 13ms
>>
>> Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Control
>> process exited, code=exited, status=1/FAILURE
>> Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Failed
>> with result 'exit-code'.
>> Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: Failed to start
>> bacula-fd.service - Bacula File Daemon service.
>>
>> and
>>
>> # journalctl -xeu bacula-fd.service
>> ░░ Support: https://www.debian.org/support
>> ░░
>> ░░ A start job for unit bacula-fd.service has begun execution.
>> ░░
>> ░░ The job identifier is 154579.
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: bacula-fd: ERROR
>> TERMINATION at parse_conf.c:1722
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Config error:
>> unexpected token 110 T_EQUALS in resource definition
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]:             : line
>> 21, col 10 of file /etc/bacula/bacula-fd.conf
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Director = {
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: 01-Jun 17:41
>> bacula-fd: ERROR TERMINATION at parse_conf.c:1722
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Config error:
>> unexpected token 110 T_EQUALS in resource definition
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]:             : line
>> 21, col 10 of file /etc/bacula/bacula-fd.conf
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Director = {
>> Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Control
>> process exited, code=exited, status=1/FAILURE
>> ░░ Subject: Unit process exited
>> ░░ Defined-By: systemd
>> ░░ Support: https://www.debian.org/support
>> ░░
>> ░░ An ExecStartPre= process belonging to unit bacula-fd.service has
>> exited.
>> ░░
>> ░░ The process' exit code is 'exited' and its exit status is 1.
>> Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Failed
>> with result 'exit-code'.
>> ░░ Subject: Unit failed
>> ░░ Defined-By: systemd
>> ░░ Support: https://www.debian.org/support
>> ░░
>> ░░ The unit bacula-fd.service has entered the 'failed' state with result
>> 'exit-code'.
>> Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: Failed to start
>> bacula-fd.service - Bacula File Daemon service.
>> ░░ Subject: A start job for unit bacula-fd.service has failed
>> ░░ Defined-By: systemd
>> ░░ Support: https://www.debian.org/support
>> ░░
>> ░░ A start job for unit bacula-fd.service has finished with a failure.
>> ░░
>>
>>
>>
>> _______________________________________________
>> Bacula-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>
> --
> Russell Kackley
> Subaru Telescope
> Hilo, Hawaii
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to