Connection error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Connection error

Andreas Theofilu / Sikom - Essra GmbH
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Connection error

Kern Sibbald

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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Connection error

Jose Alberto
In reply to this post by Andreas Theofilu / Sikom - Essra GmbH
I view:  

SD termination status:  Waiting on FD

Your client Bacula-FD   test ping or connect with DNS  a  mufasa.homecomfort.at


in bacula-fd   test ping    mufasa.homecomfort.at


add  mufasa.homecomfort.at on hosts file of your client. 





On Fri, Jul 21, 2017 at 6:40 AM, Andreas Theofilu / Sikom - Essra GmbH <[hidden email]> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users




--
#############################
#   Sistema Operativo: Debian      #
#        Caracas, Venezuela          #
#############################

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Connection error

Wanderlei Huttel
It looks you server  mufasa.homecomfort.at is not accepting incoming packages from port 9103, you can try the command below to test:
telnet  mufasa.homecomfort.at 9103

Should be return something like this:

Trying mufasa.homecomfort.at...
Connected to mufasa.homecomfort.at.
Escape character is '^]'.
^CConnection closed by foreign host.


Best Regards

Wanderlei Hüttel

2017-07-21 13:37 GMT-03:00 Jose Alberto <[hidden email]>:
I view:  

SD termination status:  Waiting on FD

Your client Bacula-FD   test ping or connect with DNS  a  mufasa.homecomfort.at


in bacula-fd   test ping    mufasa.homecomfort.at


add  mufasa.homecomfort.at on hosts file of your client. 





On Fri, Jul 21, 2017 at 6:40 AM, Andreas Theofilu / Sikom - Essra GmbH <[hidden email]> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users




--
#############################
#   Sistema Operativo: Debian      #
#        Caracas, Venezuela          #
#############################

------------------------------------------------------------------------------
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Loading...