Hello,

The SD does not have code that directly accesses the catalog. However, some of 
the tools that reside in the stored directory such as bscan do access the 
catalog directly.  Thus to build the SD, you must define the correct backend 
database.

Regards,

Kern


On Saturday 05 December 2009 01:08:27 Phil Stracchino wrote:
> I think either I just ran into a corner-case configuration error, or my
> understanding of how the different components of Bacula interact is
> incomplete.  Does the SD actually touch the catalog database directly,
> or is all interaction with the catalog through the director?
>
>
> Reason for asking:  I'm upgrading systems from 3.0.1 to 3.0.3.
> Configuring the server went fine.  Configuring one specific client,
> which will also have a secondary FD, I figured that if I wasn't building
> the director I didn't need to specify a database, so I didn't.  My
> configuration directive was as follows:
>
> ./configure --prefix=/opt/bacula --enable-build-stored
> --enable-static-sd --enable-static-tools --enable-static-fd
> --enable-build-dird=no --with-gnu-ld --with-openssl=/usr
> --with-subsys-dir=/opt/bacula/working
> --with-working-dir=/opt/bacula/working --mandir=/opt/bacula/man
> [email protected]
> [email protected] --with-smtp-host=smtp.caerllewys.net
>
> This resulted in the following error:
>
> You have not specified either --enable-client-only or one of the
>   supported databases: MySQL, PostgreSQL, SQLite3, SQLite or DBI.
>   This is not permitted. Please reconfigure.
>
> SHOULD building a SD require that a database be specified?  I thought
> that all database interaction was confined to the Director, and that
> only the director needed to be built against a DB client library.



------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to