Bacula-users

Re: [Bacula-users] ERR=Child exited with code 1

2008-08-18 15:25:47
Subject: Re: [Bacula-users] ERR=Child exited with code 1
From: "Ronna Mijares" <ronnamijares AT gmail DOT com>
To: "John Drescher" <drescherjm AT gmail DOT com>, bacula-users-request AT lists.sourceforge DOT net, bacula-users AT lists.sourceforge DOT net
Date: Mon, 18 Aug 2008 21:25:24 +0200
Hi

Jhon I remove <>, but now show me this message:

18-ago 14:06 carabobo-dir: RunBefore: mysqldump: option '-u' requires an argument
18-ago 14:06 carabobo-dir: BackupCatalogCapacitacion.2008-08-18_14.06.11 Fatal error: RunBeforeJob error: ERR=Child exited with code 5


I make that changes:

Job {
Name = "BackupCatalogCapacitacion"
JobDefs = "Capacitacion"
Level = Full
FileSet = "Catalog"
Schedule = "WeeklyCycleAfterBackup"
# This creates an ASCII copy of the catalog
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup -u bacula -p bacula"
and

Job {
Name = "BackupCatalogCapacitacion"
JobDefs = "Capacitacion"
Level = Full
FileSet = "Catalog"
Schedule = "WeeklyCycleAfterBackup"
# This creates an ASCII copy of the catalog
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup -u "bacula" -p "bacula""

But show me the same message





2008/8/18 John Drescher <drescherjm AT gmail DOT com>
On Mon, Aug 18, 2008 at 10:33 AM, Ronna Mijares <ronnamijares AT gmail DOT com> wrote:
> Thanks, but what could be the problem of that Error:
>
> the conf file is:
>
> Job {
>   Name = "BackupCatalogCapacitacion"
>   JobDefs = "Capacitacion"
>   Level = Full
>   FileSet = "Catalog"
>   Schedule = "WeeklyCycleAfterBackup"
>   # This creates an ASCII copy of the catalog
>   RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup -u<bacula>
> -p<bacula>"

remove the < and > from this line. I am pretty sure that this will
cause you problems.

John



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