Bacula-users

Re: [Bacula-users] Connection error

2017-07-21 11:39:22
Subject: Re: [Bacula-users] Connection error
From: Kern Sibbald <kern AT sibbald DOT com>
To: Andreas Theofilu / Sikom - Essra GmbH <andreas.theofilu AT sikom-essra DOT at>, "Bacula-users AT lists.sourceforge DOT net" <Bacula-users AT lists.sourceforge DOT net>
Date: Fri, 21 Jul 2017 17:37:47 +0200

Hello,

The problem is not with the line marked in red.  The problem is clearly shown on the first "warning" message from the FD (3rd line of output).

You can turn on a debug level of say 500 in the storage daemon and run it in the foreground, then capture the output.  If you do not see the FD attempting to connect, then you have a problem of connectivity in your network (e.g. a firewall, bad switch, Windows ...).

stop the SD

then run it:

cd <path to sd>
./bacula-sd -d200 -sf

Then run the job for lion-fd, and see if it can reach the SD.  If so, you should see why the SD is rejecting it.  If not, you need to fix your network.

Best regards,
Kern

On 07/21/2017 12:40 PM, Andreas Theofilu / Sikom - Essra GmbH wrote:
Hi,

I've here a Bacula server running on  Ubuntu server 17.04. This server backup several other machines on the network, where some of them are Windows machines. This worked well until a few days ago one of the Windows machines have permanent connection errors to the director. I get the following error (Look at the red marked line!):

20-Jul 23:05 mufasa-dir JobId 625: Start Backup JobId 625, Job=lion.2017-07-20_23.05.00_28
20-Jul 23:05 mufasa-dir JobId 625: Using Device "FileStorageLion" to write.
20-Jul 23:05 lion-fd JobId 625: Warning: lib/bsock.c:223 Could not connect to Storage daemon on mufasa.homecomfort.at:9103. ERR=Der Vorgang wurde erfolgreich beendet.

Retrying ...
20-Jul 23:21 lion-fd JobId 625: Warning: lib/bsock.c:223 Could not connect to Storage daemon on mufasa.homecomfort.at:9103. ERR=Der Vorgang wurde erfolgreich beendet.

Retrying ...
20-Jul 23:35 lion-fd JobId 625: Fatal error: lib/bsock.c:229 Unable to connect to Storage daemon on mufasa.homecomfort.at:9103. ERR=Der Vorgang wurde erfolgreich beendet.

20-Jul 23:35 lion-fd JobId 625: Fatal error: filed/job.c:2140 Failed to connect to Storage daemon: mufasa.homecomfort.at:9103
20-Jul 23:35 mufasa-dir JobId 625: Fatal error: Bad response to Storage command: wanted 2000 OK storage
, got 2902 Bad storage


20-Jul 23:35 mufasa-dir JobId 625: Error: Bacula mufasa-dir 7.4.4 (202Sep16):
  Build OS:               x86_64-pc-linux-gnu ubuntu 17.04
  JobId:                  625
  Job:                    lion.2017-07-20_23.05.00_28
  Backup Level:           Incremental, since=2017-07-09 23:05:02
  Client:                 "lion-fd" 7.4.4 (28Sep16) Microsoft Standard Edition (build 9200), 64-bit,Cross-compile,Win64
  FileSet:                "Lion Full Set" 2017-05-27 23:05:00
  Pool:                   "Lion" (From Job resource)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "FileLion" (From Job resource)
  Scheduled time:         20-Jul-2017 23:05:00
  Start time:             20-Jul-2017 23:05:02
  End time:               20-Jul-2017 23:35:03
  Elapsed time:           30 mins 1 sec
  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
  Snapshot/VSS:           yes
  Encryption:             no
  Accurate:               no
  Volume name(s):         
  Volume Session Id:      213
  Volume Session Time:    1498489748
  Last Volume Bytes:      28,140,438,693 (28.14 GB)
  Non-fatal FD errors:    2
  SD Errors:              0
  FD termination status:  Error
  SD termination status:  Waiting on FD
  Termination:            *** Backup Error ***

The machines can see each other. On the Windows machine the firewall is currently disabled, and on the Linux machine I'm sure the ports are open, because all other machines have no problems. Beside that it seems, that the Windows machine starts the backup and is working for a while.

What could be the problem? What can I try?

A.T.



------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>

ADSM.ORG Privacy and Data Security by https://kimlaw.us