On 10.04.2018 16:06, Martin Simmons wrote:
On Tue, 10 Apr 2018 12:58:14 +0200, Johannsen, Thorsten said:

Hi Martin,

On 09.04.2018 13:56, Martin Simmons wrote:

To debug the client problem, try

setdebug level=100 trace=1 client=heRPI02-fd

if I do this in bconsole having the client debug turned on, I see

---------------------------------------------------------------------------
heRPI02-fd: job.c:608-0 setdebug_cmd: setdebug=100 trace=1 hangup=-1
blowup=-1 options= tags=
---------------------------------------------------------------------------

but find / |grep bacula.trace on bacula-dir and heRPI02 does not yield
any files.

Not sure why that didn't work.  It should have created the file on heRPI02,
probably in the configured working directory (/var/lib/bacula ?).


to make it create a bacula.trace file or run the bacula-fd with -f -d 100.

If level 100 does not show enough, then increase it.


This one was done with "-d999"

---------------------------------------------------------------------------

[...]

heRPI02-fd: htable.c:283-1738 Insert: hash=3b2ac index=-1036830508
heRPI02-fd: htable.c:286-1738 Insert hp=7520b0b0 index=7140
item=7520b0b0 offset=0
heRPI02-fd: signal.c:135-1738 sig=11 Segmentation violation
heRPI02-fd: signal.c:205-1738 Working=/var/lib/bacula
heRPI02-fd: signal.c:206-1738 btpath=/usr/sbin/btraceback
heRPI02-fd: signal.c:207-1738 exepath=/usr/sbin/bacula-fd
heRPI02-fd: signal.c:236-1738 Doing waitpid
Calling: /usr/sbin/btraceback /usr/sbin/bacula-fd 15336 /var/lib/bacula
bsmtp: bsmtp.c:488-0 Failed to connect to mailhost localhost
The btraceback call returned 1
Dumping: /var/lib/bacula/heRPI02-fd.15336.lockdump
heRPI02-fd: signal.c:238-1738 Done waitpid
heRPI02-fd: lockmgr.c:1157-1738 lockmgr disabled
------------------------------------------------------------------------

OK, so the fd is getting a segmentation violation signal.  It is trying to
email a backtrace to localhost, but that is failing because there is no smtp
service running.

You could look for files matching /var/lib/bacula/bacula.*.traceback on
heRPI02, which might contain the contents of the failed email.

You could also try running the fd under gdb and then run the gdb commands:

bt
thread apply all bt
info all
x/i $pc
x/64i $pc-0x30


great! will do this during the weekend!

thank you very much for your support!


kind regards,
Thorsten

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to