On 2017-03-12 at 00:38:58 Gary R. Schmidt wrote: > On 11/03/2017 22:00, Erik P. Olsen wrote: > [SNIP] > > Only difference is > > the IP-address of the director. > > Sounds like you have the old address set in some configuration > file(s) somewhere. > > Run the director in the foreground with -d100.
[root@Erik-PC ~]# bacula-dir -d100 bacula-dir: dird.c:208-0 Debug level = 100 bacula-dir: address_conf.c:274-0 Initaddr 0.0.0.0:9101 [root@Erik-PC ~]# 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: jcr.c:131-0 read_last_jobs seek to 192 bacula-dir: jcr.c:138-0 Read num_items=0 bacula-dir: dir_plugins.c:151-0 Load Director plugins bacula-dir: dir_plugins.c:153-0 No Director plugin directory! bacula-dir: mysql.c:119-0 db_init_database first time bacula-dir: mysql.c:218-0 mysql_init done bacula-dir: mysql.c:257-0 mysql_real_connect done bacula-dir: mysql.c:259-0 db_user=bacula db_name=bacula db_password= bacula-dir: mysql.c:269-0 Error 1044 (42000): Access denied for user ''@'localhost' to database 'bacula' 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. bacula-dir: mysql.c:319-0 closedb ref=0 connected=0 db=0 11-mar 21:07 bacula-dir ERROR TERMINATION Please correct configuration file: bacula-dir.conf > Run the fd in the foreground with -d100. [root@Erik-PC ~]# bacula-fd -d100 bacula-fd: filed_conf.c:542-0 Inserting Director res: epo-mon bacula-fd: address_conf.c:274-0 Initaddr 0.0.0.0:9102 [root@Erik-PC ~]# epo-fd: jcr.c:131-0 read_last_jobs seek to 192 epo-fd: jcr.c:138-0 Read num_items=10 epo-fd: filed.c:257-0 filed: listening on port 9102 epo-fd: bnet_server.c:86-0 Addresses 0.0.0.0:9102 > Run the sd in the foreground with -d100. [root@Erik-PC ~]# bacula-sd -d100 bacula-sd: address_conf.c:274-0 Initaddr 0.0.0.0:9103 bacula-sd: stored_conf.c:698-0 Inserting Director res: epo-mon bacula-sd: stored_conf.c:698-0 Inserting Device res: FileBackup [root@Erik-PC ~]# epo-sd: jcr.c:131-0 read_last_jobs seek to 192 epo-sd: jcr.c:138-0 Read num_items=0 epo-sd: stored.c:572-0 calling init_dev /backupdisk/bacula-catalogues epo-sd: dev.c:342-0 init_dev: tape=0 dev_name=/backupdisk/bacula-catalogues epo-sd: stored.c:574-0 SD init done /backupdisk/bacula-catalogues epo-sd: bnet_server.c:86-0 Addresses 0.0.0.0:9103 epo-sd: acquire.c:673-0 Attach 0x38001c58 to dev "CatalogueBackup" (/backupdisk/bacula-catalogues) epo-sd: stored.c:572-0 calling init_dev /backupdisk/bacula-files epo-sd: dev.c:342-0 init_dev: tape=0 dev_name=/backupdisk/bacula-files epo-sd: stored.c:574-0 SD init done /backupdisk/bacula-files epo-sd: acquire.c:673-0 Attach 0x38002c58 to dev "FileBackup" (/backupdisk/bacula-files) > Then run bconsole with -d100 and see what happens. [root@Erik-PC ~]# bconsole -d100 Connecting to Director 192.168.1.36:9101 bconsole: bsock.c:203-0 Current 192.168.1.36:9101 All 192.168.1.36:9101 bconsole: bsock.c:278-0 Could not connect to server Director daemon 192.168.1.36:9101. ERR=Connection refused bconsole: bsock.c:101-0 Unable to connect to Director daemon on 192.168.1.36:9101. ERR=Connection refused bconsole: bsock.c:203-0 Current 192.168.1.36:9101 All 192.168.1.36:9101 bconsole: bsock.c:278-0 Could not connect to server Director daemon 192.168.1.36:9101. ERR=Connection refused bconsole: bsock.c:101-0 Unable to connect to Director daemon on 192.168.1.36:9101. ERR=Connection refused bconsole: bsock.c:203-0 Current 192.168.1.36:9101 All 192.168.1.36:9101 bconsole: bsock.c:278-0 Could not connect to server Director daemon 192.168.1.36:9101. ERR=Connection refused bconsole: bsock.c:101-0 Unable to connect to Director daemon on 192.168.1.36:9101. ERR=Connection refused I can't really make anything out of this :-( -- Regards, Erik P. Olsen, M.Sc. EE Solsortvej 30 DK-2000 Frederiksberg Denmark ------------------------------------------------------------------------------ Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users