Hello Kern, I have main.pdf downloaded and I believe I have followed the various steps in phase II to the letter. I have come to the point where I need some tools to diagnose what is wrong. I am pretty sure that the problem is due to some sort of security settings in the mysql database but I am not able to see what that could and the manual has not been to any help in that respect
-- Erik On 2017-03-05 at 15:18:51 Kern Sibbald wrote: > Hello Erik, > > It is pretty clear from the output that Bacula is unable to connect to > the MySQL server. I recommend you either download the manual or use > the online html version from bacula.org and go to the chapter on > setting up the MySQL server. This gives you a number of steps to > work through until hopefully the connection with the server will work. > > Best regards, > Kern > > On 03/05/2017 12:06 PM, Erik P. Olsen wrote: > > 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 > > > ------------------------------------------------------------------------------ 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