If I remember correctly bareos need to be compiled with openssl . Not sure it 
could work with gnu-tls.
 

À dim. août 14 11:16:03 2016 GMT+0200, 'Tilman Glotzner' via bareos-users a 
écrit :
> Dear all 
> 
> I have just installed ubuntu 16.04. 
> 
> A) As there is no released package available, I tried the experimental 
> nightly build. That did not work, I am getting an error message: 
> bareos-dir ABORTING due to ERROR
> Unable to load any shared library for libbareoscats-mysql.so
> 
> B) I then compiled 15.2.4 from source. 
> Given that TLS Enable = yes and TLS Require = no in the configuration file, I 
> am getting an error message:
> 4-Aug 11:03 bareos-dir JobId 0: Fatal error: Failed to initialize TLS context 
> for Director "bareos-dir" in /etc/bareos/bareos-dir.conf
> 
> If I set TLS Enable = yes and TLS Require = yes, I get the error message:
> 14-Aug 11:06 bareos-dir JobId 0: Fatal error: TLS required but not configured 
> in BAREOS.
> 
> I then checked the configure log in config.out. Openssl is not configured to 
> be supported. I installed gnu-tls, but the state for gnu-tls seems not to be 
> defined (as it is blank in configure log). I would guess the error messages 
> try to tell me that I need to compile TLS support into baroes. What options 
> do I need to add to the configure script to get tls support ?
> 
> Many thanks
> 
> Tilman
> 
> ============
> 
> Configuration on Sun Aug 14 10:44:10 CEST 2016:
> 
>    Host:                         i686-pc-linux-gnu -- ubuntu Ubuntu 16.04.1 
> LTS
>    Bareos version:               Bareos 15.2.4 (09 June 2016)
>    Distribution:                 ubuntu
>    Source code location:         .
>    Modify package list:          
>    Install binaries:             /bin
>    Install system binaries:      /sbin
>    Install libraries:            /usr/lib
>    Install system config files:  /etc
>    Install Bareos config files:  /etc/bareos/
>    Scripts directory:            /etc/bareos/
>    Archive directory:            /tmp
>    Working directory:            /var/bareos/working
>    PID directory:                /var/run
>    Subsys directory:             /var/lock/subsys
>    Man directory:                ${datarootdir}/man
>    Data directory:               /usr/share
>    Backend directory:            /usr/lib
>    Plugin directory:             /usr/lib
>    C Compiler:                   gcc 5.4.0-6ubuntu1~16.04.2)
>    C++ Compiler:                 /usr/bin/g++ 5.4.0-6ubuntu1~16.04.2)
>    Compiler flags:                -g -O2 -Wall -fno-strict-aliasing 
> -fno-exceptions
>    Linker flags:                  
>    Libraries:                    -lpthread -ldl -ldl 
>    Statically Linked Tools:      no
>    Statically Linked FD:         no
>    Statically Linked SD:         no
>    Statically Linked DIR:        no
>  Statically Linked CONS:       no
>    Database backends:            MySQL
>    Database port:                 
>    Database name:                bareos
>    Database user:                bareos
>    Database version:             2004
> 
>    Job Output Email:             root@localhost
>    Traceback Email:              root@localhost
>    SMTP Host Address:            localhost
> 
>    Director Port:                9101
>    File daemon Port:             9102
>    Storage daemon Port:          9103
> 
>    Director User:                
>    Director Group:               
>    Storage Daemon User:          
>    Storage DaemonGroup:          
>    File Daemon User:             
>    File Daemon Group:            
> 
>    Large file support:           yes
>    Bareos conio support:         no 
>    readline support:             no
>    TCP Wrappers support:         no 
>    TLS support:                  no
>    Encryption support:           no
>    OpenSSL support:              no
>    GNUTLS support:               
>    ZLIB support:                 yes
>    LZO support:                  no
>    FASTLZ support:               no
>    JANSSON support:              no
>    LMDB support:                 no
>    NDMP support:                 yes
>    enable-smartalloc:            yes
>    enable-lockmgr:               no
>    bat support:                  no
>    tray-monitor support:         no
>    client-only:                  no
>    build-dird:                   yes
>    build-stored:                 yes
>    Plugin support:               yes
>    AFS support:                  no
>    ACL support:                  no
>    XATTR support:                yes
>    SCSI Crypto support:          no
>    GLUSTERFS support:            no
>    DROPLET support:              no
>    CEPH RADOS support:           no
>    RADOS striping support:       no
>    CEPHFS support:               no
>    ELASTO support:               no
>    Python support:               no 
>    systemd support:              yes /lib/systemd/system
>    Batch insert enabled:         MySQL
>    cmocka support:               no
> 
> 
> 
> -- 
> 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.
>

-- 
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.

Reply via email to