Thursday, October 25, 2007

Bacula Web on Centos5 "Error Query: 4"

Bacula Web will fail initially with "Error Query: 4" because the db is empty. Specifically, the database record of your tapes or whatever doesn't exist. You can verify this by finding the query in index.php near that error message and running it. Your results will be empty. Try running bconsole and typing "update slots" or "label" if you don't have an autochanger.

Also, mt is in mt-st (run `yum install mt-st`). You need mt for the tape testing part of the setup.

2 comments:

dnavre said...

thanks. this was really useful :)

Martin said...

Finally it worked! You save my life, I really appreciate this post and to you.

Thank you very much!