Bacula-users

Re: [Bacula-users] Error in bacula-dir.conf, but nothing changed.

2011-03-08 04:45:26
Subject: Re: [Bacula-users] Error in bacula-dir.conf, but nothing changed.
From: Mike Brady <mike.brady AT devnull.net DOT nz>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 08 Mar 2011 22:42:16 +1300
Quoting "J. Echter" <j.echter AT elektro-mayer-echter DOT de>:

> Am 08.03.2011 09:35, schrieb Mike Brady:
>> Quoting "J. Echter" <j.echter AT elektro-mayer-echter DOT de>:
>>
>>> Am 08.03.2011 08:45, schrieb J. Echter:
>>>> Hi,
>>>>
>>>> my backups yesterday ran all OK, but today i bacula doesn't start up
>>>> after a reboot.
>>>>
>>>> Error Message i get is:
>>>>
>>>> sudo ./bacula-sd -t -c -v /etc/bacula/bacula-dir.conf
>>>> 08-Mar 08:44 bacula-sd: ERROR TERMINATION at parse_conf.c:971
>>>> Config error: Keyword "DirPort" not permitted in this resource.
>>>> Perhaps you left the trailing brace off of the previous resource.
>>>>               : line 3, col 10 of file /etc/bacula/bacula-dir.conf
>>>>     DirPort = "9101"
>>>>
>>>>
>>>> what's wrong? i can't see anything wrong in this line.
>>> here's are the first few lines of the conf file:
>>>
>>> Director {
>>>    Name = bacula-dir
>>>    DirPort = 9101
>>>    QueryFile = "/etc/bacula/scripts/query.sql"
>>>    WorkingDirectory = "/var/lib/bacula"
>>>    PidDirectory = "/var/run/bacula"
>>>    Maximum Concurrent Jobs = 10
>>>    Password = "password"
>>>    Messages = Daemon
>>> #  DirAddress = 192.168.0.87
>>> }
>>>
>>> bacula 5.0.3 on Ubuntu 10.04 x64
>>>
>>> greets.
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> What You Don't Know About Data Connectivity CAN Hurt You
>>> This paper provides an overview of data connectivity, details
>>> its effect on application quality, and explores various alternative
>>> solutions. http://p.sf.net/sfu/progress-d2d
>>> _______________________________________________
>>> Bacula-users mailing list
>>> Bacula-users AT lists.sourceforge DOT net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>
>>
>> You are running the bacula-sd with the dir config file?
>>
>> ----------------------------------------------------------------
>>
> oops. my dear that is an error...
>
> but still problems to start bacula-sd. if i test with the correct conf
> file i get no output. means all ok ?!?!
>
> but a service bacula-sd start --> [fail]
>
> i can't see anything in my logs.
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
Have you tried starting the SD in debug mode to see if that sheds any  
light on the problem.


----------------------------------------------------------------


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users