Bacula-users

Re: [Bacula-users] backup catalog script in Ubuntu.

2008-07-27 12:15:15
Subject: Re: [Bacula-users] backup catalog script in Ubuntu.
From: James Bowes <james.bowes AT shaw DOT ca>
To: Timo Neuvonen <timo-news AT tee-en DOT net>
Date: Sun, 27 Jul 2008 09:15:02 -0700
Hi.

Bacula is producing an error on the RunBefore script which essentially
says that it is not parsing the dbname, host and password. Other jobs
and clients run fine. here is the error:

 BeforeJob: run command "/usr/bin/awk
-f /etc/bacula/scripts/make_catalog_backup_awk -v
cat1=MyCatalog /etc/bacula/bacula-dir.conf"
27-Jul 09:10 archive-dir JobId 385: BeforeJob: mysqldump: Got error:
1045: Access denied for user 'bacula'@'localhost' (using password: NO)
when trying to connect

I don't understand why it fails though... Is there someplace in the
make_catalog_backup_awk script I need to add the credentials?

--james
On Sun, 2008-07-27 at 12:09 +0300, Timo Neuvonen wrote:

> 
> Sounds like bacula.sql would not exists when needed?
> 
> You could start by studying the contents of the run before- script file, or 
> running that script manually. Make sure that the bacula.sql file it 
> generates will be located in the directory given in the fileset.
> 
> I had once similar problem  after some update, script had changed in update 
> and my configuration files still contained the path to old location (change 
> from /var/lib to /var/lib/bacula, that was CentOS and not Ubuntu but it's 
> irrelevant)
> 
> Regards,
> Timo 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users