Bacula-users

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

2011-03-08 04:33:08
Subject: Re: [Bacula-users] Error in bacula-dir.conf, but nothing changed.
From: "J. Echter" <j.echter AT elektro-mayer-echter DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 08 Mar 2011 10:28:26 +0100
Am 08.03.2011 09:38, schrieb J. Echter:
> 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.
>
ok... forget about, i don't know what was wrong last day... PDC didn't 
work, SOGo didn't work, bacula didn't....

now some magic happened and all is working again...

i'm happy for now ;)

------------------------------------------------------------------------------
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