Hello, On 3/5/2007 10:44 PM, DAve wrote: > We are still fighting with Windows Fd connection issues. I would like to > use the check_bacula plugin to monitor my Fds. Either nagios will keep > the client firewall open, or prove the issue is not Bacula (to my senior > sysadmin).
Hmm... but a connection closing problem would not be solved by this, I think. A router usually tracks the TCP connection, and thus your monitoring connection would not affect the FD connection issues with the DIR or SD. > I had lots of problems building at first but found most of the solution > in the archives. I followed the instructions from this thread, > > http://article.gmane.org/gmane.comp.bacula.user/26619/match=check+bacula > http://article.gmane.org/gmane.comp.bacula.user/27144/match=check+bacula Oh god... that one really is difficult. I would really like to see Christian working on the source, and someone - at least not me - on the build system :-o > check_bacula nearly compiles but fails with the following error, > > ==>Entering directory /usr/local/src/bacula-2.0.1/src/check_bacula > /usr/bin/g++ -c -I/usr/local/include -fno-strict-aliasing > -fno-exceptions -fno-rtti -I. -I.. -g -O2 -Wall -fno-strict-aliasing > -fno-exceptions -fno-rtti check_bacula.c > /usr/bin/g++ -c -I/usr/local/include -fno-strict-aliasing > -fno-exceptions -fno-rtti -I. -I.. -g -O2 -Wall -fno-strict-aliasing > -fno-exceptions -fno-rtti authenticate.c > /usr/bin/g++ -O -L../lib -L../cats -o check_bacula check_bacula.o > authenticate.o -lbac -lm -lpthread > check_bacula.o(.text+0x1c): In function `usage': > /usr/local/src/bacula-2.0.1/src/check_bacula/check_bacula.c:58: > undefined reference to `gettext' > check_bacula.o(.text+0x433): In function `main': > /usr/local/src/bacula-2.0.1/src/check_bacula/check_bacula.c:110: > undefined reference to `libintl_textdomain' > ../lib/libbac.a(bsys.o)(.text+0x1d4): In function `b_malloc(char const*, > int, unsigned int)': > /usr/local/src/bacula-2.0.1/src/lib/bsys.c:221: undefined reference to > `gettext' > ../lib/libbac.a(bsys.o)(.text+0x27b): In function `brealloc(void*, > unsigned int)': > /usr/local/src/bacula-2.0.1/src/lib/bsys.c:244: undefined reference to > `gettext' > ../lib/libbac.a(bsys.o)(.text+0x30b): In function `bcalloc(unsigned int, > unsigned int)': > /usr/local/src/bacula-2.0.1/src/lib/bsys.c:257: undefined reference to > `gettext' > ../lib/libbac.a(bsys.o)(.text+0x38f): In function `_p(pthread_mutex**)': > ../lib/berrno.h:87: undefined reference to `gettext' > ../lib/libbac.a(bsys.o)(.text+0x41b): In function `_v(pthread_mutex**)': > ../lib/berrno.h:87: undefined reference to `gettext' > ../lib/libbac.a(bsys.o)(.text+0x4a0):/usr/local/src/bacula-2.0.1/src/lib/bsys.c:365: > > more undefined references to `gettext' follow > *** Error code 1 > > Stop in /usr/local/src/bacula-2.0.1/src/check_bacula. > > > ====== Error in /usr/local/src/bacula-2.0.1/src/check_bacula ====== > > > This is on FreeBSD 5.4, not a port, unpached, unmolested Bacula source. > Built with noting but ./configure --with-mysql=/usr/local > Anyone got a solution? Not a solution, only a hint from a non-programmer. This is all related to the gettext stuff, so you might need to include the path to the relevant libraries and header files into your makefile. Don't ask me for details, though - I have no iea where on a FreeBSD system you would expect them, why the ./configure script doesn't pick them up, and where in the makefile to add the information. Hope you get this working, Arno > Thanks, > > DAve -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users