On Tuesday 28 April 2009 03:28:22 James Harper wrote:
> I am testing the director under Windows, and after a default install the
> service doesn't start, it says:
>
> "
> 28-Apr 11:15 bacula-dir: ERROR TERMINATION at
> /home/kern/bacula/k/src/dird/inc_c
> onf.c:712
> Config error: Options section not permitted in Exclude
>
>             : line 119, col 12 of file
>
> C:\ProgramData\Bacula/bacula-dir.conf
>     Options {
> "
>
> The fragment of the config file it is concerned with is:
>
> "
> #
> # If you backup the root directory, the following excluded
> #   files can be useful
> #
>   Exclude {
>     Options {
>       signature = MD5
>       ignore case = yes
>     }
>     File = C:/Temp
>     File = C:/tmp
>   }
> }
> "

Well, the Options resource is not permitted in the Exclude.  It looks like 
someone improved the default Win32/64 conf file to have more cases that could 
be useful, but either pulled something from a bad example or just forgot.

>
> I understand that the default config is just a fairly generic sample,
> but it would be best if it was actually valid :)

Thanks for pointing this out -- I just found the offending code and have 
removed it.

>
> Also, the make_sqlite3_tables.sql produces a version 10 database, and
> bacula-dir says it wants version 11.

Hmmm. Yes -- that may be problematic.  We don't support the Dir and SD, which 
means we do not test them, so it looks like no one updated those tables.  I 
will look at it and see if I can fix it.

Thanks for the pointers ...

Kern

>
> James
>
>
> ---------------------------------------------------------------------------
>--- Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Bacula-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel



------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to