Sorry, that should be /etc/bacula/bacula-dir.conf.
Bill
On 7/5/2018 9:29 AM, Bill Shirley wrote:
So what does your "Catalog" section look like (/etc/sysconfig/bacula-dir)?
Mine is:
# ------------------------------------------------------------------------------
# Generic catalog service
Catalog {
Name = *MySQL*
dbname = sys_bacula
user = sys_bacula
password = "hunter2"
DB Socket = /var/lib/mysql/mysql.sock
}
# ------------------------------------------------------------------------------
Note: I've changed the database and user name. Yours will probably be "bacula".
[1:root@elmo at]$ rpm -qa 'bacula*' | sort
bacula-client-9.0.6-2.fc27.x86_64
bacula-common-9.0.6-2.fc27.x86_64
bacula-console-9.0.6-2.fc27.x86_64
bacula-director-9.0.6-2.fc27.x86_64
bacula-libs-9.0.6-2.fc27.x86_64
bacula-libs-sql-9.0.6-2.fc27.x86_64
bacula-logwatch-9.0.6-2.fc27.noarch
bacula-storage-9.0.6-2.fc27.x86_64
Bill
On 6/29/2018 11:23 AM, Jérôme Blion wrote:
Le 29/06/2018 à 15:26, Bill Damage via Bacula-users a écrit :
Hi, hope this is easy. I was holding back until a regular bacula update came into my Fedora 29 system with a DNF update, and
it did yesterday. I'm now on 9.0.8. However, it still thinks I'm using Postgeres, when in fact that's not even installed on
the server, it's just mariadb which worked perfectly with F28 and earlier.
So I went nuclear and after preserving all my configs and db's did a dnf remove on all the bacula components, then a dnf
install on them again. I still get the same problem:
[root@tiger ~]# bacula-dir -t
bacula-dir: dird.c:1165-0 Could not open Catalog "MyCatalog", database "bacula".
bacula-dir: dird.c:1170-0 postgresql.c:332 Unable to connect to PostgreSQL
server. Database=bacula User=bacula
Possible causes: SQL server not running; password incorrect; max_connections
exceeded.
29-Jun 14:21 bacula-dir ERROR TERMINATION
Please correct configuration file: bacula-dir.conf
So now it seems I need to do something right after a clean DNF install on F29 which I never needed to before and don't know
what it is? Is there some setting in bacula.conf I've missed, or are we back to getting the right link to the libbaccs.so as
discussed elsewhere?
I don't mind if its a kludge, I just cant go on longer with no backups.
Thanks!
Hello,
If your catalog is in a mariadb database, it's possible that your bacula-dir.conf has been overwritten by a default one. Did
you check that?
HTH.
Jérôme.
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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