Re: [Bacula-users] Error in bacula-dir.conf, but nothing changed.
2011-03-08 03:25:32
Am 08.03.2011 08:50, schrieb J. Echter:
> 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
>
if i comment the DIRPort option, i get:
08-Mar 09:21 bacula-fd: ERROR TERMINATION at parse_conf.c:971
Config error: Keyword "QueryFile" not permitted in this resource.
Perhaps you left the trailing brace off of the previous resource.
: line 4, col 12 of file /etc/bacula/bacula-dir.conf
QueryFile = "/etc/bacula/scripts/query.sql"
very annoying since this is a productive machine. :(
------------------------------------------------------------------------------
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
|
|
|