Package: bacula Version: 1.38.11-1 Severity: important After an upgrade to 1.38.11 I am unable to update changer list from a pseudo barcode simulator as recommended in the Bacula manual. While running bacula-sd in debug mode it shows the changer as being recognised but that is not being passed on for some reason. Extracts are as follows:
--- CUT --- bacula-sd -c /etc/bacula/bacula-sd.conf -d100 -f -g tape -u bacula -v bacula-sd: stored_conf.c:656 Inserting director res: barchetta-mon barchetta-sd: jcr.c:116 read_last_jobs seek to 188 barchetta-sd: jcr.c:123 Read num_items=0 barchetta-sd: pythonlib.c:100 No script dir. prog=SDStartUp barchetta-sd: bnet_server.c:83 Addresses host[ipv4:0.0.0.0:9103] barchetta-sd: stored.c:453 calling init_dev /dev/nst0 barchetta-sd: dev.c:239 init_dev: tape=1 dev_name=/dev/nst0 barchetta-sd: stored.c:455 SD init done /dev/nst0 barchetta-sd: autochanger.c:236 Run program=/etc/bacula/scripts/mtx-changer /dev/sg0 loaded 0 /dev/nst0 0 barchetta-sd: autochanger.c:238 run_prog: /etc/bacula/scripts/mtx-changer /dev/sg0 loaded 0 /dev/nst0 0 stat=0 result=1 barchetta-sd: stored.c:468 calling first_open_device "HP-C1557A" (/dev/nst0) barchetta-sd: dev.c:276 open dev: tape=1 dev_name="HP-C1557A" (/dev/nst0) vol= mode=OPEN_READ_ONLY barchetta-sd: dev.c:323 open dev: device is tape barchetta-sd: autochanger.c:236 Run program=/etc/bacula/scripts/mtx-changer /dev/sg0 loaded 0 /dev/nst0 0 barchetta-sd: autochanger.c:238 run_prog: /etc/bacula/scripts/mtx-changer /dev/sg0 loaded 0 /dev/nst0 0 stat=0 result=1 barchetta-sd: dev.c:338 Try open "HP-C1557A" (/dev/nst0) mode=OPEN_READ_ONLY nonblocking=2048 barchetta-sd: dev.c:369 openmode=3 OPEN_READ_ONLY barchetta-sd: dev.c:382 open dev: tape 4 opened barchetta-sd: label.c:71 Enter read_volume_label res=0 device="HP-C1557A" (/dev/nst0) vol= dev_Vol=*NULL* barchetta-sd: dev.c:627 rewind res=0 fd=4 "HP-C1557A" (/dev/nst0) barchetta-sd: label.c:138 Big if statement in read_volume_label barchetta-sd: reserve.c:146 New Vol=MON01 dev="HP-C1557A" (/dev/nst0) barchetta-sd: label.c:206 Compare Vol names: VolName= hdr=MON01 barchetta-sd: label.c:222 Copy vol_name=MON01 Volume Label: Id : Bacula 1.0 immortal VerNo : 11 VolName : MON01 PrevVolName : VolFile : 0 LabelType : VOL_LABEL LabelSize : 164 PoolName : MondayPool MediaType : DDS-3 PoolType : Backup HostName : barchetta Date label written: 28-Feb-2006 09:46 barchetta-sd: label.c:227 Leave read_volume_label() VOL_OK barchetta-sd: dev.c:627 rewind res=0 fd=4 "HP-C1557A" (/dev/nst0) barchetta-sd: bnet.c:1128 who=client host=127.0.0.1 port=36643 barchetta-sd: cram-md5.c:52 send: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 barchetta-sd: cram-md5.c:68 Authenticate OK JWoLaw/YB4/H25Zmi8xjPA barchetta-sd: cram-md5.c:97 cram-get: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 barchetta-sd: cram-md5.c:114 sending resp to challenge: vS1yn4+g/4+h26/LY/w9KD barchetta-sd: dircmd.c:187 Message channel init completed. barchetta-sd: pythonlib.c:224 No startup module. barchetta-sd: bnet.c:1128 who=client host=127.0.0.1 port=36643 barchetta-sd: cram-md5.c:52 send: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 barchetta-sd: cram-md5.c:68 Authenticate OK K7d9/89HcS/it9ZhxD+v2C barchetta-sd: cram-md5.c:97 cram-get: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 barchetta-sd: cram-md5.c:114 sending resp to challenge: AV/6NGwSlR+qY8AO66ZJyC barchetta-sd: dircmd.c:187 Message channel init completed. barchetta-sd: dircmd.c:513 Found device HP-C1557A barchetta-sd: dircmd.c:551 Found changer device HP-C1557A barchetta-sd: pythonlib.c:224 No startup module. barchetta-sd: bnet.c:1128 who=client host=127.0.0.1 port=36643 barchetta-sd: cram-md5.c:52 send: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 barchetta-sd: cram-md5.c:68 Authenticate OK XkgcIzs0uj/mQxRaO0+tED barchetta-sd: cram-md5.c:97 cram-get: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 barchetta-sd: cram-md5.c:114 sending resp to challenge: 8R+ea8/J1j++d8/lZ//vrC barchetta-sd: dircmd.c:187 Message channel init completed. barchetta-sd: dircmd.c:513 Found device HP-C1557A barchetta-sd: dircmd.c:551 Found changer device HP-C155A barchetta-sd: pythonlib.c:224 No startup module. --- CUT --- --- CUT --- barchetta:/etc/bacula# bconsole Connecting to Director barchetta:9101 1000 OK: barchetta-dir Version: 1.38.11 (28 June 2006) Enter a period to cancel a command. *status Using default Catalog name=MyCatalog DB=bacula Status available for: 1: Director 2: Storage 3: Client 4: All Select daemon type for status (1-4): 2 Automatically selected Storage: DDS-3 Connecting to Storage daemon DDS-3 at barchetta:9103 barchetta-sd Version: 1.38.11 (28 June 2006) i486-pc-linux-gnu debian testing/unstable Daemon started 04-Jul-06 09:08, 0 Jobs run since started. Heap: bytes=11,592 max_bytes=77,123 bufs=57 max_bufs=59 Running Jobs: No Jobs running. ==== Jobs waiting to reserve a drive: ==== No Terminated Jobs. Device status: Device "HP-C1557A" (/dev/nst0) is mounted with Volume="MON01" Pool="*unknown*" Slot 1 is loaded in drive 0. Configured device capabilities: EOF BSR BSF FSR FSF EOM REM !RACCESS AUTOMOUNT !LABEL !ANONVOLS ALWAYSOPEN Device state: OPENED TAPE LABEL MALLOC !APPEND !READ !EOT !WEOT !EOF !NEXTVOL !SHORT !MOUNTED num_writers=0 JobStatus=C block=0 Device parameters: Archive name: /dev/nst0 Device name: HP-C1557A File=0 block=0 Min block=0 Max block=0 Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 ==== In Use Volume status: MON01 on device "HP-C1557A" (/dev/nst0) ==== *update Update choice: 1: Volume parameters 2: Pool from resource 3: Slots from autochanger Choose catalog item to update (1-3): 3 Automatically selected Storage: DDS-3 Connecting to Storage daemon DDS-3 at barchetta:9103 ... 3995 Device "HP-C1557A" (/dev/nst0) is not an autochanger. Enter autochanger drive[0]: Connecting to Storage daemon DDS-3 at barchetta:9103 ... 3995 Device "HP-C1557A" (/dev/nst0) is not an autochanger. Device "HP-C1557A" has 0 slots. No slots in changer to scan. * --- CUT --- It also appears that the Pool Label is not being read either as it clearly understand that the tape label shows it belongs to a pool that is valid but still returns pool= *unknown* -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686-smp Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Versions of packages bacula depends on: ii bacula-client 1.38.11-1 Network backup, recovery and verif ii bacula-server 1.38.11-1 Network backup, recovery and verif bacula recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]