Hello Maxime, I'm sorry but check_bacula is not able to run with TLS enabled. I planned to do this, but as usual... there's no time...
christian -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: Maxime [mailto:maxime.charpe...@univ-avignon.fr] > Sent: Tuesday, February 10, 2009 2:29 PM > To: bacula-users@lists.sourceforge.net > Subject: [Bacula-users] check_bacula: compiling issue > > Hi again, > > I use bacula 2.4.4 on debian (etch and sarge) and it works > fine. I still > want to monitor bacula with hobbit. I've found in > examples/nagios that > we can perform handshake with daemon to make sure they're OK. > This can > be done with check_bacula program. > I use TLS support and I compiled Bacula with following options : > > ./configure --prefix=/usr/local/stow/bacula-2.4.4 --enable-smartalloc > --with-smtp-host=univ-avignon.fr --with-readline --with-openssl > --with-gzip --with-acl --with-mysql > > When I try to compile check_bacula, I have a lots of error > with X509 like: > hobbit01c:~/bacula-2.4.4/src/check_bacula# make > /usr/bin/g++ -O -L../lib -L../cats -o check_bacula check_bacula.o > authenticate.o \ > -lbac -lm -lpthread -ldl > ../lib/libbac.a(tls.o)(.text+0x34): In function `openssl_verify_peer': > /root/bacula-2.4.4/src/lib/tls.c:84: undefined reference to > `X509_STORE_CTX_get_current_cert' > ../lib/libbac.a(tls.o)(.text+0x3e):/root/bacula-2.4.4/src/lib/ > tls.c:85: > undefined reference to `X509_STORE_CTX_get_error_depth' > (...) > Everything concerns ../lib/libbac.a (tls.o, crypto.o and openssl.o) > > > Am I doing something wrong or should I open a report? > > > Thanks > -- > Maxime CHARPENNE > Université d'Avignon et des Pays de Vaucluse - CRI > Tél. : +33 4 90 16 26 05 > > -------------------------------------------------------------- > ---------------- > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing > skills and code to > build responsive, highly engaging applications that combine > the power of local > resources and data with the reach of the web. Download the > Adobe AIR SDK and > Ajax docs to start building applications > today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users