> Hmmm..the light is finally shinning, if the query isn't executable that explains everything
I believe that /usr/lib64/bacula/query.sql is where bacula dumps your mysql database to text before backing it up. It does not need to be executable.
Your query.sql is not empty, so that concerns me.
You changed permissions on files and directories according to what Simone said, but that was meant for another system and not right for your system. This concerns me.
The file /usr/sbin/dbcheck.mysql is missing and bacula is configured to use that file. This concerns me as well. My system does not have a file named dbcheck.mysql either. There is however, a file named /sbin/dbcheck.
Can I ask is this a production machine you're working on, or just for testing?
Who set it up or installed bacula on your system?