On Wednesday 31 August 2005 10:33, justin wrote:
> Hi,
>
> I'm having a problem with the storage daemon hanging when I try to do
> anything.  In fact it even hangs when I try to turn on debugging:
>
> Connecting to Director nemesis:9101
>
> 1000 OK: nemesis-dir Version: 1.37.37 (28 August 2005)
>
> Enter a period to cancel a command.
>
> *setdebug level=99 trace=1
>
> Using default Catalog name=MyCatalog DB=bacula
>
> Available daemons are:
>
>      1: Director
>
>      2: Storage
>
>      3: Client
>
>      4: All
>
> Select daemon type to set debug level (1-4): 4
>
> nemesis-dir: cram-md5.c:114 sending resp to challenge:
> h0UN93/iF8+7p4Yci7+TXC
>
> Connecting to Storage daemon File at nemesis:9103
>
> nemesis-dir: cram-md5.c:52 send: auth cram-md5
> <[EMAIL PROTECTED]> ssl=0
>
> nemesis-dir: cram-md5.c:68 Authenticate OK N5/CU8BgRzxDF+Ysk+Uv9C
>
> And that's it!  The same thing happens with commands such as "label
> barcodes".  I'm running on Solaris 9 with a tape library.  mtx and mt
> commands work fine even if bacula is running - I don't think it's
> anything to do with device contention.  I attach what I think are the
> relevant parts of the dir and sd conf files.  Anyone know what's going on?

You will need to run it under the debugger as described in the Kaboom chapter 
of the manual.

>
> Regards,
>
>     Justin.
>
>
>
> dir.conf
> ----------
> Storage
> {
>   Name = "TapeStore0"
>   Address = nemesis
>   SDPort = 9103
>   Password = "JymxL35ZLA9Jiy1EV67q7La2jabTcUh25omNILH9V"
>   Device = TapeLibrary0
>   Autochanger = yes                   # enable for autochanger device
>   MediaType = "8mm"
> }
>
> sd.conf
> ----------
> Autochanger
> {
>   Name = TapeLibrary0
>   Device = TL0d0
>   Device = TL0d1
>   Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/tape_lib0
> }
>
> Device
> {
>   Name = TL0d0
>   Drive Index = 0
>   Media Type = 8mm
>   Archive Device = /dev/tape_lib0_d0
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes
>   AutoSelect = yes;
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> }
>
> Device
> {
>   Name = TL0d1
>   Drive Index = 1
>   Media Type = 8mm
>   Archive Device = /dev/tape_lib0_d1
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes
>   AutoSelect = yes;
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> }
>
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to