Bacula-users

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

2015-03-27 17:25:10
Subject: Re: [Bacula-users] director won't start
From: Dimitri Maziuk <dmaziuk AT bmrb.wisc DOT edu>
To: Tim Dunphy <bluethundr AT gmail DOT com>
Date: Fri, 27 Mar 2015 16:20:19 -0500
On 03/27/2015 03:16 PM, Tim Dunphy wrote:
>>
> 
> Ah-HA!!!

> [root@ops:/etc/bacula] #alternatives --set libbaccats-mysql-7.0.5.so
>  /usr/lib64/libbaccats-mysql.so
> 
> So I guess I'm still not doing this quite right, because it looks like the
> mysql libraries are still not linked to the bacula director:
> 
> [root@ops:/etc/bacula] #ldd $(which bacula-dir)| grep -i mysql
> [root@ops:/etc/bacula] #
> 
> Nothing shows up. So what do I need to do to get this working correctly?

What the fine manual sez, literally:
alternatives --set libbaccats.so /usr/lib64/libbaccats-mysql.so

You might want to "--remove libbaccats-mysql-7.0.5.so" while you're at it.

The long story is /usr/lib[64]/libfoo.so is a symlink to
/etc/alternatives/libfoo.so which is a symlink to
/someplace/libactual.so which is usually a symlink to something else
like /someplace/libactual-1.2.3.so.

So from the above the command line you're supposed to use is obviously
"--set libfoo.so /someplace/libactual.so" -- how could you not see that
plain as day.</sarcasm>

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

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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