View Issue Details

IDProjectCategoryView StatusLast Update
0001139bareos-core[All Projects] directorpublic2020-03-30 14:16
Reporterjason.agilityprAssigned To 
PriorityhighSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version16.04
Product Version18.2.5 
Fixed in Version 
Summary0001139: Upgrading mysql from 5.7.27 to 5.7.28 causes director to segfault
DescriptionI 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 Reproduceupgrade to the latest release version of the MySQL libraries.
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

jason.agilitypr

jason.agilitypr

2019-11-22 21:09

reporter   ~0003638

this issue is reproducible every time, upgrading to 5.7.28 will cause the service to stop working again
jason.agilitypr

jason.agilitypr

2019-11-22 21:11

reporter   ~0003639

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
thomasDOTwtf

thomasDOTwtf

2019-12-04 12:35

reporter   ~0003646

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.
teka74

teka74

2019-12-10 15:40

reporter   ~0003657

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'.
jason.agilitypr

jason.agilitypr

2020-03-30 14:16

reporter   ~0003924

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

Issue History

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