I’m trying to back up my first Windows client (Windows 2012 R2) and getting 
errors (the full log file is below). I’m running Bacula 9.0.6 on CentOS 7.3 for 
the Director and SD. I’m running the latest version of the client on the 
Windows host (version 7.4.4). When I try to back up the Windows client, I get 
this:

    15-Feb 14:43 bacclient-px-fd JobId 35: Error: lib/bsock.c:305 
gethostbyname() for host "xbacdirector01-lv" failed: ERR=No such host is known. 
    15-Feb 14:43 bacclient-px-fd JobId 35: Fatal error: filed/job.c:2140 Failed 
to connect to Storage daemon: xbacdirector01-lv:9103
    15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: Fatal 
error: Bad response to Storage command: wanted 2000 OK storage
    , got 2902 Bad storage

If I back up a Linux client using the same SD, it works. Does anyone know what 
it means when it says “ERR=No such host is known” and “Fatal error: Bad 
response to Storage command”? I can ping xbacdirector01-lv from the client so 
name resolution shouldn’t be an issue. The SD seems fine since it can back up a 
Linux client.

The Director can also connect fine to the Windows FD:

Connecting to Client bacclient-px-fd at 172.31.160.75:9102

bacclient-px-fd Version: 7.4.4 (28 September 2016)  VSS Linux Cross-compile 
Win64
Daemon started 15-Feb-18 12:45. Jobs: run=0 running=0.
Microsoft Standard Edition (build 9200), 64-bit
 Heap: heap=7,290,880 smbytes=48,605 max_bytes=48,762 bufs=80 max_bufs=105
 Sizes: boffset_t=8 size_t=8 debug=0 trace=1 mode=0,0 bwlimit=0kB/s
 Plugin: alldrives-fd.dll

Running Jobs:
Director connected at: 15-Feb-18 17:23
No Jobs running.


FULL LOG FILE:
    15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: No 
prior Full backup Job record found.
    15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: No 
prior or suitable Full backup found in catalog. Doing FULL backup.
    15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: Start 
Backup JobId 35, Job=BackupWindowsClient-bacclient-px.2018-02-15_14.43.23_03
    15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: Using 
Device "FileChgr1-Dev1" to write.
    15-Feb 14:43 bacclient-px-fd JobId 35: Error: lib/bsock.c:305 
gethostbyname() for host "xbacdirector01-lv" failed: ERR=No such host is known. 
    15-Feb 14:43 bacclient-px-fd JobId 35: Fatal error: filed/job.c:2140 Failed 
to connect to Storage daemon: xbacdirector01-lv:9103
    15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: Fatal 
error: Bad response to Storage command: wanted 2000 OK storage
    , got 2902 Bad storage
    
    15-Feb 14:43 xbacdirector01-lv.internal.shutterfly.com-dir JobId 35: Error: 
Bacula xbacdirector01-lv.internal.shutterfly.com-dir 9.0.6 (20Nov17):
      Build OS:               x86_64-pc-linux-gnu redhat (Core)
      JobId:                  35
      Job:                    
BackupWindowsClient-bacclient-px.2018-02-15_14.43.23_03
      Backup Level:           Full (upgraded from Incremental)
      Client:                 "bacclient-px-fd" 7.4.4 (28Sep16) Microsoft 
Standard Edition (build 9200), 64-bit,Cross-compile,Win64
      FileSet:                "Windows_backup" 2018-02-15 14:42:13
      Pool:                   "File" (From Job resource)
      Catalog:                "MyCatalog" (From Client resource)
      Storage:                "File1" (From Job resource)
      Scheduled time:         15-Feb-2018 14:43:19
      Start time:             15-Feb-2018 14:43:25
      End time:               15-Feb-2018 14:43:27
      Elapsed time:           2 secs
      Priority:               10
      FD Files Written:       0
      SD Files Written:       0
      FD Bytes Written:       0 (0 B)
      SD Bytes Written:       0 (0 B)
      Rate:                   0.0 KB/s
      Software Compression:   None
      Comm Line Compression:  None
      Snapshot/VSS:           yes
      Encryption:             no
      Accurate:               no
      Volume name(s):         
      Volume Session Id:      1
      Volume Session Time:    1518734514
      Last Volume Bytes:      27,160,419,724 (27.16 GB)
      Non-fatal FD errors:    2
      SD Errors:              0
      FD termination status:  Error
      SD termination status:  Waiting on FD
      Termination:            *** Backup Error ***

--Shawn
    
    

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to