>>>>> On Fri, 28 Jul 2006 13:55:10 -0700, Jo Rhett said: > > > On Fri, 28 Jul 2006 09:36:28 -0700, Jo Rhett said: > >> can't even get a simple answer on what library is used by the > >> traceback module so that I can find it, compile it, and get traceback > >> working. > > On Jul 28, 2006, at 1:07 PM, Martin Simmons wrote: > > Bacula doesn't use a third-party library for traceback -- it just > > contains > > code to fork off gdb with a script of commands. See "What To Do > > When Bacula > > Crashes (Kaboom)" in the Bacula manual. > > The manual is out of date. In particular, the mail commands don't > exist (it uses bsmtp now) and the traceback module uses a dbx library/ > database of some sort. I can find no documentation for what this is. > > gcore -o /var/db/bacula/${PNAME} $2 > dbx $1 $2 </usr/local/share/bacula/btraceback.dbx 2>&1 \ > | /usr/local/sbin/bsmtp -h localhost -f [EMAIL PROTECTED] -s "Bacula DBX > traceback of ${PNAME}" [EMAIL PROTECTED]
Sorry, I thought you were on FreeBSD from your post earlier today. The traceback uses dbx only on Solaris (aka SunOS), but I have no idea if it works. Also, AFAICS, gcore is not really necessary (it simply dumps an additional file). On all other platforms, that script you are quoting should be using gdb. __Martin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users