I am getting problem with RunBeforeJob. When I test the bacula-dir.conf
I get following:

[EMAIL PROTECTED] bacula]# bacula-dir -t -c bacula-dir.conf
22-jan 10:59 bacula-dir:  Fatal error: Could not open Catalog
"MyCatalog", database "bacula".
22-jan 10:59 bacula-dir:  Fatal error: mysql.c:188 Unable to connect to
MySQL server.
Database=bacula User=bacula
It is probably not running or your password is incorrect.
22-jan 10:59 bacula-dir ERROR TERMINATION
Please correct configuration file: bacula-dir.conf
[EMAIL PROTECTED] bacula]#

But if I run the command defind in config file I get following:

[EMAIL PROTECTED] bacula]#  /etc/bacula/make_catalog_backup bacula bacula
XXXXXXXXXXX
[EMAIL PROTECTED] bacula]#  ls -l /var/bacula/
totalt 24
-rw-r--r-- 1 root root 17456 22 jan 10.57 bacula.sql
[EMAIL PROTECTED] bacula]#

What is wrong here?

I installed bacula-mysql-2.0.1-1.fc6.i386.rpm.
-- 
Regards

Jon Ingason

-------------------------------------------------------------------------
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

Reply via email to