>>>>> 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: message.c:788-1738 Enter dispatch_msg type=6 msg=heRPI02-fd > JobId 1738: ClientBeforeJob: exiting... > heRPI02-fd: message.c:991-1738 DIRECTOR for following msg: heRPI02-fd > JobId 1738: ClientBeforeJob: exiting... > heRPI02-fd: bpipe.c:240-1738 Wait for 15341 opt=0 > heRPI02-fd: bpipe.c:248-1738 Got break wpid=15341 status=0 ERR=none > heRPI02-fd: bpipe.c:269-1738 child status=0 > heRPI02-fd: bpipe.c:284-1738 returning stat=0,0 > heRPI02-fd: runscript.c:254-1738 runscript OK > heRPI02-fd: job.c:752-1738 Back from run_scripts ClientBeforeJob now: OK > heRPI02-fd: job.c:288-1738 <dird: accurate files=53201 > heRPI02-fd: job.c:311-1738 Executing Dir accurate files=53201 > command. > heRPI02-fd: htable.c:67-1738 malloc buf=7520b020 size=1000000 rem=27544016 > Bacula interrupted by signal 11: Segmentation violation > Kaboom! bacula-fd, heRPI02-fd got signal 11 - Segmentation violation at > 10-Apr-2018 12:46:18. Attempting traceback. > Kaboom! exepath=/usr/sbin/ > heRPI02-fd: htable.c:130-1738 Leave hash_index hash=0x7520b068 > index=59779085 > heRPI02-fd: htable.c:283-1738 Insert: hash=0 index=59779085 > heRPI02-fd: htable.c:286-1738 Insert hp=7520b030 index=1507 > item=7520b030 offset=0 > heRPI02-fd: htable.c:293-1738 Insert hp->next=0 hp->hash=0x390280d > hp->key=<NULL> > heRPI02-fd: htable.c:299-1738 Leave insert index=1507 num_items=1 key=/mnt/ > heRPI02-fd: accurate.c:230-1738 add fname=</mnt/> lstat=LMC HtB EHt C A > A A BAA BAA I BaqFXr BaqEVw BaqFXr A A d delta_seq=0 chksum= > heRPI02-fd: htable.c:130-1738 Leave hash_index hash=0x1a45d18 > index=-1036830508 > 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 __Martin ------------------------------------------------------------------------------ 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