Zakai Kinan wrote: > I am posting the relevant portions of each file: > FD.conf: > > # > # List Directors who are permitted to contact this > File daemon > # > Director { > Name = backup-dir > Password = "yes_naya" > } > > # > # Restricted Director, used by tray-monitor to get the > # status of the file daemon > # > Director { > Name = backup-mon > Password = "yes_naya" > Monitor = yes > } > > # > # "Global" File daemon configuration specifications > # > FileDaemon { # this is me > Name = backup-fd > FDport = 9102 # where we listen for > the director > WorkingDirectory = /var/bacula > Pid Directory = /var/run/bacula > Maximum Concurrent Jobs = 20 > } > > > Thanks, >
If you are getting the error from check_bacula then you need to make sure the password from the check_bacula invocation matches the password in the fd. As I understand your question, you would use the following (all on one line), ./check_bacula -H <your FD host or IP goes here> -D fd -P 9102 -M backup-mon -K 'yes_naya' This is what is working for me. Try running './check_bacula -?' from the command line to see the switches and their uses. DAve > > ZK > > --- Dan Langille <[EMAIL PROTECTED]> wrote: > >> On 9 Mar 2007 at 8:38, Zakai Kinan wrote: >> >>> --- Dan Langille <[EMAIL PROTECTED]> wrote: >>> >>>> On 8 Mar 2007 at 8:03, Zakai Kinan wrote: >>>> >>>>> I got bacula-2.0.3 and configured and >> installed >>>> check_bacula. Now I am >>>>> getting this error - BACULA CRITICAL - Cannot >>>> authenticate to >>>>> FileDaemon: 1999 Authorization failed. I am >> not >>>> using a md5-hash in my >>>>> configuration. I convert my password to a >>>> md5-hash, but it does not >>>>> work. What am I doing wrong? >>>> Your passwords do not match. >>>> >>>> You need this entry in bacula-dir.conf: >>>> >>>> Client { >>>> Name = undef-fd >>>> Address = undef.example.org >>>> Catalog = MyCatalog >>>> Password = "PasswordForUndef" >>>> } >>>> >>>> to match this entry in bacula-fd.conf: >>>> >>>> >>>> Director { >>>> Name = bacula-dir >>>> Password = "PasswordForUndef" >>>> } >>>> >>>> Where bacula-dir appears at the top of your >>>> bacula-dir.conf file, >>>> like this: >>>> >>>> Director { # define >>>> myself >>>> Name = bacula-dir >>>> >>>> Does that help? >>>> >>>> Don't worry about MD5-hash, but you can do that >> if >>>> you wish. >>> It is still not working and I am getting the same >>> error. Any more ideas? >> Then the name/password combination is still not >> correct. >> >> Oh, and remember to restart FD after changing >> bacula-fd.conf, and >> bacula-dir after changing bacula-dir.conf. >> >> I suggest using a simple password, such as >> 'my-password' and trying >> again. >> >> If you make no progress after that, then post >> bacula-dir.conf and >> bacula-fd.conf, remembering that you are showing us >> your passwords. >> >> -- >> Dan Langille : Software Developer looking for work -- Three years now I've asked Google why they don't have a logo change for Memorial Day. Why do they choose to do logos for other non-international holidays, but nothing for Veterans? Maybe they forgot who made that choice possible. ------------------------------------------------------------------------- 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