I was only looking in the bareos-dir.conf file, not the catalog config file. I 
found the place to change this. I think the Gentoo package probably needs fixed 
to do that automatically.

Thanks.

-----Original Message-----
From: bareos-users@googlegroups.com <bareos-users@googlegroups.com> On Behalf 
Of Jörg Steffens
Sent: Sunday, April 8, 2018 4:32 AM
To: bareos-users@googlegroups.com
Subject: [bareos-users] Re: director won't start on fresh install under gentoo 
linux

Well, I don't know how gentoo is handling this, but on other Linux 
distributions XXX_REPLACE_WITH_DATABASE_DRIVER_XXX is replaced on install by 
the used database, mysql in your case. So replace it in your configuration file.

On 08.04.2018 at 03:33 wrote j...@technoplaza.net:
> I built the packages with mysql (mariadb) support and started 
> following the directions. I build the 16.2.7 version as that was the 
> latest in portage, but I’ve also tried 17.2.5 and am getting the same problem.
> 
>  
> 
> I run the database scripts (create, make, grant). They work, but they 
> complain about the database type and username etc not being specified.
> In the /tmp logs, I see things like this:
> 
>  
> 
> Unknown database driver: XXX_REPLACE_WITH_DATABASE_DRIVER_XXX
> 
> Error: executing /usr/sbin/bareos-dbcheck -c /etc/bareos -B
> 
>  
> 
> I have no trouble starting bareos-fd and bareos-sd, but bareos-dir 
> immediately exits. If I run it with the -f flag, I see this same error 
> about unknown database driver. I don’t see any way to specify a 
> database driver.
> 
>  
> 
> What am I doing wrong here?
> 
>  
> 
> Thanks.
> 
>  
> 
> --
> You received this message because you are subscribed to the Google 
> Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to bareos-users+unsubscr...@googlegroups.com
> <mailto:bareos-users+unsubscr...@googlegroups.com>.
> To post to this group, send email to bareos-users@googlegroups.com 
> <mailto:bareos-users@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


-- 
 Jörg Steffens                   joerg.steff...@bareos.com
 Bareos GmbH & Co. KG            Phone: +49 221 630693-91
 http://www.bareos.com           Fax:   +49 221 630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer:
 S. Dühr, M. Außendorf, Jörg Steffens, P. Storz

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to