Re: [Bacula-users] TLS error
2008-04-23 08:10:19
On Wednesday 23 April 2008 13:42:12 Adrián Ribao Martínez wrote:
> El Miércoles, 23 de Abril de 2008, Thomas Mueller escribió:
> > Adrián Ribao Martínez schrieb:
> > > Hello, I'm using bacula 2.2.8 under debian testing.
> > > I have set up TLS connections for bacula, it's not the first time I do
> > > it, but this time I get an error. I think everything is ok, I have
> > > checked everything many times, and I created the certificates several
> > > times as well.
> > >
> > > The error I get is:
> > >
> > > Fatal error: Failed to initialize TLS context for Director
> >
> > do you use the official debian packages?
> >
> > since a while bacula isn't compiled with ssl support because of a
> > licensing issue.
> >
> > - Thomas
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > Don't miss this year's exciting event. There's still time to save $100.
> > Use priority code J8TL2D2.
> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/ja
> >va one _______________________________________________
> > Bacula-users mailing list
> > Bacula-users AT lists.sourceforge DOT net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> Ok that's the problem. I used the debian packages with bacula 2.0 and
> everything worked ok.
> What is the problem with bacula and ssl? Can I find some information about
> that anywhere? What can I do?
> Thank you.
1. Get all build dependencies
apt-get build-dep bacula-common bacula-console bacula-director-common
bacula-director-mysql bacula-fd bacula-sd bacula-sd-mysql
2. Get the sources
a. via apt-get source bacula-common bacula-console bacula-director-common
bacula-director-mysql bacula-fd bacula-sd bacula-sd-mysql
b. Get them from bacula.org
3. SSL/TLS Support (debian/rules)
TLS has been disabled due to licence problems. To build your own Package with
tls,
edit the debian/rules and add --with-openssl to the configure parameters
CONF_ALL ... --with-openssl ...
4. SQL Variant (debian/rules)
...
DEFAULTVARIANT := mysql
But it seems that every varian (sqlite, sqlite3 mysql pgsql) will be created
5. bat (QT GUI)
CONF_common
= --disable-gnome --enable-bwx-console --enable-tray-monitor --enable-bat
6. cd to the bacula-source directory and do
dpkg-buildpackage
7. Install
cd ..
dpkg -i bacula-common_2.2.5-1ubuntu1_all.deb
dpkg -i bacula-console_2.2.5-1ubuntu1_i386.deb
dpkg -i bacula-console-qt_2.2.5-1ubuntu1_i386.deb
dpkg -i bacula-director-common_2.2.5-1ubuntu1_i386.deb
dpkg -i bacula-director-mysql_2.2.5-1ubuntu1_i386.deb
dpkg -i bacula-fd_2.2.5-1ubuntu1_i386.deb
dpkg -i bacula-sd_2.2.5-1ubuntu1_i386.deb
dpkg -i bacula-sd-mysql_2.2.5-1ubuntu1_i386.deb
----------------------------------------------------------------------------------------
Manually Compile Bacula:
./configure --prefix=/usr --sysconfdir=/etc/bacula
--with-scriptdir=/etc/bacula/scripts
--sharedstatedir=/var/lib/bacula --localstatedir=/var/lib/bacula
--with-pid-dir=/var/run/bacula
--with-smtp-host=localhost --with-working-dir=/var/lib/bacula
--with-subsys-dir=/var/lock
--mandir=/usr/share/man --enable-smartalloc --with-openssl --with-python
--with-tcp-wrappers
--with-libiconv-prefix=/usr/include --with-readline=yes
--with-libintl-prefix=/usr/include
--with-x --disable-gnome --enable-bwx-console --enable-tray-monitor
--enable-bat --with-mysql
--without-sqlite --without-postgresql --without-sqlite3
make
make install
chown bacula.bacula /etc/bacula/scripts/*
Joern
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|