Hi,
>Well, with 1.38.8 on FreeBSD-6.0 it hasn't worked me not once - every time I
>do 'reload', director just quits.
>Silver
Me too, when my configuration isn't ok and that i do a "reload" command,
it's stops my director... And if i have running jobs, i have to restart them.
The reload function doesn't work as it would have.
I think, we must use an error handler that don't exit(1).
I can wrote it.
Regards.
--------------------------------------------------
in reload_config (dird.c)
ok = parse_config(configfile, 0); /* no exit on error */
in parse_config
/*
* Parse configuration file
*
* Return 0 if reading failed, 1 otherwise
* Note, the default behavior unless you have set an alternate
* scan_error handler is to die on an error.
*/
in default lex error_handler :
e_msg(file, line, M_ERROR_TERM, 0, _("Config error: %s\n"), buf);
-> and in e_msg
if (type == M_ERROR_TERM) {
exit(1);
}
---------------------------------------------------
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users