Hi folks,

I know CentOS6 isn't exactly "hot of the press" anymore but I have a
legacy system that cannot be updated for various reasons.

In order to backup the replacement system which runs bacula client
9.6.x I tried to update the source-compiled version of the bacula
server to 9.6.7. Compilation works fine, so does updating the catalog
on the centos6 machine, but as soon as I try to run the director it
segfaults:

[Thread debugging using libthread_db enabled]
0x00002af83ee5833e in waitpid () from /lib64/libpthread.so.0
$1 = "29-Jul-2021 11:07:06\000\000\000\000\000\000\000\000\000"
$2 = '\000' <repeats 127 times>
$3 = 0x70f058 "bacula-dir"
$4 = 0x70f098 "/server/bacula-9.6.7/sbin/bacula-dir"
$5 = 0x0
$6 = '\000' <repeats 49 times>
$7 = 0x2af83ec343b8 "9.6.7 (10 December 2020)"
$8 = 0x2af83ec343d9 "x86_64-pc-linux-gnu"
$9 = 0x2af83ec343ed "redhat"
$10 = 0x2af83ec3406a ""
$11 = "stage", '\000' <repeats 44 times>
$12 = 0x2af83ec343d1 "redhat "
Environment variable "TestName" not defined.
#0  0x00002af83ee5833e in waitpid () from /lib64/libpthread.so.0
#1  0x00002af83ec1b840 in signal_handler (sig=11) at signal.c:233
#2  <signal handler called>
#3  0x00002af83e4f725e in mysql_server_init () from 
/server/bacula-9.6.7/lib/libbaccats-9.6.7.so
#4  0x00002af83e4f10e7 in mysql_init () from 
/server/bacula-9.6.7/lib/libbaccats-9.6.7.so
#5  0x00002af83e4edb14 in BDB_MYSQL::bdb_open_database (this=0x73c408, jcr=0x0) 
at mysql.c:223
#6  0x000000000040ebfa in check_catalog (mode=UPDATE_AND_FIX) at dird.c:1272
#7  0x000000000041178f in main (argc=<value optimized out>, argv=<value 
optimized out>) at dird.c:340

Thread 1 (Thread 0x2af8417a1880 (LWP 22245)):
#0  0x00002af83ee5833e in waitpid () from /lib64/libpthread.so.0
#1  0x00002af83ec1b840 in signal_handler (sig=11) at signal.c:233
#2  <signal handler called>
#3  0x00002af83e4f725e in mysql_server_init () from 
/server/bacula-9.6.7/lib/libbaccats-9.6.7.so
#4  0x00002af83e4f10e7 in mysql_init () from 
/server/bacula-9.6.7/lib/libbaccats-9.6.7.so
#5  0x00002af83e4edb14 in BDB_MYSQL::bdb_open_database (this=0x73c408, jcr=0x0) 
at mysql.c:223
#6  0x000000000040ebfa in check_catalog (mode=UPDATE_AND_FIX) at dird.c:1272
#7  0x000000000041178f in main (argc=<value optimized out>, argv=<value 
optimized out>) at dird.c:340
#0  0x00002af83ee5833e in waitpid () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x00002af83ec1b840 in signal_handler (sig=11) at signal.c:233
233              waitpid(pid, &chld_status, 0);   /* wait for child to produce 
dump */
sigdefault = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask 
= {__val = {18446744067267100671, 18446744073709551615 <repeats 15 times>}}, 
sa_flags = 0, sa_restorer = 0x7ffde5ffa830}
argv = {0x0, 0x0, 0x0, 0x0, 0x0}
pid_buf = "22245", '\000' <repeats 14 times>

The error seems to be related to opening the mysql catalog database,
but nothing has changed on the server in this regard (again, it's an
old centos6 server).

I configured bacula with the following params:

./configure --prefix=/server/bacula-9.6.7/ --with-mysql -disable-conio 
--with-readline=/usr

Thanks in advance for any info on this,

Uwe




_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to