Hi,

On 1/22/2007 11:16 AM, Jon Ingason wrote:
> 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]#

That's got nothing to do with RunBeforeJob.

This is a database connectivity problem.

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

the below looks good, the above is unrelated to it.

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

Did you set up a catalog database?

Arno

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

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