I test Robie's ppa https://launchpad.net/~racb/+archive/ubuntu/proposed-sru. bacula-dir work again, but another problem found.
bacula-dir daemon running, but "bconsole" can not connect to daemon. ahonen% ps -ef | grep bacula bacula 7832 1 0 16:06 ? 00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u bacula -g tape root 7988 1 0 16:06 ? 00:00:00 /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf bacula 8665 1 0 16:08 ? 00:00:00 /usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -u bacula -g bacula ahonen% sudo vi /etc/bacula/bacula-dir.conf ahonen% bconsole Connecting to Director localhost:9101 Director authorization problem. Most likely the passwords do not agree. If you are using TLS, there may have been a certificate validation error during the TLS handshake. Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00260000000000000000 for help. It is not authenticate problem. A cause is, value of Maximum Console Connections is zero. A default value is not set. This problem is caused by a hidden bug in the upstream. In source file src/dird/dird_conf.c: 111 {"maximumconsoleconnections", store_pint32, ITEM(res_dir.MaxConsoleConnect), 0, ITEM_DEFAULT, 20}, store_pint32's symbol address set to static structure. and In src/lib/parse_conf.c: 195 } else if (items[i].handler == store_pint32 || 196 items[i].handler == store_int32 || 197 items[i].handler == store_size32) { 198 *(uint32_t *)(items[i].value) = items[i].default_value; compare hander address to symbol address. but it is not always same address. If using shared library , it depends on the context . dird_conf.c linked to /usr/sbin/bacula-dir. parse_conf.c linked to libbaccfg.so. So, store_pint32's address is different between first place and second place. As a result , the default value is not set , it will be zero . Same problem found in another configuration value. (MaximumConcurrentJobs and more) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570923 Title: bacula-dir won't start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1570923/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
