I am in exacting the same problem, and after disable TLS PSK on the client, the 
backup does not work.

Now, I have this error:

 Fatal error: Socket error on Storage command: ERR=No data available
 Fatal error: Network error with FD during Backup: ERR=No data available

I have only done modifications on the settings of the (FD) client (both 
myself.cong and bareos-dir.conf on the FileDaemon). I have not touched anything 
on the director server configuration.



On Thursday, 4 October 2018 17:43:39 UTC+2, morgan cox  wrote:
> Just to confirm bareos-dir is on a separate server, running 17.2. My desktop 
> is running 18.2 and only has the client on it.
> 
> 
> On Thursday, 4 October 2018 16:32:18 UTC+1, Jörg Steffens  wrote:
> > On 04.10.2018 at 16:20 wrote morgan cox:
> > > Thank you for the response.
> > > 
> > > I have tried adding 'TLS Psk Enable = no' to the client, where am I meant 
> > > to add it ?
> > > 
> > > I have tried adding it to 
> > > 
> > > /etc/bareos/bareos-fd.conf - in the FileDaemon {    section
> > > 
> > > /etc/bareos/bareos-fd.d/director/bareos-dir.conf - in the  Director {
> > >  section
> > > 
> > > And
> > > 
> > > /etc/bareos/bareos-fd.d/client/myself.conf - in the Client { section
> > >  
> > > And still get the same error.
> > 
> > If you have an /etc/bareos/bareos-fd.conf file, all files under
> > /etc/bareos/bareos-fd.d/ are ignored.
> > 
> > Are both bareos-dir and bareos-sd on 17.2? They have to run the same
> > version.
> > 
> > > 
> > > 
> > > 
> > > On Thursday, 4 October 2018 14:49:34 UTC+1, Jörg Steffens  wrote:
> > >> On 04.10.2018 at 12:15 wrote morgan cox:
> > >>> Hi.
> > >>>
> > >>> Running Ubuntu 18.04 on a bareos client, the server is running 17.2.
> > >>>
> > >>> When I try a backup I see this in the server log
> > >>>
> > >>>
> > >>> ----
> > >>> 04-Oct 11:09 morgan-N552VW-fd JobId 6277: Error: 
> > >>> lib/crypto_openssl.cc:1565 TLS shutdown failure.: 
> > >>> ERR=error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
> > >>> 04-Oct 11:09 morgan-N552VW-fd JobId 6277: Fatal error: TLS negotiation 
> > >>> failed.
> > >>> 04-Oct 11:09 bareos-dir JobId 6277: Fatal error: Bad response to 
> > >>> Storage command: wanted 2000 OK storage
> > >>> , got 2902 Bad storage
> > >>> ----
> > >>>
> > >>> Assuming it is not I wanted to compile the latest 17.2 branch from git ?
> > >>>
> > >>> I have cloned the repo, checkout the 17.2 branch - done at  - 
> > >>> ./configure --enable-traymonitor  --enable-client-only ;  make 
> > >>>
> > >>> How do I build the deb package (are there any docs on building ?)
> > >>
> > >> http://doc.bareos.org/master/html/generaldevel.html#compiling describes
> > >> compiling on Debian.
> > >>
> > >> Bareos 18.2 uses TLS PSK by default. While it is possible to connect
> > >> without changes from an older bareos-fd to an 18.2 bareos-dir, you need
> > >> to disable it for connecting an bareos-fd 18.2 to an older bareos-dir.
> > >>
> > >> Set
> > >> http://doc.bareos.org/master/html/bareos-manual-main-reference.html#directiveFdDirectorTLS%20Psk%20Enable
> > >> to "no"
> > >>
> > >> -- 
> > >>  Jörg Steffens                   [email protected]
> > >>  Bareos GmbH & Co. KG            Phone: +49 221 630693-91
> > >>  http://www.bareos.com           Fax:   +49 221 630693-10
> > >>
> > >>  Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
> > >>  Komplementär: Bareos Verwaltungs-GmbH
> > >>  Geschäftsführer:
> > >>  S. Dühr, M. Außendorf, Jörg Steffens, P. Storz
> > > 
> > 
> > 
> > -- 
> >  Jörg Steffens                   [email protected]
> >  Bareos GmbH & Co. KG            Phone: +49 221 630693-91
> >  http://www.bareos.com           Fax:   +49 221 630693-10
> > 
> >  Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
> >  Komplementär: Bareos Verwaltungs-GmbH
> >  Geschäftsführer:
> >  S. Dühr, M. Außendorf, Jörg 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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to