Your libmysqlclient_r.so.16 is miscompiled. See http://thread.gmane.org/gmane.comp.sysutils.backup.bacula.devel/14610/focus=14718
__Martin >>>>> On Fri, 11 Jun 2010 09:13:15 +1000, Jurgen Weber said: > > Martin > > Ok, I am a liittle noob at this so I hope I have done everything right. > :) Let me know! Output below: > > # ps ax | grep bacula > 42374 ?? Is 0:00.01 /usr/local/sbin/bacula-dir -d 500 -u bacula -g > bacula -v -c -f /usr/local/etc/bacula-dir.conf > > # gdb bacula-dir 42374 > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols > found)... > Attaching to program: /usr/local/sbin/bacula-dir, process 42374 > Reading symbols from /usr/local/lib/libintl.so.9...(no debugging symbols > found)...done. > Loaded symbols for /usr/local/lib/libintl.so.9 > Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging > symbols found)...done. > Loaded symbols for /usr/local/lib/libiconv.so.3 > Reading symbols from /usr/local/lib/libbacfind.so.1...(no debugging > symbols found)...done. > Loaded symbols for /usr/local/lib/libbacfind.so.1 > Reading symbols from /usr/local/lib/libbacsql.so.1...(no debugging > symbols found)...done. > Loaded symbols for /usr/local/lib/libbacsql.so.1 > Reading symbols from /usr/local/lib/libbacpy.so.1...(no debugging > symbols found)...done. > Loaded symbols for /usr/local/lib/libbacpy.so.1 > Reading symbols from /usr/local/lib/libbaccfg.so.1...(no debugging > symbols found)...done. > Loaded symbols for /usr/local/lib/libbaccfg.so.1 > Reading symbols from /usr/local/lib/libbac.so.1...(no debugging symbols > found)...done. > Loaded symbols for /usr/local/lib/libbac.so.1 > Reading symbols from /usr/local/lib/mysql/libmysqlclient_r.so.16...(no > debugging symbols found)...done. > Error while reading shared library symbols: > Cannot get thread info: invalid key > Reading symbols from /lib/libcrypt.so.4...(no debugging symbols > found)...done. > Loaded symbols for /lib/libcrypt.so.4 > Reading symbols from /lib/libz.so.4...(no debugging symbols found)...done. > Loaded symbols for /lib/libz.so.4 > Reading symbols from /usr/lib/libwrap.so.5...(no debugging symbols > found)...done. > Loaded symbols for /usr/lib/libwrap.so.5 > Reading symbols from /usr/lib/libssl.so.5...(no debugging symbols > found)...done. > Loaded symbols for /usr/lib/libssl.so.5 > Reading symbols from /lib/libcrypto.so.5...(no debugging symbols > found)...done. > Loaded symbols for /lib/libcrypto.so.5 > Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols > found)...done. > Loaded symbols for /usr/lib/libstdc++.so.6 > Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. > Loaded symbols for /lib/libm.so.5 > Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols > found)...done. > Loaded symbols for /lib/libgcc_s.so.1 > Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols > found)...done. > Loaded symbols for /libexec/ld-elf.so.1 > 0x282b7929 in _umtx_op_err () from > /usr/local/lib/mysql/libmysqlclient_r.so.16 > (gdb) break main > Breakpoint 1 at 0x8053130 > (gdb) bt > #0 0x282b7929 in _umtx_op_err () from > /usr/local/lib/mysql/libmysqlclient_r.so.16 > #1 0x282b776b in __thr_umutex_lock () from > /usr/local/lib/mysql/libmysqlclient_r.so.16 > #2 0x282b2128 in init_static () from > /usr/local/lib/mysql/libmysqlclient_r.so.16 > #3 0x282b29d3 in pthread_mutex_trylock () from > /usr/local/lib/mysql/libmysqlclient_r.so.16 > #4 0x286b5fb4 in _pthread_mutex_trylock () from /lib/libc.so.7 > #5 0x28640a30 in calloc () from /lib/libc.so.7 > #6 0x282b1eea in mutex_init () from > /usr/local/lib/mysql/libmysqlclient_r.so.16 > #7 0x282b21ad in init_static () from > /usr/local/lib/mysql/libmysqlclient_r.so.16 > #8 0x282b29d3 in pthread_mutex_trylock () from > /usr/local/lib/mysql/libmysqlclient_r.so.16 > #9 0x286b5fb4 in _pthread_mutex_trylock () from /lib/libc.so.7 > #10 0x28640f8c in malloc () from /lib/libc.so.7 > #11 0x282b3d1b in _thr_alloc () from > /usr/local/lib/mysql/libmysqlclient_r.so.16 > #12 0x282b4d0f in pthread_create () from > /usr/local/lib/mysql/libmysqlclient_r.so.16 > #13 0x080914b8 in start_UA_server () > #14 0x080535e4 in main () > (gdb) > > Thanks for your help. > > Jurgen > > On 10/06/10 7:18 PM, Martin Simmons wrote: > >>>>>> On Thu, 10 Jun 2010 15:22:03 +1000, Jurgen Weber said: > >> > >> Starting up the Directory, I can only get so far and I do not understand > >> why. I am running 5.0.0_1 from Ports. This is a recently upgraded > >> FreeBSD system form 6.2 to 7.3-RELEASE-p1. When I started up the > >> bacula-dir in debug I get the following: > >> > >> /var/run]# /usr/local/sbin/bacula-dir -d 500 -u bacula -g bacula -v -c > >> /usr/local/etc/bacula-dir.conf > >> ... > >> bacula-dir: dird.c:323-0 Start UA server > >> > >> I have rebuilt all ports and its dependencies, I have dropped the > >> database and recreated a new one. I have check my 'hosts' file and I > >> find nothing odd in there. I am completely out of ideas to why it is > >> locking up and doing nothing just as it comes to bind its self to an > >> interface, etc. > >> > >> Does anyone have any ideas? > > > > I suggest running it with -f under gdb and then interrupt it to see where it > > is hanging (use the bt command to get a backtrace). > > > > __Martin > > > > ------------------------------------------------------------------------------ > > ThinkGeek and WIRED's GeekDad team up for the Ultimate > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > > lucky parental unit. See the prize list and enter to win: > > http://p.sf.net/sfu/thinkgeek-promo > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- > --------------------------> > ish > http://www.ish.com.au > Level 1, 30 Wilson Street Newtown 2042 Australia > phone +61 2 9550 5001 fax +61 2 9550 4001 > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users