I just installed Bacula 1.38 in FreeBSD, using a Postgres backend.
bacula-dir starts up fine, but when I start up bconsole to go to label a
tape I get a segfault. I've tried running at debug 1024. This is what I
get once it stabilizes after starting it up:

===

thangorodrim-dir: scheduler.c:289 Got job: Client1
thangorodrim-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0
thangorodrim-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0
thangorodrim-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0
thangorodrim-dir: scheduler.c:289 Got job: BackupCatalog
thangorodrim-dir: scheduler.c:332 [EMAIL PROTECTED]: run_now=0 run_nh=0
thangorodrim-dir: scheduler.c:355 Leave find_runs()

===

And this is what happens after I run label in bconsole:

===

thangorodrim-dir: bnet.c:1128 who=client host=192.168.1.2 port=36131
thangorodrim-dir: cram-md5.c:52 send: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
thangorodrim-dir: cram-md5.c:68 Authenticate OK bz/K///igX9lTGosAH+BRA
thangorodrim-dir: cram-md5.c:97 cram-get: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
thangorodrim-dir: cram-md5.c:114 sending resp to challenge:
YR/PV4QhRiZxg7oXZlEHHD
thangorodrim-dir: scan.c:155 Next arg=label
thangorodrim-dir: scan.c:184 End arg=label next=
thangorodrim-dir: scan.c:155 Next arg=
thangorodrim-dir: scan.c:184 End arg= next=
thangorodrim-dir: ua_cmds.c:145 Command: label
thangorodrim-dir: ua_cmds.c:1615 Open database
thangorodrim-dir: postgresql.c:77 db_open first time
thangorodrim-dir: signal.c:78 sig=11 Segmentation violation
thangorodrim-dir: message.c:565 Enter dispatch_msg type=3
msg=thangorodrim-dir: Fatal Error because: Bacula interrupted by s
ignal 11: Segmentation violation
thangorodrim-dir: message.c:659 MAIL for following msg: thangorodrim-dir:
Fatal Error because: Bacula interrupted by signal
11: Segmentation violation
thangorodrim-dir: message.c:353
mailname=/var/db/bacula/thangorodrim-dir.thangorodrim-dir.135201304.mail
thangorodrim-dir: message.c:606 CONSOLE for following msg:
thangorodrim-dir: Fatal Error because: Bacula interrupted by sign
al 11: Segmentation violation
thangorodrim-dir: message.c:699 APPEND for following msg: thangorodrim-dir:
Fatal Error because: Bacula interrupted by signa
l 11: Segmentation violation
Kaboom! bacula-dir, thangorodrim-dir got signal 11. Attempting traceback.
Kaboom! exepath=/usr/local/etc
thangorodrim-dir: signal.c:131 Working=/var/db/bacula
thangorodrim-dir: signal.c:132 btpath=/usr/local/etc/btraceback
thangorodrim-dir: signal.c:133 exepath=/usr/local/etc/bacula-dir
thangorodrim-dir: signal.c:158 Doing waitpid
Calling: /usr/local/etc/btraceback /usr/local/etc/bacula-dir 58913
execv: /usr/local/etc/btraceback failed: ERR=No such file or directory
Traceback complete, attempting cleanup ...
thangorodrim-dir: signal.c:161 Done waitpid
thangorodrim-dir: jcr.c:154 write_last_jobs seek to 188
Pool   Maxsize  Maxused  Inuse
NoPool      256        0      0
NAME        130        2      2
FNAME       256        9      8
MSG         512        5      5
EMSG       1024        2      2

thangorodrim-dir: message.c:527 Enter term_msg
thangorodrim-dir: message.c:396 Close_msg jcr=0x0
thangorodrim-dir: message.c:408 ===Begin close msg resource at 0x80ce118
thangorodrim-dir: message.c:421 Got MD_MAIL or MD_MAIL_ON_ERROR
thangorodrim-dir: util.c:535 edit_job_codes: /usr/local/sbin/bsmtp -h
localhost -f "(Bacula) %r" -s "Bacula daemon message"
%r
thangorodrim-dir: watchdog.c:178 Registered watchdog 0x80d7258, interval
120
thangorodrim-dir: btimers.c:60 Start child timer 0x80d7198, pid 74541 for
120 secs.
thangorodrim-dir: message.c:434 Opened mail pipe
thangorodrim-dir: bpipe.c:194 Wait for 74541 opt=1
thangorodrim-dir: bpipe.c:205 Got wpid=0 status=-1068268318 ERR=none

===

And this it goes into btraceback mode, but I don't see btraceback anywhere.
It seems like it's a database problem, but I can connect using psql just
fine.

-- 
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/

Attachment: pgpWPdb31WWvB.pgp
Description: PGP signature

-------------------------------------------------------------------------
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

Reply via email to