On 1 Apr 2006 at 0:50, Dave wrote: > Hello, > I've got a FreeBSD6 server running the latest bacula port 1.38.6, i love > the new startup scripts thank you! The following problem is not specific to > this version of bacula, i've noticed it since i went to 1.38 though i'm > reluctant to say it is a bug it's probably some minor tweak in my box that > hasn't been done. WHen i compiled the bacula install i linked against mysql > 4.18, and i've got all that working and life is good. My problem is whenever > this box has to reboot and it's not often the bacula director can not start, > it is missing the libmysqlclient shared library, an ldd of the binary shows > that it does not know where the lib is. I've confirmed that the library is > in fact there, the problem is corrected by me logging in to the box and > doing: > ldconfig /usr/local/lib/mysql > and then loading the bacula director, all is well after that. I'm wondering > if anyone can tell me why this variable isn't getting set on boot so > bacula-dir can't find it?
I have no idea why you're getting this problem. What version of FreeBSD? Try disabling bacula-dir via /etc/rc.conf. Then reboot. Then manualllly starting bacula-dir via the script. Does it star then? I'm testing here that it's a timing issue. Someone suggested this: # cat /etc/rc.conf | grep ldcon ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/pgsql-7.2/lib /usr/local/pgsql-7.4/lib" But you may not need that (the above ldconfig_path should be on one line). what is the output of: grep mysql /etc/rc.conf -- Dan Langille : Software Developer looking for work my resume: http://www.freebsddiary.org/dan_langille.php ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users