Bacula-users

Re: [Bacula-users] TLS required but not configured in Bacula.

2016-02-03 11:18:55
Subject: Re: [Bacula-users] TLS required but not configured in Bacula.
From: Alex Domoradov <alex.hha AT gmail DOT com>
To: Hector Javier Agudelo Corredor <hejaco AT gmail DOT com>
Date: Wed, 3 Feb 2016 18:13:01 +0200
Should be something like the following
...
checking for libwrap... yes
checking for OpenSSL... yes
checking for EVP_PKEY_encrypt_old in -lcrypto... yes
checking for library containing dlopen... (cached) -ldl
checking for PostgreSQL support... yes
checking for crypt... no
checking for crypt in -lcrypt... yes
...

# ldd /opt/bacula-7.4.0/sbin/bacula-dir | grep ssl
        libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f88bbfc7000)
        libssl3.so => /usr/lib64/libssl3.so (0x00007f88b8dcd000)

# ldd /opt/bacula-7.4.0/sbin/bacula-sd | grep ssl
        libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fc4453e7000)

# ldd /opt/bacula-7.4.0/sbin/bacula-fd | grep ssl
        libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fcd6de5d000)

On Wed, Feb 3, 2016 at 4:56 PM, Hector Javier Agudelo Corredor <hejaco AT gmail DOT com> wrote:
hi Ana

I did the steps you provided me however in the summary does not show me the active support TLS. is nomal?

Configuration on Sat Jan 30 14:47:32 COT 2016:

   Host:                     x86_64-unknown-linux-gnu -- redhat
   Bacula version:           Bacula 7.2.0 (14 August 2015)
   Source code location:     .
   Install binaries:         /sbin
   Install libraries:        /usr/lib64
   Install config files:     /etc/bacula
   Scripts directory:        /etc/bacula
   Archive directory:        /tmp
   Working directory:        /opt/bacula/working
   PID directory:            /var/run
   Subsys directory:         /var/lock/subsys
   Man directory:            ${datarootdir}/man
   Data directory:           /usr/share
   Plugin directory:         /usr/lib64
   C Compiler:               gcc 4.4.7
   C++ Compiler:             /usr/bin/g++ 4.4.7
   Compiler flags:            -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti
   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:            bacula
   Database user:            bacula

   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
   Bacula conio support:     no
   readline support:         no
   TCP Wrappers support:     no
   TLS support:              no
   Encryption support:       no
   ZLIB support:             yes
   LZO support:              no
   enable-smartalloc:        yes
   enable-lockmgr:           no
   bat support:              no
   client-only:              no
   build-dird:               yes
   build-stored:             yes
   Plugin support:           yes
   AFS support:              no
   ACL support:              no
   XATTR support:            yes
   systemd support:          no
   Batch insert enabled:     MySQL

2016-02-02 16:57 GMT-05:00 Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>:
Hello Hector,

You can run ./configure --with-openssl (and all your previously options) for enabling SSL support (then make and make install). This will not modify or delete your conf files and catalog database.

Best regards,
Ana

On Tue, Feb 2, 2016 at 10:19 PM, Hector Javier Agudelo Corredor <hejaco AT gmail DOT com> wrote:
hi.

bacula already had installed 7.2, 9.3.9 and MySQL 7.0 webacula. But when I was setting my certificates for TLS I went the following error;

[root @ bacula74mysql bacula-7.2.0] # sudo bacula-dir -tc /etc/bacula/bacula-dir.conf
29-Jan 20:47 bacula-dir JobId 0: Fatal error: TLS required but not configured in Bacula.

I want to know if i can do without having to install bacula . or touch again compile ./configure --with-mysql --with-openssl

I appreciate your help.

--
HECTOR

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users





--
HECTOR

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users