The FreeBSD port has been upgraded to 1.38.7 and now uses the rc.d
style of start/stop scripts.
In this version, bacula-sd will run as "-u bacula -g operator" to
avoid problems accessing tape drives with insufficient permission.
When upgrading, be sure to read /usr/ports/UPDATING where you will
find these instructions for upgrading:
bacula-server now installs two rc.d scripts, one for the Director
and one for the Storage Daemon. To enable the Director at boot
time,
set the following in /etc/rc.conf[.local]:
bacula_dir_enable="YES"
To enable the Storage Daemon, set the following in rc.conf(5):
bacula_sd_enable="YES"
Similarly, bacula-client also installs a rcNG script. To enable
the File Daemon at boot time, set the following in rc.conf(5):
bacula_fd_enable="YES"
The old z-bacula.sh script in PREFIX/etc/rc.d should be removed.
--
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
Hi Mr Dan.
About this mail, iam right now testing bacula 1.38.8 on FreeBSD 6.0-p7, and i see this change, is great but the little problem i found is this one:
1; Ok i enable bacula dir, sd, and fd on /etc/rc.conf, but went my systems boots he try to execute bacula dir before starting mysql...? Them what happend here:
Fatal Error: Could not open database "bacula"
Fatal Error: mysql.c:164 Unable to connect to MySQL server.
Them start the fd, sd and latter mysql...
Ok here i disable the dir daemon on rc.conf from YES ->NO, this way starts mysql first them i can manually start bacula dir daemon, but if i try to enable bacula dir daemon:
zorra# /usr/local/etc/rc.c/bacula-dir start
The system dosent start the daemon, because it reads the /etc/rc.conf file and if the var
bacula_dir_enable="NO"
Dosent start the daemon, i need to change the var to YES and them i can run manually bacula-dir or run all the command manually /usr/local/sbin/bacula-dir -u bacula -g bacula -v -c /usr/local/etc/bacula-dir.conf
Well is all i like to say, the solution i have right now is making a small shell script that will run after rc.conf finish loading and the i can run bacula dir daemon.
I have another issue but that one i will ask on freebsd maillist, thanks for your time, greattings all.