View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001139 | bareos-core | director | public | 2019-11-18 17:35 | 2022-02-23 20:13 |
Reporter | jason.agilitypr | Assigned To | arogge | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | Linux | OS | Ubuntu | OS Version | 16.04 |
Product Version | 18.2.5 | ||||
Summary | 0001139: Upgrading mysql from 5.7.27 to 5.7.28 causes director to segfault | ||||
Description | I patched my server this morning and there was an upgrade of two mysql packages after which bareos director would not start and seg faulted patch details 2019-11-18 08:37:04 upgrade mysql-common:all 5.7.27-0ubuntu0.16.04.1 -> 5.7.28-0ubuntu0.16.04.2 2019-11-18 08:37:04 upgrade libmysqlclient20:amd64 5.7.27-0ubuntu0.16.04.1 -> 5.7.28-0ubuntu0.16.04.2 bareos-dir -u bareos -g bareos -t -v -d 200 -------- bareos-dir (200): lib/runscript.cc:339-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:340-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:341-0 --> FailJobOnError=0 bareos-dir (200): lib/runscript.cc:342-0 --> RunWhen=1 bareos-dir (200): dird/dird_conf.cc:1295-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (200): dird/dird_conf.cc:1295-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (200): dird/dird_conf.cc:1295-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (200): dird/dird_conf.cc:1295-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (200): dird/dird_conf.cc:1295-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (200): dird/dird_conf.cc:1295-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (100): dird/dird.cc:392-0 backend path: /usr/lib/bareos/backends bareos-dir (150): dird/dir_plugins.cc:302-0 Load dir plugins bareos-dir (150): dird/dir_plugins.cc:304-0 No dir plugin dir! bareos-dir (100): cats/cats_backends.cc:81-0 db_init_database: Trying to find mapping of given interfacename mysql to mapping interfacename dbi, partly_compare = true bareos-dir (100): cats/cats_backends.cc:81-0 db_init_database: Trying to find mapping of given interfacename mysql to mapping interfacename mysql, partly_compare = false bareos-dir (100): cats/cats_backends.cc:180-0 db_init_database: testing backend /usr/lib/bareos/backends/libbareoscats-mysql.so bareos-dir (100): cats/cats_backends.cc:254-0 db_init_database: loaded backend /usr/lib/bareos/backends/libbareoscats-mysql.so bareos-dir (100): cats/mysql.cc:869-0 db_init_database first time bareos-dir (50): cats/mysql.cc:181-0 mysql_init done bareos-dir (50): cats/mysql.cc:205-0 mysql_real_connect done bareos-dir (50): cats/mysql.cc:207-0 db_user=bareos db_name=bareos db_password=***************** bareos-dir (100): cats/mysql.cc:230-0 opendb ref=1 connected=1 db=216fce0 bareos-dir (100): cats/sql_query.cc:96-0 called: void BareosDb::FillQueryVaList(PoolMem&, BareosDbQueryEnum::SQL_QUERY_ENUM, __va_list_tag*) with query name sql_get_max_connections (45) bareos-dir (100): cats/sql_query.cc:102-0 called: void BareosDb::FillQueryVaList(PoolMem&, BareosDbQueryEnum::SQL_QUERY_ENUM, __va_list_tag*) query is now SHOW VARIABLES LIKE 'max_connections' bareos-dir (100): cats/mysql.cc:252-0 closedb ref=0 connected=1 db=216fce0 bareos-dir (100): cats/mysql.cc:259-0 close db=216fce0 BAREOS interrupted by signal 11: Segmentation violation Segmentation fault | ||||
Steps To Reproduce | upgrade to the latest release version of the MySQL libraries. | ||||
Tags | No tags attached. | ||||
this issue is reproducible every time, upgrading to 5.7.28 will cause the service to stop working again | |
Some action on this ticket would be welcome, as a standard linux system update should not cause packages (bareos-dir) to seg fault. Tot being able to update to 5.7.28 is also leaving my server vulnerable to all the security fixes that are included in 5.7.28 | |
I've experienced the same issue with the latest Ubuntu 16.04 patches. Did a release upgrade to 18.04 and the issue went away. |
|
Same Issue here, Ubuntu 16.04 made security updates, and now bareos-dir can't start root@backup:~# systemctl status bareos-director.service ● bareos-director.service - Bareos Director Daemon service Loaded: loaded (/lib/systemd/system/bareos-director.service; enabled; vendor preset: enabled) Active: failed (Result: core-dump) since Di 2019-12-10 15:17:30 CET; 3min 23s ago Docs: man:bareos-dir(8) Process: 3421 ExecStartPre=/usr/sbin/bareos-dir -t -f (code=dumped, signal=SEGV) Dez 10 15:17:30 backup systemd[1]: Starting Bareos Director Daemon service... Dez 10 15:17:30 backup bareos-dir[3421]: BAREOS interrupted by signal 11: Segmentation violation Dez 10 15:17:30 backup bareos-dir[3421]: BAREOS interrupted by signal 11: Segmentation violation Dez 10 15:17:30 backup systemd[1]: bareos-director.service: Control process exited, code=dumped status=11 Dez 10 15:17:30 backup systemd[1]: Failed to start Bareos Director Daemon service. Dez 10 15:17:30 backup systemd[1]: bareos-director.service: Unit entered failed state. Dez 10 15:17:30 backup systemd[1]: bareos-director.service: Failed with result 'core-dump'. |
|
I have tried again, using bareos version 19.2.6-2 I upgrade bareos to the new version. ran the db upgrade script. bareos running fine. I upgrade mysql to version 5.7.29-0ubuntu0.16.04.1, bareos segfaults when starting the director service as below Can someone please look at this, it is force me to run an ancient version of mysql (5.7.11-0ubuntu6) to stop bareos from crashing. the application should not be segfaulting on minor version changes in mysql. bareos-dir (10): dird/dird.cc:253-0 Debug level = 500 bareos-dir (100): lib/parse_conf.cc:208-0 config file = /etc/bareos/bareos-dir.d/*/*.conf bareos-dir (100): lib/lex.cc:333-0 glob /etc/bareos/bareos-dir.d/*/*.conf: 57 files bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/catalog/MyCatalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/bareos-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/bitbucket-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/clouderamgr-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/confluence-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/gitolite-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/jira-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/nms-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/phabricator-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/timetracker-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/console/admin.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/console/bareos-mon.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/director/bareos-dir.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Bitbucket.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Catalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/ClouderaMgr.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Confluence.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Gitolite.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Jira.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/LinuxAll.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Nms.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Phabricator.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/SelfTest.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Timetracker.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/BackupCatalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/bitbucket-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/clouderamgr-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/confluence-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/BitbucketJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/ClouderaMgrDBJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/ConfluenceJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/Gitolite.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/JiraJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/NmsJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/PhabricatorJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/TimetrackerJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/gitolite-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/jira-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/nms-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/phabricator-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/RestoreFiles.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/timetracker-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/messages/Daemon.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/messages/Standard.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Differential.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Full.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Incremental.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Scratch.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/operator.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/webui-admin.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/webui-readonly.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycle.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/storage/File.conf bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (9): dird/inc_conf.cc:573-0 set wildfile 2468010 size=1 [A-Z]:/pagefile.sys bareos-dir (9): dird/inc_conf.cc:573-0 set wilddir 2468010 size=1 [A-Z]:/RECYCLER bareos-dir (9): dird/inc_conf.cc:573-0 set wilddir 2468010 size=2 [A-Z]:/$RECYCLE.BIN bareos-dir (9): dird/inc_conf.cc:573-0 set wilddir 2468010 size=3 [A-Z]:/System Volume Information bareos-dir (100): lib/lex.cc:333-0 glob /etc/bareos/bareos-dir.d/*/*.conf: 57 files bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/catalog/MyCatalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/bareos-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/bitbucket-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/clouderamgr-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/confluence-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/gitolite-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/jira-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/nms-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/phabricator-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/timetracker-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/console/admin.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/console/bareos-mon.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/director/bareos-dir.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Bitbucket.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Catalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/ClouderaMgr.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Confluence.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Gitolite.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Jira.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/LinuxAll.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Nms.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Phabricator.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/SelfTest.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Timetracker.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/BackupCatalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/bitbucket-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/clouderamgr-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/confluence-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/BitbucketJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/ClouderaMgrDBJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/ConfluenceJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/Gitolite.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/JiraJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/NmsJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/PhabricatorJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/TimetrackerJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/gitolite-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/jira-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/nms-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/phabricator-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/RestoreFiles.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/timetracker-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/messages/Daemon.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/messages/Standard.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Differential.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Full.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Incremental.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Scratch.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/operator.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/webui-admin.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/webui-readonly.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycle.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/storage/File.conf bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=sh -c '/opt/agilitypr/backups/backup-timetracker.sh | tai64n | tai64nlocal >> /opt/agilitypr/backups/backup.log 2>&1' type=| bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=sh -c '/opt/agilitypr/backups/backup-timetracker.sh | tai64n | tai64nlocal >> /opt/agilitypr/backups/backup.log 2>&1' bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=sh -c 'rm -f /tmp/phabricator_backup.sql.gz && /opt/phabricator/phabricator/bin/storage dump --compress --ouput /tmp/phabricator_backup.sql.gz' type=| bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=sh -c 'rm -f /tmp/phabricator_backup.sql.gz && /opt/phabricator/phabricator/bin/storage dump --compress --ouput /tmp/phabricator_backup.sql.gz' bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=sh -c '/usr/bin/mysqldump --single-transaction --databases icinga2 icingaweb | gzip > /tmp/nms-db-ido.sql.gz && rm -rf /tmp/influxdb-data && influxd backup -database icinga2 /tmp/influxdb-data' type=| bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=sh -c '/usr/bin/mysqldump --single-transaction --databases icinga2 icingaweb | gzip > /tmp/nms-db-ido.sql.gz && rm -rf /tmp/influxdb-data && influxd backup -database icinga2 /tmp/influxdb-data' bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=bash /etc/bareos/bareos-fd.d/scripts/hot-backup.bash type=| bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=bash /etc/bareos/bareos-fd.d/scripts/hot-backup.bash bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=bash /opt/agilitypr/scripts/bareos-hot-backup.bash type=| bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=bash /opt/agilitypr/scripts/bareos-hot-backup.bash bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=sh -c 'mysqldump --login-path=local_root cmf > /etc/mysql/backups/cmf.dump.sql && mysqldump --login-path=local_root rmon > /etc/mysql/backups/rmon.dump.sql && mysqldump --login-path=local_root amon > /etc/mysql/backups/amon.dump.sql' type=| bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=sh -c 'mysqldump --login-path=local_root cmf > /etc/mysql/backups/cmf.dump.sql && mysqldump --login-path=local_root rmon > /etc/mysql/backups/rmon.dump.sql && mysqldump --login-path=local_root amon > /etc/mysql/backups/amon.dump.sql' bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (500): dird/dird_conf.cc:3140-0 runscript: creating new RunScript object bareos-dir (500): lib/runscript.cc:211-0 runscript: setting command = /usr/lib/bareos/scripts/make_catalog_backup.pl MyCatalog bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = *None* bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=/usr/lib/bareos/scripts/make_catalog_backup.pl MyCatalog bareos-dir (200): lib/runscript.cc:301-0 --> Target=*None* bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (500): dird/dird_conf.cc:3140-0 runscript: creating new RunScript object bareos-dir (500): lib/runscript.cc:211-0 runscript: setting command = /usr/lib/bareos/scripts/delete_catalog_backup bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = *None* bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=/usr/lib/bareos/scripts/delete_catalog_backup bareos-dir (200): lib/runscript.cc:301-0 --> Target=*None* bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=0 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=1 bareos-dir (500): lib/runscript.cc:43-0 runscript: creating new RunScript object from other bareos-dir (500): lib/runscript.cc:211-0 runscript: setting command = sh -c '/opt/agilitypr/backups/backup-timetracker.sh | tai64n | tai64nlocal >> /opt/agilitypr/backups/backup.log 2>&1' bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (500): lib/runscript.cc:43-0 runscript: creating new RunScript object from other bareos-dir (500): lib/runscript.cc:211-0 runscript: setting command = sh -c 'rm -f /tmp/phabricator_backup.sql.gz && /opt/phabricator/phabricator/bin/storage dump --compress --ouput /tmp/phabricator_backup.sql.gz' bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (500): lib/runscript.cc:43-0 runscript: creating new RunScript object from other bareos-dir (500): lib/runscript.cc:211-0 runscript: setting command = sh -c '/usr/bin/mysqldump --single-transaction --databases icinga2 icingaweb | gzip > /tmp/nms-db-ido.sql.gz && rm -rf /tmp/influxdb-data && influxd backup -database icinga2 /tmp/influxdb-data' bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (500): lib/runscript.cc:43-0 runscript: creating new RunScript object from other bareos-dir (500): lib/runscript.cc:211-0 runscript: setting command = bash /etc/bareos/bareos-fd.d/scripts/hot-backup.bash bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (500): lib/runscript.cc:43-0 runscript: creating new RunScript object from other bareos-dir (500): lib/runscript.cc:211-0 runscript: setting command = bash /opt/agilitypr/scripts/bareos-hot-backup.bash bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (500): lib/runscript.cc:43-0 runscript: creating new RunScript object from other bareos-dir (500): lib/runscript.cc:211-0 runscript: setting command = sh -c 'mysqldump --login-path=local_root cmf > /etc/mysql/backups/cmf.dump.sql && mysqldump --login-path=local_root rmon > /etc/mysql/backups/rmon.dump.sql && mysqldump --login-path=local_root amon > /etc/mysql/backups/amon.dump.sql' bareos-dir (500): lib/runscript.cc:221-0 runscript: setting target = %c bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (250): lib/message.cc:253-0 Copied message resource 2468230 bareos-dir (100): dird/dird.cc:379-0 backend path: /usr/lib/bareos/backends bareos-dir (150): dird/dir_plugins.cc:289-0 Load dir plugins bareos-dir (150): dird/dir_plugins.cc:291-0 No dir plugin dir! bareos-dir (100): cats/cats_backends.cc:83-0 db_init_database: Trying to find mapping of given interfacename mysql to mapping interfacename dbi, partly_compare = true bareos-dir (100): cats/cats_backends.cc:83-0 db_init_database: Trying to find mapping of given interfacename mysql to mapping interfacename mysql, partly_compare = false bareos-dir (100): cats/cats_backends.cc:178-0 db_init_database: testing backend /usr/lib/bareos/backends/libbareoscats-mysql.so bareos-dir (100): cats/cats_backends.cc:264-0 db_init_database: loaded backend /usr/lib/bareos/backends/libbareoscats-mysql.so bareos-dir (100): cats/mysql.cc:853-0 db_init_database first time bareos-dir (50): cats/mysql.cc:178-0 mysql_init done bareos-dir (50): cats/mysql.cc:201-0 mysql_real_connect done bareos-dir (50): cats/mysql.cc:203-0 db_user=bareos db_name=bareos db_password=********************************** bareos-dir (500): cats/mysql.cc:414-0 SqlQueryWithHandler starts with SELECT VersionId FROM Version bareos-dir (500): cats/mysql.cc:465-0 SqlQueryWithHandler succeeded. checking handler bareos-dir (500): cats/mysql.cc:487-0 SqlQueryWithHandler finished bareos-dir (100): cats/mysql.cc:226-0 opendb ref=1 connected=1 db=2484778 bareos-dir (500): cats/mysql.cc:501-0 SqlQueryWithoutHandler starts with 'SET wait_timeout=691200' bareos-dir (500): cats/mysql.cc:524-0 we have a result bareos-dir (500): cats/mysql.cc:540-0 we have 0 rows bareos-dir (500): cats/mysql.cc:501-0 SqlQueryWithoutHandler starts with 'SET interactive_timeout=691200' bareos-dir (500): cats/mysql.cc:524-0 we have a result bareos-dir (500): cats/mysql.cc:540-0 we have 0 rows bareos-dir (100): cats/sql_query.cc:105-0 called: void BareosDb::FillQueryVaList(PoolMem&, BareosDbQueryEnum::SQL_QUERY, __va_list_tag*) with query name sql_get_max_connections (45) bareos-dir (100): cats/sql_query.cc:110-0 called: void BareosDb::FillQueryVaList(PoolMem&, BareosDbQueryEnum::SQL_QUERY, __va_list_tag*) query is now SHOW VARIABLES LIKE 'max_connections' bareos-dir (500): cats/mysql.cc:414-0 SqlQueryWithHandler starts with SHOW VARIABLES LIKE 'max_connections' bareos-dir (500): cats/mysql.cc:465-0 SqlQueryWithHandler succeeded. checking handler bareos-dir (500): cats/mysql.cc:487-0 SqlQueryWithHandler finished bareos-dir (100): cats/mysql.cc:247-0 closedb ref=0 connected=1 db=2484778 bareos-dir (100): cats/mysql.cc:252-0 close db=2484778 BAREOS interrupted by signal 11: Segmentation violation Segmentation fault |
|
Please install debug packages, reproduce the issue and attach the traceback files. Thanks! |
|
As requested I installed the debug packages: bareos-dbg gdb then following the instruction on : https://docs.bareos.org/Appendix/Debugging.html I ran the following command gdb --args /usr/sbin/bareos-sd -f -s -d 200 surprise, surprise no crash. but when i ran gdb --args /usr/sbin/bareos-dir -t -v -d 200 i get the crash and the following debug output, which i have attached It seems that the -t parameters causes the crash, which explains why the service will not start up. the systemd service file contains that parameter. bareos-debug.txt (23,556 bytes)
bareos@mm01backup01:~$ gdb --args /usr/sbin/bareos-dir -t -v -d 200 GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/sbin/bareos-dir...Reading symbols from /usr/lib/debug/.build-id/6f/97215c9dde7a1b2494445df93a9a36f4c49889.debug...done. done. (gdb) run Starting program: /usr/sbin/bareos-dir -t -v -d 200 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". bareos-dir (10): dird/dird.cc:253-0 Debug level = 200 bareos-dir (100): lib/parse_conf.cc:208-0 config file = /etc/bareos/bareos-dir.d/*/*.conf bareos-dir (100): lib/lex.cc:333-0 glob /etc/bareos/bareos-dir.d/*/*.conf: 57 files bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/catalog/MyCatalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/bareos-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/bitbucket-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/clouderamgr-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/confluence-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/gitolite-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/jira-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/nms-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/phabricator-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/timetracker-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/console/admin.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/console/bareos-mon.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/director/bareos-dir.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Bitbucket.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Catalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/ClouderaMgr.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Confluence.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Gitolite.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Jira.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/LinuxAll.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Nms.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Phabricator.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/SelfTest.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Timetracker.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/BackupCatalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/bitbucket-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/clouderamgr-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/confluence-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/BitbucketJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/ClouderaMgrDBJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/ConfluenceJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/Gitolite.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/JiraJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/NmsJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/PhabricatorJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/TimetrackerJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/gitolite-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/jira-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/nms-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/phabricator-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/RestoreFiles.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/timetracker-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/messages/Daemon.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/messages/Standard.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Differential.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Full.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Incremental.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Scratch.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/operator.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/webui-admin.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/webui-readonly.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycle.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/storage/File.conf bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=1 bareos-dir (9): dird/inc_conf.cc:573-0 set wildfile 71f020 size=1 [A-Z]:/pagefile.sys bareos-dir (9): dird/inc_conf.cc:573-0 set wilddir 71f020 size=1 [A-Z]:/RECYCLER bareos-dir (9): dird/inc_conf.cc:573-0 set wilddir 71f020 size=2 [A-Z]:/$RECYCLE.BIN bareos-dir (9): dird/inc_conf.cc:573-0 set wilddir 71f020 size=3 [A-Z]:/System Volume Information bareos-dir (100): lib/lex.cc:333-0 glob /etc/bareos/bareos-dir.d/*/*.conf: 57 files bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/catalog/MyCatalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/bareos-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/bitbucket-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/clouderamgr-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/confluence-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/gitolite-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/jira-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/nms-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/phabricator-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/client/timetracker-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/console/admin.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/console/bareos-mon.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/director/bareos-dir.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Bitbucket.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Catalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/ClouderaMgr.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Confluence.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Gitolite.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Jira.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/LinuxAll.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Nms.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Phabricator.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/SelfTest.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Timetracker.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/BackupCatalog.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/bitbucket-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/clouderamgr-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/confluence-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/BitbucketJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/ClouderaMgrDBJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/ConfluenceJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/Gitolite.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/JiraJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/NmsJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/PhabricatorJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/jobdefs/TimetrackerJob.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/gitolite-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/jira-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/nms-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/phabricator-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/RestoreFiles.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/job/timetracker-backup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/messages/Daemon.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/messages/Standard.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Differential.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Full.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Incremental.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/pool/Scratch.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/operator.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/webui-admin.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/profile/webui-readonly.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/schedule/WeeklyCycle.conf bareos-dir (100): lib/lex.cc:226-0 open config file: /etc/bareos/bareos-dir.d/storage/File.conf bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=sh -c '/opt/agilitypr/backups/backup-timetracker.sh | tai64n | tai64nlocal >> /opt/agilitypr/backups/backup.log 2>&1' type=| bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=sh -c '/opt/agilitypr/backups/backup-timetracker.sh | tai64n | tai64nlocal >> /opt/agilitypr/backups/backup.log 2>&1' bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=sh -c 'rm -f /tmp/phabricator_backup.sql.gz && /opt/phabricator/phabricator/bin/storage dump --compress --ouput /tmp/phabricator_backup.sql.gz' type=| bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=sh -c 'rm -f /tmp/phabricator_backup.sql.gz && /opt/phabricator/phabricator/bin/storage dump --compress --ouput /tmp/phabricator_backup.sql.gz' bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=sh -c '/usr/bin/mysqldump --single-transaction --databases icinga2 icingaweb | gzip > /tmp/nms-db-ido.sql.gz && rm -rf /tmp/influxdb-data && influxd backup -database icinga2 /tmp/influxdb-data' type=| bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=sh -c '/usr/bin/mysqldump --single-transaction --databases icinga2 icingaweb | gzip > /tmp/nms-db-ido.sql.gz && rm -rf /tmp/influxdb-data && influxd backup -database icinga2 /tmp/influxdb-data' bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=bash /etc/bareos/bareos-fd.d/scripts/hot-backup.bash type=| bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=bash /etc/bareos/bareos-fd.d/scripts/hot-backup.bash bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=bash /opt/agilitypr/scripts/bareos-hot-backup.bash type=| bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=bash /opt/agilitypr/scripts/bareos-hot-backup.bash bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): dird/dird_conf.cc:3213-0 StoreRunscript: begin StoreRunscript pass=2 bareos-dir (1): dird/dird_conf.cc:3124-0 runscript cmd=sh -c 'mysqldump --login-path=local_root cmf > /etc/mysql/backups/cmf.dump.sql && mysqldump --login-path=local_root rmon > /etc/mysql/backups/rmon.dump.sql && mysqldump --login-path=local_root amon > /etc/mysql/backups/amon.dump.sql' type=| bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=sh -c 'mysqldump --login-path=local_root cmf > /etc/mysql/backups/cmf.dump.sql && mysqldump --login-path=local_root rmon > /etc/mysql/backups/rmon.dump.sql && mysqldump --login-path=local_root amon > /etc/mysql/backups/amon.dump.sql' bareos-dir (200): lib/runscript.cc:301-0 --> Target=%c bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=/usr/lib/bareos/scripts/make_catalog_backup.pl MyCatalog bareos-dir (200): lib/runscript.cc:301-0 --> Target=*None* bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=1 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=2 bareos-dir (200): lib/runscript.cc:298-0 runscript: debug bareos-dir (200): lib/runscript.cc:299-0 --> RunScript bareos-dir (200): lib/runscript.cc:300-0 --> Command=/usr/lib/bareos/scripts/delete_catalog_backup bareos-dir (200): lib/runscript.cc:301-0 --> Target=*None* bareos-dir (200): lib/runscript.cc:302-0 --> RunOnSuccess=1 bareos-dir (200): lib/runscript.cc:303-0 --> RunOnFailure=0 bareos-dir (200): lib/runscript.cc:304-0 --> FailJobOnError=0 bareos-dir (200): lib/runscript.cc:305-0 --> RunWhen=1 bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (200): dird/dird_conf.cc:1245-0 Don't know how to propagate resource RunScript of configtype 60 bareos-dir (100): dird/dird.cc:379-0 backend path: /usr/lib/bareos/backends bareos-dir (150): dird/dir_plugins.cc:289-0 Load dir plugins bareos-dir (150): dird/dir_plugins.cc:291-0 No dir plugin dir! bareos-dir (100): cats/cats_backends.cc:83-0 db_init_database: Trying to find mapping of given interfacename mysql to mapping interfacename dbi, partly_compare = true bareos-dir (100): cats/cats_backends.cc:83-0 db_init_database: Trying to find mapping of given interfacename mysql to mapping interfacename mysql, partly_compare = false bareos-dir (100): cats/cats_backends.cc:178-0 db_init_database: testing backend /usr/lib/bareos/backends/libbareoscats-mysql.so bareos-dir (100): cats/cats_backends.cc:264-0 db_init_database: loaded backend /usr/lib/bareos/backends/libbareoscats-mysql.so bareos-dir (100): cats/mysql.cc:853-0 db_init_database first time bareos-dir (50): cats/mysql.cc:178-0 mysql_init done bareos-dir (50): cats/mysql.cc:201-0 mysql_real_connect done bareos-dir (50): cats/mysql.cc:203-0 db_user=bareos db_name=bareos db_password=********************** bareos-dir (100): cats/mysql.cc:226-0 opendb ref=1 connected=1 db=73b758 bareos-dir (100): cats/sql_query.cc:105-0 called: void BareosDb::FillQueryVaList(PoolMem&, BareosDbQueryEnum::SQL_QUERY, __va_list_tag*) with query name sql_get_max_connections (45) bareos-dir (100): cats/sql_query.cc:110-0 called: void BareosDb::FillQueryVaList(PoolMem&, BareosDbQueryEnum::SQL_QUERY, __va_list_tag*) query is now SHOW VARIABLES LIKE 'max_connections' bareos-dir (100): cats/mysql.cc:247-0 closedb ref=0 connected=1 db=73b758 bareos-dir (100): cats/mysql.cc:252-0 close db=73b758 Program received signal SIGSEGV, Segmentation fault. 0x00007ffff3c39960 in ?? () (gdb) (gdb) (gdb) thread apply all bt Thread 1 (Thread 0x7ffff7fe0740 (LWP 3354)): #0 0x00007ffff3c39960 in ?? () #1 0x00007ffff6b10568 in ENGINE_remove () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 #2 0x00007ffff6b106b5 in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 #3 0x00007ffff6b0fc86 in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 #4 0x00007ffff6b1e921 in sk_pop_free () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 #5 0x00007ffff6b0ff8c in ENGINE_cleanup () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 #6 0x00007ffff6e8fca9 in CleanupCrypto () at /usr/src/packages/BUILD/src/lib/crypto_openssl.cc:1547 #7 0x0000000000428ac1 in directordaemon::TerminateDird (sig=sig@entry=0) at /usr/src/packages/BUILD/src/dird/dird.cc:497 #8 0x000000000042464e in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/packages/BUILD/src/dird/dird.cc:447 |
|
I don't see how the mysql library upgrade triggers this, but during the shutdown phase of bareos-dir -t OpenSSL's cleanup-routine crashes. Do you have OpenSSL 1.0? This might be caused by a threading issue that has been fixed recently. Does it still crash with the nightly-build? |
|
running the following version of openssl ii openssl 1.1.1-1+ubuntu16.04.1+deb.sury.org+1 amd64 Secure Sockets Layer toolkit - cryptographic utility I do not have easy access to the nightly builds, at least they do not appears in apt-get. I guess they need to be manually installed. if i upgrade to the nightly, can i still downgrade after to 19.2.6-2? I am testing this all on a production system, and need to have a working system after. |
|
WIth OpenSSL 1.1.1 you should not be hit by the problem I had in mind. AFAICT this was OpenSSL 1.0 only. You can also wait for 19.2.7 to be released. This should happen really soon now. |
|
I will wait for 19.2.7 and re test. please do not close the ticket yet. |
|
we release 19.2.7 yesterday. Could you check if the problem persists? | |
I can now confirm that the problem persists with 19.2.7-2. upgrading mysql to 5.7.29-0ubuntu0.16.04.1, causes the director service to seg fault on start up. | |
Is there anything further required of me now that I have confirmed that the bug it still present in 19.2.7? | |
I am sure you are busy, any chance this ticket could get attention again? | |
To look into this, detailed steps to reproduce the issue would really help. In this case it is probably the best if I can just start an official ubuntu image in docker, run a few commands and reproduce the issue that way. Preferably with the smallest possible configuration that will trigger the problem. If I start looking into this, without that, I will might have a hard time reproducing the problem and we will end up discussing how to reproduce it instead of fixing it. |
|
That sounds reasonable, I will working on reproducing the issue in a vm (i don't have docker avalible). Will update the ticket when a minimal instruction set is ready. | |
the following commands will demonstrate and produce the seg fault described in this ticket this is based on a ubuntu 16.04 vm (running inside virtualbox, booted via the vagrant tool) if these are not sufficient, please let me know how to improve them. if necessary I will figure out the docker method sudo apt-get dist-upgrade # bring ubuntu up to date echo "deb http://download.bareos.org/bareos/release/latest/xUbuntu_16.04/ /" | sudo tee /etc/apt/sources.list.d/bareos.list sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E5D882B28657AE28 sudo apt-get update sudo apt-get install mysql-server-5.7 sudo apt-get install libjansson4 bareos-database-mysql sudo apt-get install bareos sudo service bareos-dir start sudo service bareos-dir status # bareos will not have started sudo apt-get install libmysqlclient20=5.7.11-0ubuntu6 mysql-client-5.7=5.7.11-0ubuntu6 mysql-client-core-5.7=5.7.11-0ubuntu6 mysql-common=5.7.11-0ubuntu6 mysql-server-core-5.7=5.7.11-0ubuntu6 mysql-server-5.7=5.7.11-0ubuntu6 sudo service bareos-dir restart sudo service bareos-dir status #bareos will be started sudo apt-get dist-upgrade # back to current version of mysql sudo service bareos-dir restart sudo service bareos-dir status # back to bareos segfault |
|
I can reproduce the issue now. However, I'm having a hard time debugging it. Ubuntu doesn't make it easy to get debug symbols and matching sources installed. I believe it may have to do with the openssl locking callback address pointing to a bogus location. |
|
just checking in to see how this is going, any progress with a difficult to debug issue? | |
any progress on this tricky issue? | |
please close, since bareos no longer supports mysql (and we have migrated to postgresql as a result) | |
Thank you for taking the time to provide feedback on this, even if it is just "please close"! | |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-11-18 17:35 | jason.agilitypr | New Issue | |
2019-11-22 21:09 | jason.agilitypr | Note Added: 0003638 | |
2019-11-22 21:11 | jason.agilitypr | Note Added: 0003639 | |
2019-12-04 12:35 | thomasDOTwtf | Note Added: 0003646 | |
2019-12-10 15:40 | teka74 | Note Added: 0003657 | |
2020-03-30 14:16 | jason.agilitypr | Note Added: 0003924 | |
2020-04-08 16:49 | arogge | Status | new => feedback |
2020-04-08 16:49 | arogge | Note Added: 0003930 | |
2020-04-09 14:12 | jason.agilitypr | File Added: bareos-debug.txt | |
2020-04-09 14:12 | jason.agilitypr | Note Added: 0003931 | |
2020-04-09 14:12 | jason.agilitypr | Status | feedback => new |
2020-04-09 14:27 | arogge | Note Added: 0003932 | |
2020-04-09 14:27 | arogge | Assigned To | => arogge |
2020-04-09 14:27 | arogge | Status | new => feedback |
2020-04-09 14:32 | jason.agilitypr | Note Added: 0003933 | |
2020-04-09 14:32 | jason.agilitypr | Status | feedback => assigned |
2020-04-09 14:49 | arogge | Note Added: 0003934 | |
2020-04-09 14:51 | jason.agilitypr | Note Added: 0003935 | |
2020-04-17 15:04 | arogge | Status | assigned => feedback |
2020-04-17 15:04 | arogge | Note Added: 0003943 | |
2020-04-20 13:42 | jason.agilitypr | Note Added: 0003953 | |
2020-04-20 13:42 | jason.agilitypr | Status | feedback => assigned |
2020-04-27 15:44 | jason.agilitypr | Note Added: 0003966 | |
2020-05-29 13:13 | jason.agilitypr | Note Added: 0003991 | |
2020-06-02 10:29 | arogge | Note Added: 0003994 | |
2020-06-02 13:14 | jason.agilitypr | Note Added: 0003995 | |
2020-06-02 17:46 | jason.agilitypr | Note Added: 0003996 | |
2020-06-30 16:07 | arogge | Note Added: 0004016 | |
2020-09-01 14:45 | jason.agilitypr | Note Added: 0004036 | |
2020-10-27 15:07 | jason.agilitypr | Note Added: 0004050 | |
2022-02-23 20:11 | jason.agilitypr | Note Added: 0004521 | |
2022-02-23 20:13 | arogge | Status | assigned => closed |
2022-02-23 20:13 | arogge | Resolution | open => won't fix |
2022-02-23 20:13 | arogge | Note Added: 0004522 |