---- Original Message ----- 
From: "Steve Thompson" <[EMAIL PROTECTED]>
To: <bacula-users@lists.sourceforge.net>
Sent: Thursday, September 27, 2007 10:57 AM
Subject: [Bacula-users] RunAfterJob in bacula 2.2.4


>I recently upgraded bacula from 2.0.3 to 2.2.4 on my director system
> (CentOS 4.5 i686). Since then, the RunAfterJob can no longer be
> successfully started (not even once):
>
> 27-Sep 11:36 XXX-dir: AfterJob: run command 
> "/etc/bacula/after_catalog_backup"
> 27-Sep 11:36 XXX-dir: AfterJob: Bad address
>
> The script has the proper ownership and permissions, and indeed is the
> same as the script used with 2.0.3. The RunBeforeJob script does run, and
> I can run the RunAfterJob script by hand as the bacula user.
>
> What is the "Bad address" telling me?

On a somewhat related topic I actually have noticed the same thing with 
/etc/bacula/make_catalog_backup script that is run from the directive 
RunBeforeJob in the BackupCatalog job.

If I run 'sudo -u bacula /etc/bacula/make_catalog_backup param1 param2 
param3' from a shell prompt the shell script executes correctly creating the 
bacula.sql file in the /var/lib/bacula directory.  When run from the 
BackupCatalog job the file is never created.  In my case no error is 
displayed and the job completes (except no data gets backed up).  This too 
was from an RPM upgrade of 2.0.3 to 2.2.4 on a CentOS 4.5 x86_64 system.

I have not really researched this fully to be honest, including reading the 
release notes and new documentation, I just thought I would also piggy-back 
the OP at it sounds like a very similar problem that may require some 
attention.

I have noticed I also use the directive ClientRunBeforeJob in other jobs and 
not the RunBeforeJob that was put in the BackupCatalog job definitions as 
part of the default 1.3.8.x installation.  I guess I will need to research 
the differences and see what is going on.

Thanks.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to