You have port 9102 vs 9103 in your configuration.  The SD listens on 9103.

Patti Clark
Linux System Administrator
R&D Systems Support Oak Ridge National Laboratory

From: Francisco Javier Funes Nieto <esen...@gmail.com>
Date: Tuesday, November 1, 2016 at 1:58 PM
To: bacula-users <bacula-users@lists.sourceforge.net>
Subject: [Bacula-users] Failed to connect to Storage Daemon.

Hi all,

Nov 1, doing my copy to tape jobs at office following the D2D2T aprox.

I run Bacula 7.4.4 in FreeBSD 10.3 based server with TLS.

The Storage Daemon has two Devices:

LocalChgr, a virtual autochanger device with five devices poiting to 
/bacula/volumes (ZFS)
LocalTape, an external Ultrium tape drive (LTO3 SCSI) .

This is what happen when I run the label command:


*m
01-Nov 18:35 betelgeuse.canonigos.es-dir JobId 0: Fatal error: 
authenticate.c:122 Director unable to authenticate with Storage daemon at 
"betelgeuse.canonigos.es:9102<http://betelgeuse.canonigos.es:9102>". Possible 
causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the SD or
SD networking messed up (restart daemon).
For help, please see: 
http://www.bacula.org/rel-manual/en/problems/Bacula_Frequently_Asked_Que.html

Bacula Director can't authenticate with the Storage Daemon, but... it's the 
same as the LocalChgr that's do the disk backup jobs.


Detailed info:

camcontrol devlist
<HP Ultrium 3-SCSI G66D>           at scbus0 target 3 lun 0 (pass0,sa0)
<WDC WD30EFRX-68EUZN0 80.00A80>    at scbus1 target 0 lun 0 (ada0,pass1)
<WDC WD30EFRX-68EUZN0 80.00A80>    at scbus2 target 0 lun 0 (ada1,pass2)
<WDC WD30EFRX-68EUZN0 80.00A80>    at scbus3 target 0 lun 0 (ada2,pass3)
<WDC WD30EFRX-68EUZN0 80.00A80>    at scbus4 target 0 lun 0 (ada3,pass4)
<AHCI SGPIO Enclosure 1.00 0001>   at scbus7 target 0 lun 0 (pass5,ses0

bacula-sd.conf


Device {
  Name = HP920LTO3
  Description = "LTO3 HP STORAGEWORKS 920"
  Media Type = LTO3
  Archive Device = /dev/nsa0
  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
  Maximum File Size = 4GB
#  If you have smartctl, enable this, it has more info than tapeinfo
#  Alert Command = "sh -c 'smartctl -H -l error %c'"
}



bacula-dir.conf

# Definition of file Virtual Autochanger device
Storage {
  Name                    = LocalChgr
  Address                 = 
betelgeuse.canonigos.es<http://betelgeuse.canonigos.es>                # N.B. 
Use a fully qualified name here
  SDPort                  = 9103
  Password                = "kk"
  Device                  = LocalChgr
  Media Type              = File1
  Maximum Concurrent Jobs = 10        # run up to 10 jobs a the same time
  TLS Require                   = yes
  TLS Enable                    = yes
  #TLS Verify Peer               = yes
  TLS CA Certificate File       = /usr/local/etc/ssl/cacert.pem
  TLS Certificate               = 
/usr/local/etc/ssl/betelgeuse.canonigos.es.cert
  TLS Key                       = 
/usr/local/etc/ssl/betelgeuse.canonigos.es-nopass.key

}

Storage {
  Name                    = LocalTape
  Address                 = 
betelgeuse.canonigos.es<http://betelgeuse.canonigos.es>
  SDPort                  = 9102
  Password                = "kk"
  Device                  = HP920LTO3
  Media Type              = LTO3
  Maximum Concurrent Jobs = 10
  TLS Require                   = yes
  TLS Enable                    = yes
  #TLS Verify Peer               = yes
  TLS CA Certificate File       = /usr/local/etc/ssl/cacert.pem
  TLS Certificate               = 
/usr/local/etc/ssl/betelgeuse.canonigos.es.cert
  TLS Key                       = 
/usr/local/etc/ssl/betelgeuse.canonigos.es-nopass.key

}

# permissions

id bacula
uid=910(bacula) gid=910(bacula) groups=910(bacula),5(operator)


sudo ls -l /dev/sa0
crw-rw----  1 root  operator  0x69 Nov  1 18:26 /dev/sa0


Why bacula can communicate with StorageDaemon-LocalChr and not with the same 
Storage Daemon but other device?

Thanks!







--
_____________________________________________

Francisco Javier Funes Nieto [esen...@gmail.com<mailto:esen...@gmail.com>]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to