Network error with FD during Backup: ERR=Operation timed out andNetwork error during CRAM MD5 ERROR

1,242 views
Skip to first unread message

Alexandra Stark

unread,
Apr 19, 2021, 12:41:18 PM4/19/21
to bareos-users
Hi, 
I need your help!
I have installed bareos on a linux server, until now the backup went through once, but now I get the following error message:

19-Apr 18:08 bareos-dir JobId 280: Fatal error: Network error during CRAM MD5 with 10.128.0.68
19-Apr 18:08 bareos-dir JobId 280: Fatal error: Unable to authenticate with File daemon at "10.128.0.68:9102"
19-Apr 18:08 bareos-dir JobId 280: Fatal error: Network error with FD during Backup: ERR=Operation timed out

or: 
Fatal error: Network error with FD during Backup: ERR=Operation timed out
19-Apr 18:15 bareos-dir JobId 281: Fatal error: No Job status returned from FD.


Here are my configs:
bareos-dir/client:
Client {
 Name = slcocp01-fd
 Address = 10.128.0.68
 TLS Enable = no
 Password = "test"  
 Auto Prune = yes
 Passive = yes
}
Bareos-FD on the Client-Machine
Director {
 Name = bareos-dir
 Password = "[md5]098f6bcd4621d373cade4e832627b4f6"
 #Password = "test"
 Description = "Allow the configured Director to access this file daemon."
 TLS Enable = no
}
and 

