Bacula-users

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

2015-03-27 13:48:49
Subject: Re: [Bacula-users] director won't start
From: Tim Dunphy <bluethundr AT gmail DOT com>
To: Josip Deanovic <djosip+news AT linuxpages DOT net>, "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 27 Mar 2015 13:47:03 -0400
Josip,


I uninstalled bacula-director as you suggested. And went through the install again. It seems to only offer me the bacula-dir that does'nt directly support mysql, if I'm understanding everything correctly:


[root@ops:~] #yum install bacula-director-mysql.x86_64
Loaded plugins: downloadonly, fastestmirror, priorities
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository kbs-CentOS-Extras is listed more than once in the configuration
Repository kbs-CentOS-Testing is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * addons: mirror.symnds.com
 * rpmforge: mirror.us.leaseweb.net
 * updates: mirrors.mit.edu
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package bacula-director-mysql is obsoleted by bacula-director, trying to install bacula-director-7.0.5-1.el5.x86_64 instead
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package bacula-director.x86_64 0:7.0.5-1.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package                       Arch                 Version                      Repository                     Size
=====================================================================================================================
Installing:
 bacula-director               x86_64               7.0.5-1.el5                  slaanesh-Bacula               337 k

Transaction Summary
=====================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 337 k
Is this ok [y/N]:

Thanks for your help so far. Further suggestions would be appreciated!

On Fri, Mar 27, 2015 at 1:06 PM, Josip Deanovic <djosip+news AT linuxpages DOT net> wrote:
Quoting message written on Friday 2015-03-27 12:52:13:
> No mention of MySQL!!!
>
> If I do a yum search for references to mysql and bacula:
>
> [root@ops:~] #yum search bacula| grep mysql
> Repository base is listed more than once in the configuration
> Repository updates is listed more than once in the configuration
> Repository extras is listed more than once in the configuration
> Repository centosplus is listed more than once in the configuration
> Repository contrib is listed more than once in the configuration
> Repository kbs-CentOS-Extras is listed more than once in the
> configuration Repository kbs-CentOS-Testing is listed more than once in
> the configuration bacula-director-mysql.x86_64 : Bacula Director with
> MySQL database support bacula-storage-mysql.x86_64 : MySQL Bacula
> storage daemon files
>
> That's what I get.
>
> If I go:
>
> [root@ops:~] #yum install bacula-director-mysql.x86_64
>
> I get:
>
> Package bacula-director-mysql is obsoleted by bacula-director, trying to
> install bacula-director-7.0.5-1.el5.x86_64 instead
> Package bacula-director-7.0.5-1.el5.x86_64 already installed and latest
> version
> Nothing to do

I think that bacula-director package brings you the bacula-director with
the support for sqlite library.

You want to use mysql therefore you need to uninstall that package and
install the appropriate one:

yum remove bacula-director
yum install bacula-director-mysql.x86_64

And than continue with your bacula setup.


> I used this yum repo to install bacula 7
>
> [root@ops:~] #cat /etc/yum.repos.d/slaanesh-Bacula-epel-5.repo
> [slaanesh-Bacula]
> name=Copr repo for Bacula owned by slaanesh
> baseurl=
> http://copr-be.cloud.fedoraproject.org/results/slaanesh/Bacula/epel-5-$b
> asearch/ skip_if_unavailable=True
> gpgcheck=1
> gpgkey=
> http://copr-be.cloud.fedoraproject.org/results/slaanesh/Bacula/pubkey.gp
> g enabled=1
>
> Maybe this is some sort of funky repo that's not giving me what I need?
> Any thoughts?

I wouldn't call it funky repo. Its maintainer is also reading this list.
I intend to use this repo on some servers.

--
Josip Deanovic

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