View Issue Details

IDProjectCategoryView StatusLast Update
0001295bareos-coredirectorpublic2023-07-31 10:13
ReporterNano9600 Assigned Tobruno-at-bareos  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
PlatformLinuxOSDebianOS Version10
Product Version20.0.0 
Summary0001295: Job for bareos-director.service failed
DescriptionHello, I updated from version 16 and cant start bareos-director.service
[....] Starting bareos-dir (via systemctl): bareos-dir.serviceJob for bareos-director.service failed because the control process exited with error code.
See "systemctl status bareos-director.service" and "journalctl -xe" for details.
 failed!


root@serv:/etc/bareos/bareos-dir.d/fileset# sudo bareos-dir -t
bareos-dir ABORTING due to ERROR
Unable to load any shared library for libbareoscats-mysql.so
BAREOS aborting to obtain traceback.
BAREOS interrupted by signal 6: IOT trap
bareos-dir, bareos-dir got signal 6 - IOT trap. Attempting traceback.
exepath=/etc/bareos/bareos-dir.d/fileset
Calling: /etc/bareos/bareos-dir.d/fileset/btraceback /etc/bareos/bareos-dir.d/fileset/bareos-dir 19960 /var/lib/bareos
execv: /etc/bareos/bareos-dir.d/fileset/btraceback failed: ERR=No such file or directory
The btraceback call returned 255
Dumping: /var/lib/bareos/bareos-dir.19960.bactrace
bareos-dir: lib/bsys.cc:64-0 Safe_unlink excluded: /var/lib/bareos/bareos-dir.bareos-dir.1418781856.mail

How to solve this problem?
TagsNo tags attached.

Activities

Nano9600

Nano9600

2020-12-29 16:30

reporter   ~0004074

29-Dec 16:10 bareos-dir JobId 0: Error: Unable to load shared library: /usr/lib/bareos/backends/libbareoscats-mysql.so ERR=/usr/lib/bareos/backends/libbareoscats-mysql.so: undefined symbol: _Z8rwl_initP12s_rwlock_tagi
29-Dec 16:10 bareos-dir ABORTING due to ERROR
Unable to load any shared library for libbareoscats-mysql.so
fapg

fapg

2021-01-11 16:36

reporter   ~0004077

Wrong mysql libs?
bruno-at-bareos

bruno-at-bareos

2023-07-31 10:13

manager   ~0005271

Not sure it is still an issue.
You have to move your database from mysql to postgresql last version possible to do so is 20.
The dbdriver is by default now postgresql, maybe you have to fix your configuration.
Check the lib present maybe you still have help apt to resolv the case.

Issue History

Date Modified Username Field Change
2020-12-29 13:25 Nano9600 New Issue
2020-12-29 16:30 Nano9600 Note Added: 0004074
2021-01-11 16:36 fapg Note Added: 0004077
2023-07-31 10:13 bruno-at-bareos Assigned To => bruno-at-bareos
2023-07-31 10:13 bruno-at-bareos Status new => closed
2023-07-31 10:13 bruno-at-bareos Resolution open => no change required
2023-07-31 10:13 bruno-at-bareos Note Added: 0005271