With some searching I found a reply from Phil Stracchino on a similar
question back in 2011 and the following was the communication:-
/ > Hi,/
/ > Is it possible to install storage daemon only from sources and in /
/ > this case is the MySQL is needed?/
/ > I've got director and catalog on different machine without connection
to /
/ > tabe library, and want to install SD on another host./
/ >/
/Yes, if you lounch ./configure --help you can see that using/
/--disable-build-dird --without-mysql you should compile only the storage/
/deamon./
/Anyway, I'have not try this on my installations./
Actually, this is not correct. You still need to specify the correct
catalog DB engine when building only the storage daemon, because the
storage daemon includes the storage daemon tools - btape, bscan etc -
and some of those tools (bscan in particular) need to be able to access
the catalog database directly without going through the Director.
--
Phil Stracchino
So this looks like you have to have one of the databases even if it is
only the SD.
Adolf Belka.
Sent from my Desktop Computer
On 12/02/18 23:12, Adolf Belka wrote:
Only thing I can think of is that when you specify
--disable-build-dird then you maybe have to explicitly specify
--enable-build-stored though not really sure that is an actual
requirement because it is supposed to be the default.
Adolf Belka.
Sent from my Desktop Computer
On 12/02/18 22:57, Adolf Belka wrote:
Whoops, just seen that you already had that command in your config
file so then I don't understand why it still expected you to have a
database selected. Will think further on it.
Adolf Belka.
Sent from my Desktop Computer
On 12/02/18 22:47, Adolf Belka wrote:
As you have not specified -enable-client-only then the default is to
build both the SD and Director and then you need a database. So you
need to disable the Director with the config option -disable-build-dir.
This should hopefully solve your problem.
Adolf Belka.
Sent from my Desktop Computer
On 12/02/18 20:58, Tilman Schmidt wrote:
Am 12.02.2018 um 18:40 schrieb Shawn Rappaport:
Thank you for the advice, Tilman! I tried to configure just the SD
on the storage server by using this command:
CFLAGS="-g -Wall" ./configure --sysconfdir=/etc/bacula
--with-scriptdir=/etc/bacula --enable-smartalloc
--with-working-dir=/var/bacula --with-pid-dir=/var/run
--enable-readline --disable-build-dird
However, it says:
You have not specified either --enable-client-only or one of the
supported databases: MySQL, PostgreSQL, or SQLite3.
This is not permitted. Please reconfigure.
Can't say much about ./configure.
I'm using the pre-build packages, not compiling from source.
The bacula-storage package I use doesn't require a database.
Do I need to install MySQL and use --with-mysql even if I only
want the SD?
You shouldn't have to. But perhaps the configure script needs some
special incantation to build only the storage daemon.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users