bareos-fd -d 200 -f      
bareos-fd (100): lib/parse_conf.cc:210-0 config file = /etc/bareos/bareos-fd.d/*/*.conf
bareos-fd (100): lib/lex.cc:330-0 glob /etc/bareos/bareos-fd.d/*/*.conf: 4 files
bareos-fd (100): lib/lex.cc:223-0 open config file: /etc/bareos/bareos-fd.d/client/myself.conf
bareos-fd (100): lib/lex.cc:223-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-dir.conf
bareos-fd (100): lib/lex.cc:223-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-mon.conf
bareos-fd (100): lib/lex.cc:223-0 open config file: /etc/bareos/bareos-fd.d/messages/Standard.conf
bareos-fd (100): lib/lex.cc:330-0 glob /etc/bareos/bareos-fd.d/*/*.conf: 4 files
bareos-fd (100): lib/lex.cc:223-0 open config file: /etc/bareos/bareos-fd.d/client/myself.conf
bareos-fd (100): lib/lex.cc:223-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-dir.conf
bareos-fd (100): lib/lex.cc:223-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-mon.conf
bareos-fd (100): lib/lex.cc:223-0 open config file: /etc/bareos/bareos-fd.d/messages/Standard.conf
slcocp01-fd (100): lib/bsys.cc:576-0 ReadStateFile seek to 192
slcocp01-fd (100): lib/recent_job_results_list.cc:57-0 Read num_items=4
slcocp01-fd (150): filed/fd_plugins.cc:1734-0 plugin dir is NULL
slcocp01-fd (10): filed/socket_server.cc:128-0 filed: listening on port 9102
slcocp01-fd (100): lib/bnet_server_tcp.cc:159-0 Addresses host[ipv4;0.0.0.0;9102]  
slcocp01-fd (100): lib/bsock.cc:84-0 Construct BareosSocket
slcocp01-fd (200): lib/bsock.cc:742-0 Identified from Bareos handshake: bareos-dir-R_DIRECTOR version not recognized
slcocp01-fd (200): lib/try_tls_handshake_as_a_server.cc:61-0 TlsPolicy for bareos-dir is 0
slcocp01-fd (110): filed/socket_server.cc:82-0 Conn: Hello Director bareos-dir calling

slcocp01-fd (110): filed/socket_server.cc:89-0 Got a DIR connection at 19-Apr-2021 18:18:08
slcocp01-fd (100): lib/jcr.cc:195-0 Construct JobControlRecord
slcocp01-fd (120): filed/dir_cmd.cc:599-0 Calling Authenticate
slcocp01-fd (50): lib/cram_md5.cc:105-0 send: auth cram-md5 <567187415.1618849088@R_CLIENT::slcocp01-fd> ssl=0
slcocp01-fd (100): lib/cram_md5.cc:166-0 cram-get received: auth cram-md5 <1105732201.1618848825@R_DIRECTOR::bareos-
dir> ssl=0
slcocp01-fd (50): lib/cram_md5.cc:60-0 my_name: <R_CLIENT::slcocp01-fd> - challenge_name: <R_DIRECTOR::bareos-dir>
slcocp01-fd (99): lib/cram_md5.cc:231-0 sending resp to challenge: j9k8q1/2ehZpdElPPy+/cA
slcocp01-fd (120): filed/dir_cmd.cc:600-0 OK Authenticate
slcocp01-fd (100): filed/dir_cmd.cc:462-0 <dird: JobId=281 Job=slcocp01-diff-job.2021-04-19_18.13.43_26 SDid=2 SDtim
e=1618848124 Authorization=LCLI-NLPF-PDDE-DIBF-JPIK-KANP-INOG-LCBP

slcocp01-fd (100): filed/dir_cmd.cc:473-0 Executing JobId= command.
slcocp01-fd (5): filed/dir_cmd.cc:1623-281 set sd auth key
slcocp01-fd (5): filed/dir_cmd.cc:1626-281 set sd ssl_policy to 0
slcocp01-fd (120): filed/dir_cmd.cc:993-281 JobId=281 Auth=LCLI-NLPF-PDDE-DIBF-JPIK-KANP-INOG-LCBP TlsPolicy=0
slcocp01-fd (150): filed/fd_plugins.cc:1867-281 plugin list is NULL
slcocp01-fd (150): filed/fd_plugins.cc:376-281 No bplugin_list: GeneratePluginEvent ignored.
slcocp01-fd (100): filed/dir_cmd.cc:462-281 <dird: level = differential  mtime_only=0  

slcocp01-fd (100): filed/dir_cmd.cc:473-281 Executing level =  command.
slcocp01-fd (10): filed/dir_cmd.cc:1447-281 LevelCmd: level = differential  mtime_only=0  
slcocp01-fd (100): filed/dir_cmd.cc:462-281 <dird: level = since_utime 1618574932 mtime_only=0 prev_job=slcocp01-dif
f-job.2021-04-16_14.08.50_29

slcocp01-fd (100): filed/dir_cmd.cc:473-281 Executing level =  command.
slcocp01-fd (10): filed/dir_cmd.cc:1447-281 LevelCmd: level = since_utime 1618574932 mtime_only=0 prev_job=slcocp01-
diff-job.2021-04-16_14.08.50_29
slcocp01-fd (100): filed/dir_cmd.cc:1499-281 since_time=1618574932 prev_job=slcocp01-diff-job.2021-04-16_14.08.50_29

slcocp01-fd (100): filed/dir_cmd.cc:476-281 Quit command loop. Canceled=1
slcocp01-fd (200): lib/runscript.cc:117-281 runscript: running all RunScript object (ClientAfterJob) JobStatus=f
slcocp01-fd (110): filed/dir_cmd.cc:512-281 End FD msg:  
slcocp01-fd (150): filed/fd_plugins.cc:376-281 No bplugin_list: GeneratePluginEvent ignored.
slcocp01-fd (100): lib/bsock.cc:136-281 Destruct BareosSocket
slcocp01-fd (100): lib/bsys.cc:627-281 write_last_jobs seek to 192
slcocp01-fd (100): lib/jcr.cc:278-281 FreeCommonJcr: 7f0404000d40  
slcocp01-fd (100): filed/dir_cmd.cc:533-0 Done with FreeJcr


I don't know what to do, I'm sure it's not the firewall because I'm already doing backups from other servers in this environment without any problems (windows).

Thanks in advance!

Kr Alexandra Stark

Jeff B

unread,
Dec 10, 2021, 4:43:13 PM12/10/21
to bareos-users
Hi Alexandra,

I had a similar error and was able to resolve  it by commenting out the TLS Enable option in the director and client.

My director was running Bareos 20.0.1 on Centos 7 and my client was running Bareos 20.0.1 on Ubuntu 18.04.6 LTS.

Hope this helps.

Take care and God Bless,

Jeff

Reply all
Reply to author
Forward
0 new messages