Bacula-users

Re: [Bacula-users] director won't start

2015-03-27 13:57:44
Subject: Re: [Bacula-users] director won't start
From: Tim Dunphy <bluethundr AT gmail DOT com>
To: Dimitri Maziuk <dmaziuk AT bmrb.wisc DOT edu>
Date: Fri, 27 Mar 2015 13:56:20 -0400
Hi Dmitri,


That sounds familiar... do you need to do what the
/usr/share/doc/bacula-.../quickstart_mysql.txt says?

Yep! I ran the following commands from the mysql quickstart:

[root@ops:~] #alternatives --set libbaccats.so /usr/lib64/libbaccats-mysql.so
You have new mail in /var/spool/mail/root

[root@ops:~] #chmod +r /etc/bacula/bconsole.conf /etc/bacula/bat.conf

Made sure that my passwords all matched up in the config files:

[root@ops:/etc/bacula] #grep -i 'secret' *.conf
bacula-dir.conf:  Password = "secret"         # Console password
bacula-dir.conf:  Password = "secret"          # password for FileDaemon
bacula-dir.conf:#  Password = "secret"        # password for FileDaemon 2
bacula-dir.conf:  Password = "secret"
bacula-dir.conf:  Password = "secret"
bacula-dir.conf:#  Password = "secret"         # password for Storage daemon
bacula-dir.conf:  Password = "secret"
bacula-fd.conf:  Password = secret
bacula-sd.conf:  Password = "secret"
bconsole.conf:  Password = "secret"

(changed so as to not give away the password).

And after taking those steps, I still find find no MySQL  support in the bacula-dir binary!!

[root@ops:/etc/bacula] #ldd $(which bacula-dir) | grep mysql
[root@ops:/etc/bacula] #

[root@ops:/etc/bacula] #ldd $(which bacula-dir)
        libbacfind-7.0.5.so => /usr/lib64/libbacfind-7.0.5.so (0x00002aaaaaab8000)
        libbacsql-7.0.5.so => /usr/lib64/libbacsql-7.0.5.so (0x00002aaaaacc5000)
        libbaccats-7.0.5.so => /usr/lib64/libbaccats-7.0.5.so (0x00002aaaaaeee000)
        libbaccfg-7.0.5.so => /usr/lib64/libbaccfg-7.0.5.so (0x00002aaaab0f5000)
        libbac-7.0.5.so => /usr/lib64/libbac-7.0.5.so (0x00002aaaab2ff000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002aaaab568000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaab785000)
        libwrap.so.0 => /lib64/libwrap.so.0 (0x00002aaaab989000)
        libssl.so.6 => /lib64/libssl.so.6 (0x00002aaaabb92000)
        libcrypto.so.6 => /lib64/libcrypto.so.6 (0x00002aaaabde1000)
        libcap.so.1 => /lib64/libcap.so.1 (0x00002aaaac132000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002aaaac336000)
        libm.so.6 => /lib64/libm.so.6 (0x00002aaaac637000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002aaaac8ba000)
        libc.so.6 => /lib64/libc.so.6 (0x00002aaaacac8000)
        libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00002aaaace22000)
        libz.so.1 => /lib64/libz.so.1 (0x00002aaaad07d000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00002aaaad292000)
        libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00002aaaad4aa000)
        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002aaaad6d8000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002aaaad96e000)
        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00002aaaadb70000)
        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00002aaaadd96000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00002aaaadf9e000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00002aaaae1a0000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00002aaaae3b6000)
        libsepol.so.1 => /lib64/libsepol.so.1 (0x00002aaaae5ce000)


Thanks for the suggestions. Wondering where to go from here.. ! :)

Tim


On Fri, Mar 27, 2015 at 1:28 PM, Dimitri Maziuk <dmaziuk AT bmrb.wisc DOT edu> wrote:
On 03/27/2015 11:52 AM, Tim Dunphy wrote:

> Ok I think you're right about this!

> No mention of MySQL!!!

That sounds familiar... do you need to do what the
/usr/share/doc/bacula-.../quickstart_mysql.txt says?

--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users




--
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users