Am 05.03.2017 um 12:06 schrieb Erik P. Olsen: > I have retired my old desktop and moved my programmes including bacula > to my laptop. Since I have been running bacula successfully for many > years I thought it would be piece of cake to install bacula on this > other box. But it turned out not to be so. > > I am running linux with fedora 25 on both machines, and I've tried to > keep the new installation as close as possible to the old. > > Bacula is installed from the dnf repository on both machines and is > version 7.4.5-1. I am aware that the bacula files from fedora's > repository are "infected" with postgresql, so I have changed them to > default to mysql. To the problem: > > bacula-dir, bacula-fd and bacula-sd start correctly but testing the > directory yields: > > [root@Erik-PC bacula]# bacula-dir -t -d10 -c bacula-dir.conf > bacula-dir: dird.c:208-0 Debug level = 10 > bacula-dir: dird_conf.c:1958-0 runscript cmd=prune expired volume yes type=@ > bacula-dir: dird_conf.c:1958-0 runscript > cmd=/usr/libexec/bacula/make_catalog_backup.pl MyCatalog type=| > bacula-dir: dird_conf.c:1958-0 runscript cmd=truncate storage=FileStorage > pool=Files type=@ > bacula-dir: dird_conf.c:1958-0 runscript cmd=truncate > storage=CatalogueStorage pool=Catalogues type=@ > bacula-dir: dird_conf.c:1958-0 runscript > cmd=/usr/libexec/bacula/delete_catalogue_backup type=| > bacula-dir: dird.c:969-0 Could not open Catalog "MyCatalog", database > "bacula". > bacula-dir: dird.c:974-0 mysql.c:265 Unable to connect to MySQL server. > Database=bacula User=bacula > MySQL connect failed either server not running or your authorization is > incorrect. > 05-mar 11:58 bacula-dir ERROR TERMINATION > Please correct configuration file: bacula-dir.conf > [root@Erik-PC bacula]# > > I don't see this on the old machine which works flawlessly. > > I do hope someone will be able to pinpoint what the problem is or > perhaps give me a clue on how to diagnose it. > > Thanks in advance, > > ------------------------------------------------------------------------------ > 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 >
Hi, maybe you forgot to allow the ip from the new bacula server in your mysql db server. greets juergen ------------------------------------------------------------------------------ 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