Please check if name and password of your client matches in either
configuration.
See these log entries, they show that the TLS-PSK cannot be found in the
configuration:
bareos-dir (100): lib/tls_openssl_private.cc:401-0 psk_server_cb. identitiy:
R_CLIENT Philippe2-fd.
bareos-dir (100): lib/tls_openssl_private.cc:422-0 Error, TLS-PSK credentials
not found.
Am 24.02.2019 um 12:47 schrieb animateurs.citoy...@gmail.com:
I setup a laptop with a fix address with non problem.
When I modify its config to "Client Initiated Connection" bareos director
cannot connect to it anymore.
Any advice ?
director host config change) : /etc/bareos/bareos-dir.d/client/philippe2-fd.conf
Client {
...
# Passive = yes # non effect
Connection From Client To Director = yes
Connection From Director To Client = no
Heartbeat Interval = 60 # to keep the network
connection established
}
client host config change) /etc/bareos/bareos-fd.d/director/bareos-dir.conf
Director {
...
Address = 192.168.0.225
Connection From Client To Director = yes
Connection From Director To Client = no
}
debug output)
bconsole : setdebug level=200 trace=1
/var/lib/bareos/bareos-dir.trace
bareos-dir (10): dird/ua_audit.cc:146-0 : Console [default] from [127.0.0.1]
cmdline status client=philippe2-fd
bareos-dir (20): dird/ua_status.cc:171-0 status:status client=philippe2-fd:
bareos-dir (120): lib/connection_pool.cc:271-0 waiting for connection from
client philippe2-fd. Timeout: 0s.
bareos-dir (120): lib/connection_pool.cc:219-0 waiting for new connections.
bareos-dir (120): lib/connection_pool.cc:240-0 timeout.
bareos-dir (120): lib/connection_pool.cc:222-0 timeout while waiting for new
connections.
bareos-dir (120): dird/fd_cmds.cc:132-0 connecting to client "philippe2-fd" is
not allowed.
bareos-dir (120): lib/connection_pool.cc:271-0 waiting for connection from
client philippe2-fd. Timeout: 15s.
bareos-dir (120): lib/connection_pool.cc:219-0 waiting for new connections.
bareos-dir (200): dird/stats.cc:149-0 statistics_thread: Doing work at
1551006388
bareos-dir (200): dird/stats.cc:153-0 statistics_thread: do nothing as no jobs
are running
bareos-dir (120): lib/connection_pool.cc:240-0 timeout.
bareos-dir (120): lib/connection_pool.cc:222-0 timeout while waiting for new
connections.
bareos-dir (100): lib/bsock.cc:81-0 Construct BareosSocket
bareos-dir (100): include/jcr.h:320-0 Construct JobControlRecord
bareos-dir (100): lib/tls_openssl_private.cc:57-0 Construct TlsOpenSslPrivate
bareos-dir (100): lib/tls_openssl_private.cc:536-0 Set tcp filedescriptor: <11>
bareos-dir (100): lib/tls_openssl_private.cc:482-0 Set ca_certfile: <>
bareos-dir (100): lib/tls_openssl_private.cc:488-0 Set ca_certdir: <>
bareos-dir (100): lib/tls_openssl_private.cc:494-0 Set crlfile_: <>
bareos-dir (100): lib/tls_openssl_private.cc:500-0 Set certfile_: <>
bareos-dir (100): lib/tls_openssl_private.cc:506-0 Set keyfile_: <>
bareos-dir (100): lib/tls_openssl_private.cc:518-0 Set pem_userdata to address:
<0>
bareos-dir (100): lib/tls_openssl_private.cc:524-0 Set dhfile_: <>
bareos-dir (100): lib/tls_openssl_private.cc:542-0 Set cipherlist: <>
bareos-dir (100): lib/tls_openssl_private.cc:530-0 Set Verify Peer: <false>
bareos-dir (50): lib/tls_openssl.cc:100-0 Preparing TLS_PSK SERVER callback
bareos-dir (100): lib/tls_openssl_private.cc:401-0 psk_server_cb. identitiy:
R_CLIENT Philippe2-fd.
bareos-dir (100): lib/tls_openssl_private.cc:422-0 Error, TLS-PSK credentials
not found.
bareos-dir (50): lib/crypto_openssl.cc:1564-0 jcr=0 Connect failure:
ERR=error:1419E0DF:SSL routines:tls_process_cke_psk_preamble:psk identity not
found
bareos-dir (50): lib/crypto_openssl.cc:1564-0 jcr=0 TLS shutdown failure.:
ERR=error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
bareos-dir (100): lib/tls_openssl.cc:71-0 Destruct TLsOpenSsl Implementation
Object
bareos-dir (100): lib/tls_openssl_private.cc:62-0 Destruct TlsOpenSslPrivate
bareos-dir (50): lib/bsock.cc:554-0 TLS negotiation failed.
bareos-dir (100): lib/bsock.cc:129-0 Destruct BareosSocket
bareos-dir (100): include/jcr.h:324-0 Destruct JobControlRecord
bareos-dir (200): dird/scheduler.cc:331-0 enter find_runs()
bareos-dir (200): dird/scheduler.cc:347-0 now = 5c727ad2: h=12 m=1 md=23 wd=0
wom=3 woy=8 yday=54
bareos-dir (200): dird/scheduler.cc:367-0 nh = 5c7288e2: h=13 m=1 md=23 wd=0
wom=3 woy=8 yday=54
bareos-dir (200): dird/scheduler.cc:384-0 Got job: partage-job1
bareos-dir (200): dird/scheduler.cc:429-0 run@55f9f5e1fd88: run_now=0 run_nh=0
bareos-dir (200): dird/scheduler.cc:429-0 run@55f9f5e1ff38: run_now=0 run_nh=0
bareos-dir (200): dird/scheduler.cc:429-0 run@55f9f5e200e8: run_now=0 run_nh=0
bareos-dir (200): dird/scheduler.cc:384-0 Got job: es1-job1
bareos-dir (200): dird/scheduler.cc:429-0 run@55f9f5e1fd88: run_now=0 run_nh=0
bareos-dir (200): dird/scheduler.cc:429-0 run@55f9f5e1ff38: run_now=0 run_nh=0
bareos-dir (200): dird/scheduler.cc:429-0 run@55f9f5e200e8: run_now=0 run_nh=0
bareos-dir (200): dird/scheduler.cc:384-0 Got job: BackupCatalog
bareos-dir (200): dird/scheduler.cc:429-0 run@55f9f5e3a8a8: run_now=0 run_nh=0
bareos-dir (200): dird/scheduler.cc:384-0 Got job: backup-bareos-fd
bareos-dir (200): dird/scheduler.cc:429-0 run@55f9f5e1fd88: run_now=0 run_nh=0
bareos-dir (200): dird/scheduler.cc:429-0 run@55f9f5e1ff38: run_now=0 run_nh=0
bareos-dir (200): dird/scheduler.cc:429-0 run@55f9f5e200e8: run_now=0 run_nh=0
bareos-dir (200): dird/scheduler.cc:450-0 Leave find_runs()
--
Mit freundlichen Grüßen
Frank Ueberschar frank.uebersc...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221 63 06 93-88
http://www.bareos.com Fax: +49 221 63 06 93-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens, P. Storz
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.