I just had to ask.
If it were me, I'd check:
telnet to the box and attempt a connect to port 9103 to make sure
there's no firewall block.
If that's kick'n in gear, then I'd run the director with verbose
logging turned on - it will usually cough up good info to
troubleshoot the problem.
HTH
Erich
On Mar 15, 2007, at 11:56 PM, Michael Toscano wrote:
> Sure did. I restarted them all.
>
> Thanks for the reply!
>
> Mike
>
>
> On Thu, 15 Mar 2007 20:49:53 -0500, "Erich Prinz"
> <[EMAIL PROTECTED]>
> said:
>>
>> Simple question...
>>
>> Did you restart the SD daemon after modifying your SD file to use the
>> LTO device instead of the HDD?
>>
>> Erich
>>
>>
>>
>> On Mar 15, 2007, at 6:22 PM, Mike Toscano wrote:
>>
>>> OS: Ubuntu Linux 6.06
>>> Bacula version: 1.36.3
>>> Tape changer: Quantum Superloader 3, LTO Ultrium 3
>>> Changer passes btape autochanger test.
>>>
>>> status storage gives me an error:
>>> Automatically selected Storage: LTO-3
>>> Connecting to Storage daemon LTO-3 at lasbmms1w03.bmmad.internal:
>>> 9103
>>> Failed to connect to Storage daemon LTO-3.
>>>
>>> All the daemons are running. I can ping the client with no
>>> problem. I
>>> was able to run backups with no problems when I was backing up to
>>> file
>>> -- hard drive. This is what I get since changing the config files
>>> to
>>> back up to my tape changer.
>>>
>>> I have tried google and the list archives and the only other issue I
>>> have seen similar to this is where people set localhost in the
>>> address
>>> field. I have FQDNs wherever I need to specify a host so I think
>>> I'm OK
>>> there.
>>>
>>> I'm quite sure this is a configuration issue. Can anyone tell me
>>> what I
>>> have wrong or at least push me in the right direction?
>>>
>>> My config files follow this message.
>>>
>>> Thanks in advance. Any help at all would be tremendously
>>> appreciated.
>>>
>>> Mike
>>>
>>>
>>> ***********bacula-dir.conf***********
>>> [EMAIL PROTECTED]:/etc/bacula# cat bacula-dir.conf
>>> #
>>> # Default Bacula Director Configuration file
>>> #
>>> # The only thing that MUST be changed is to add one or more
>>> # file or directory names in the Include directive of the
>>> # FileSet resource.
>>> #
>>> # For Bacula release 1.36.3 (22 April 2005) -- debian testing/
>>> unstable
>>> #
>>> # You might also want to change the default email address
>>> # from root to your address. See the "mail" and "operator"
>>> # directives in the Messages resource.
>>> #
>>>
>>> Director { # define myself
>>> Name = bmm-s1-dir
>>> DIRport = 9101 # where we listen for UA connections
>>> QueryFile = "/etc/bacula/scripts/query.sql"
>>> WorkingDirectory = "/var/lib/bacula"
>>> PidDirectory = "/var/run/bacula"
>>> Maximum Concurrent Jobs = 1
>>> Password = "" # Console password
>>> Messages = Daemon
>>> }
>>>
>>> JobDefs {
>>> Name = "DefaultJob"
>>> Type = Backup
>>> Level = Full
>>> Client = lasbmms1w03-fd
>>> FileSet = "Full Set"
>>> Schedule = "WeeklyCycle"
>>> Storage = LTO-3
>>> Messages = Standard
>>> Pool = Default
>>> Priority = 10
>>> }
>>>
>>>
>>> #
>>> # Define the main nightly save backup job
>>> # By default, this job will back up to disk in /tmp
>>> Job {
>>> Name = "lasbmms1w03-fd"
>>> JobDefs = "DefaultJob"
>>> Write Bootstrap = "/var/lib/bacula/lasbmms1w03-fd.bsr"
>>> }
>>>
>>>
>>> Job {
>>> Name = "BackupCatalog"
>>> JobDefs = "DefaultJob"
>>> Level = Full
>>> FileSet="Catalog"
>>> Schedule = "WeeklyCycleAfterBackup"
>>> # This creates an ASCII copy of the catalog
>>> RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup -u<user>
>>> -p<password>"
>>> # This deletes the copy of the catalog
>>> RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup"
>>> Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
>>> Priority = 11 # run after main backup
>>> }
>>>
>>> # Standard Restore template, to be changed by Console program
>>> Job {
>>> Name = "RestoreFiles"
>>> Type = Restore
>>> Client=lasbmms1w03-fd
>>> FileSet="Full Set"
>>> Storage = LTO-3
>>> Pool = Default
>>> Messages = Standard
>>> Where = /tmp/bacula-restores
>>> }
>>>
>>> #
>>> # Put your list of files here, preceded by 'File =', one per line
>>> # or include an external list with:
>>> #
>>> # File = <file-name
>>> #
>>> # Note: / backs up everything on the root partition.
>>> # if you have other partitons such as /usr or /home
>>> # you will probably want to add them too.
>>> #
>>> # By default this is defined to point to the Bacula build
>>> # directory to give a reasonable FileSet to backup to
>>> # disk storage during initial testing.
>>> #
>>> # File = /build/buildd/bacula-1.36.3
>>> # }
>>>
>>> #
>>> # If you backup the root directory, the following two excluded
>>> # files can be useful
>>> #
>>> # Exclude {
>>> # File = /proc
>>> # File = /tmp
>>> # File = /.journal
>>> # File = /.fsck
>>> # }
>>> #}
>>>
>>> #
>>> # When to do the backups, full backup on first sunday of the month,
>>> # differential (i.e. incremental since full) every other sunday,
>>> # and incremental backups other days
>>> #Schedule {
>>> # Name = "WeeklyCycle"
>>> # Run = Level=Full Pool=SundayPool Monday at 0:10am
>>> # Run = Level=Full Pool=MondayPool Tuesday at 0:10am
>>> # Run = Level=Full Pool=TuesdayPool Wednesday at 0:10am
>>> # Run = Level=Full Pool=WednesdayPool Wednesday at 0:10am
>>> # Run = Level=Full Pool=ThursdayPool Friday at 0:10am
>>> # Run = Level=Full Pool=FridayPool Saturday at 0:10am
>>> # Run = Level=Full Pool=SaturdayPool Sunday at 0:10am
>>> #}
>>>
>>> Schedule {
>>> Name = "WeeklyCycle"
>>> Run = Full 1st sun at 1:05
>>> Run = Differential 2nd-5th sun at 1:05
>>> Run = Incremental mon-sat at 1:05
>>> }
>>>
>>>
>>> # This schedule does the catalog. It starts after the WeeklyCycle
>>> Schedule {
>>> Name = "WeeklyCycleAfterBackup"
>>> Run = Full sun-sat at 1:10
>>> }
>>>
>>> # This is the backup of the catalog
>>> FileSet {
>>> Name = "Catalog"
>>> Include {
>>> Options {
>>> signature = MD5
>>> }
>>> File = /var/lib/bacula/bacula.sql
>>> }
>>> }
>>>
>>> # Client (File Services) to backup
>>> Client {
>>> Name = lasbmms1w03-fd
>>> Address = lasbmms1w03.bmmad.internal
>>> FDPort = 9102
>>> Catalog = MyCatalog
>>> Password = "" # password for FileDaemon
>>> File Retention = 30 days # 30 days
>>> Job Retention = 6 months # six months
>>> AutoPrune = yes # Prune expired Jobs/Files
>>> }
>>>
>>> # List of files to be backed up
>>> FileSet {
>>> Name = "Full Set"
>>> Include {
>>> File = c:\misc\scripts
>>> Options { compression=GZIP
>>> signature = MD5 }
>>> }
>>> }
>>>
>>> Storage {
>>> Name = LTO-3 # Do not use "localhost" here
>>> Address = lasbmms1w03.bmmad.internal # N.B. Use a fully
>>> qualified
>>> name here
>>> SDPort = 9103
>>> Password = ""
>>> Device = LTO-3
>>> Media Type = LTO-3
>>> }
>>>
>>>
>>> # Definition of LTO-3 tape storage device
>>> #Storage {
>>> # Name = superloader # Do not use "localhost" here
>>> # Address = bmm-s1 # N.B. Use a fully qualified
>>> name here
>>> # SDPort = 9103
>>> # Password = "" # password for Storage daemon
>>> # Device = LTO-3 # must be same as Device in
>>> Storage
>>> daemon
>>> # Media Type = LTO-3 # must be same as MediaType in
>>> Storage daemon
>>> #}
>>>
>>> # Definition of DDS tape storage device
>>> #Storage {
>>> # Name = DDS-4
>>> # Do not use "localhost" here
>>> # Address = bmm-s1 # N.B. Use a fully qualified
>>> name here
>>> # SDPort = 9103
>>> # Password = "" # password for Storage daemon
>>> # Device = DDS-4 # must be same as Device in
>>> Storage
>>> daemon
>>> # Media Type = DDS-4 # must be same as MediaType in
>>> Storage daemon
>>> #}
>>>
>>> # Generic catalog service
>>> Catalog {
>>> Name = MyCatalog
>>> dbname = bacula; password = ""
>>> }
>>>
>>> # Reasonable message delivery -- send most everything to email
>>> address
>>> # and to the console
>>> Messages {
>>> Name = Standard
>>> #
>>> # NOTE! If you send to two email or more email addresses, you will
>>> need
>>> # to replace the %r in the from field (-f part) with a single valid
>>> # email address in both the mailcommand and the operatorcommand.
>>> #
>>> mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\)
>>> %r\"
>>> -s \"Bacula: %t %e of %c %l\" %r"
>>> operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\
>>> (Bacula\)
>>> %r\" -s \"Bacula: Intervention needed for %j\" %r"
>>> mail = [EMAIL PROTECTED] = all, !skipped
>>> operator = [EMAIL PROTECTED] = mount
>>> console = all, !skipped, !saved
>>> #
>>> # WARNING! the following will create a file that you must cycle from
>>> # time to time as it will grow indefinitely. However, it
>>> will
>>> # also keep all your messages if they scroll off the
>>> console.
>>> #
>>> append = "/var/lib/bacula/log" = all, !skipped
>>> }
>>>
>>>
>>> #
>>> # Message delivery for daemon messages (no job).
>>> Messages {
>>> Name = Daemon
>>> mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\)
>>> %r\"
>>> -s \"Bacula daemon message\" %r"
>>> mail = [EMAIL PROTECTED] = all, !skipped
>>> console = all, !skipped, !saved
>>> append = "/var/lib/bacula/log" = all, !skipped
>>> }
>>>
>>>
>>>
>>>
>>> # Default pool definition
>>> Pool {
>>> Name = Default
>>> Pool Type = Backup
>>> Recycle = yes # Bacula can automatically
>>> recycle
>>> Volumes
>>> AutoPrune = yes # Prune expired volumes
>>> Volume Retention = 365 days # one year
>>> Accept Any Volume = yes # write on any volume in the
>>> pool
>>> }
>>>
>>> #
>>> # Restricted console used by tray-monitor to get the status of the
>>> director
>>> #
>>> #Console {
>>> # Name = bmm-s1-mon
>>> # Password = ""
>>> # CommandACL = status, .status
>>> #}
>>> ###################### fileserver Client #####################
>>> #Job {
>>> # Name = "lasbmms1w03"
>>> # Type = Backup
>>> # Client = lasbmms1w03-fd
>>> # FileSet = "fileserver"
>>> # Schedule = "WeeklyCycle"
>>> # Storage = File
>>> # Messages = Standard
>>> # Pool = Default
>>> # Write Bootstrap = "/var/lib/bacula/lasbmms1w03.bsr"
>>> #}
>>> # Client (File Services) to backup
>>> #Client {
>>> # Name = lasbmms1w03-fd
>>> # Address = lasbmms1w03.bmmad.internal
>>> # FDPort = 9102
>>> # Catalog = MyCatalog
>>> # Password = "" # password for
>>> # File Retention = 30d # 30 days
>>> # Job Retention = 180d # six months
>>> # AutoPrune = yes # Prune expired Jobs/Files
>>> #}
>>>
>>> # List of files to be backed up
>>> #FileSet {
>>> # Name = "fileserver"
>>> # Include {
>>> # File = d:/home/departments/sales
>>> # Options { compression=GZIP
>>> # signature = MD5 }
>>> # }
>>> #}
>>>
>>> # Standard Restore template, to be changed by Console program
>>> #Job {
>>> # Name = "fileserverrestore"
>>> # Type = Restore
>>> # Client=lasbmms1w03-fd
>>> # FileSet="fileserver"
>>> # Storage = superloader
>>> # Pool = Default
>>> # Messages = Standard
>>> # Where = /tmp/bacula-restores
>>> #}
>>>
>>> ###################### Test Client #####################
>>> #Job {
>>> # Name = "bmm-dsalour"
>>> # Type = Backup
>>> # Client = bmm-dsalour-fd
>>> # FileSet = "test1"
>>> # Schedule = "WeeklyCycle"
>>> # Storage = File
>>> # Messages = Standard
>>> # Pool = Default
>>> # Write Bootstrap = "/var/lib/bacula/bmm-dsalour.bsr"
>>> #}
>>> ## Client (File Services) to backup
>>> #Client {
>>> # Name = bmm-dsalour-fd
>>> # Address = 10.0.3.26
>>> # FDPort = 9102
>>> # Catalog = MyCatalog
>>> # Password = "" # password for
>>> # File Retention = 30d # 30 days
>>> # Job Retention = 180d # six months
>>> # AutoPrune = yes # Prune expired Jobs/Files
>>> #}
>>>
>>> ## List of files to be backed up
>>> #FileSet {
>>> # Name = "test1"
>>> # Include {
>>> # File = c:\misc
>>> # Options { compression=GZIP
>>> # signature = MD5 }
>>> # }
>>> #}
>>>
>>> ******************bacula-sd.conf*******************
>>>
>>> [EMAIL PROTECTED]:/etc/bacula# cat bacula-sd.conf
>>> #
>>> # Default Bacula Storage Daemon Configuration file
>>> #
>>> # For Bacula release 1.36.3 (22 April 2005) -- debian testing/
>>> unstable
>>> #
>>> # You may need to change the name of your tape drive
>>> # on the "Archive Device" directive in the Device
>>> # resource. If you change the Name and/or the
>>> # "Media Type" in the Device resource, please ensure
>>> # that dird.conf has corresponding changes.
>>> #
>>>
>>> Storage { # definition of myself
>>> Name = bmm-s1-sd
>>> SDPort = 9103 # Director's port
>>> WorkingDirectory = "/var/lib/bacula"
>>> Pid Directory = "/var/run/bacula"
>>> Maximum Concurrent Jobs = 20
>>> }
>>>
>>> #
>>> # List Directors who are permitted to contact Storage daemon
>>> #
>>> Director {
>>> Name = bmm-s1-dir
>>> Password = ""
>>> }
>>>
>>> #
>>> # Restricted Director, used by tray-monitor to get the
>>> # status of the storage daemon
>>> #
>>> Director {
>>> Name = bmm-s1-mon
>>> Password = ""
>>> Monitor = yes
>>> }
>>>
>>> #
>>> # Devices supported by this Storage daemon
>>> # To connect, the Director's bacula-dir.conf must have the
>>> # same Name and MediaType.
>>> #
>>>
>>> #Device {
>>> # Name = FileStorage
>>> # Media Type = File
>>> # Archive Device = /tmp
>>> # LabelMedia = yes; # lets Bacula label
>>> unlabeled media
>>> # Random Access = Yes;
>>> # AutomaticMount = yes; # when device opened, read it
>>> # RemovableMedia = no;
>>> # AlwaysOpen = no;
>>> #}
>>>
>>> #
>>> # A Linux or Solaris tape drive
>>> #
>>> Device {
>>> Name = LTO-3 #
>>> Media Type = LTO-3
>>> Archive Device = /dev/nst0
>>> AutomaticMount = yes; # when device opened, read it
>>> AlwaysOpen = yes;
>>> RemovableMedia = yes;
>>> RandomAccess = no;
>>> Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>>> Changer Device = /dev/sg2
>>> AutoChanger = yes
>>> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
>>> }
>>>
>>> #
>>> # A FreeBSD tape drive
>>> #
>>> #Device {
>>> # Name = DDS-4
>>> # Description = "DDS-4 for FreeBSD"
>>> # Media Type = DDS-4
>>> # Archive Device = /dev/nsa1
>>> # AutomaticMount = yes; # when device opened, read it
>>> # AlwaysOpen = yes
>>> # Offline On Unmount = no
>>> # Hardware End of Medium = no
>>> # BSF at EOM = yes
>>> # Backward Space Record = no
>>> # Fast Forward Space File = no
>>> # TWO EOF = yes
>>> #}
>>>
>>> #
>>> # A OnStream tape drive.
>>> # You need the kernel osst driver 0.9.14 or later, and
>>> # do "mt -f /dev/nosst0 defblksize 32768" once as root.
>>> #
>>> #Device {
>>> # Name = OnStream
>>> # Description = "OnStream drive on Linux"
>>> # Media Type = OnStream
>>> # Archive Device = /dev/nrst0
>>> # AutomaticMount = yes; # when device opened, read it
>>> # AlwaysOpen = yes
>>> # Offline On Unmount = no
>>> ## The min/max blocksizes of 32768 are *required*
>>> # Minimum Block Size = 32768
>>> # Maximum Block Size = 32768
>>> #}
>>>
>>> #
>>> # A very old Exabyte with no end of media detection
>>> #
>>> #Device {
>>> # Name = "Exabyte 8mm"
>>> # Media Type = "8mm"
>>> # Archive Device = /dev/nrst0
>>> # Hardware end of medium = No;
>>> # AutomaticMount = yes; # when device opened, read it
>>> # AlwaysOpen = Yes;
>>> # RemovableMedia = yes;
>>> # RandomAccess = no;
>>> #}
>>>
>>> #
>>> # Send all messages to the Director,
>>> # mount messages also are sent to the email address
>>> #
>>> Messages {
>>> Name = Standard
>>> director = bmm-s1-dir = all
>>> }
>>>
>>> ***************bacula-fd.conf*****************
>>>
>>> [EMAIL PROTECTED]:/etc/bacula# cat bacula-fd.conf
>>> #
>>> # Default Bacula File Daemon Configuration file
>>> #
>>> # For Bacula release 1.36.3 (22 April 2005) -- debian testing/
>>> unstable
>>> #
>>> # There is not much to change here except perhaps the
>>> # File daemon Name to
>>> #
>>>
>>> #
>>> # List Directors who are permitted to contact this File daemon
>>> #
>>> Director {
>>> Name = bmm-s1-dir
>>> Password = ""
>>> }
>>>
>>> #
>>> # Restricted Director, used by tray-monitor to get the
>>> # status of the file daemon
>>> #
>>> Director {
>>> Name = bmm-s1-mon
>>> Password = ""
>>> Monitor = yes
>>> }
>>>
>>> #
>>> # "Global" File daemon configuration specifications
>>> #
>>> FileDaemon { # this is me
>>> Name = bmm-s1-fd
>>> FDport = 9102 # where we listen for the director
>>> WorkingDirectory = /var/lib/bacula
>>> Pid Directory = /var/run/bacula
>>> Maximum Concurrent Jobs = 20
>>> }
>>>
>>> # Send all messages except skipped files back to Director
>>> Messages {
>>> Name = Standard
>>> director = bmm-s1-dir = all, !skipped
>>> }
>>> [EMAIL PROTECTED]:/etc/bacula#
>>>
>>>
>>> --------------------------------------------------------------------
>>> --
>>> ---
>>> 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
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>
>>
> ____________________
> Mike Toscano
> Director of Information Technology
> BMMtestlabs
> 8685 S. Eastern Ave.
> Las Vegas, NV 89123
> Tel: 702-407-2420
> Fax: 702-407-2421
> www.bmm.com
>
> ----------------------------------------------------------------------
> ------------------------------------
> This e-mail message is a confidential communication from BMM North
> America, Inc. DBA BMMtestlabs and is
> intended only for the named recipient(s) above and may contain
> information that is a trade secret,
> proprietary or privileged. If you have received this message in
> error, or are not the named or intended
> recipient(s), please immediately notify the sender at 702-407-2420
> and delete this e-mail message and
> any attachments from your workstation or network mail system.
>
>
> ----------------------------------------------------------------------
> ---
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users