If I just change job definition by:

        Rerun Failed Levels = yes
#       Reschedule on Error = yes
#       Reschedule Interval = 30
#       Reschedule Times = 1
        Run Before Job = "nc -w5 -z pc-silvia 9102"

It fails on RunBeforeJob and no message is displayed on status dir, just the 
error on "Terminated Jobs", not the entry on Running jobs (no reschedule is 
done). At the log file, I can only see RunBeforeJob error, but not the 
"connection failed to FileDaemon" one.

> Hello,
>
> Im trying to backup some PCs with "Reschedule on error" configuration. I
> dont now if they are on or off at night so I use this configuration:
>
>
>         Rerun Failed Levels = yes
>         Reschedule on Error = yes
>         Reschedule Interval = 30
>         Reschedule Times = 1
>         Run Before Job = "nc -w5 -z HOST 9102" # Error codes: 0 can
> connect, and 1 not.
>
> Interval and Times are "test values" just to test the configuration. So I
> stop one file daemon and run the job from director. It fails quickly, and
> after 30 seconds try again and fails. All is ok, but if I do a "status dir"
> at bconsole
>
>
> Running Jobs:
>  JobId Level   Name                       Status
> ======================================================================
>    201 Increme  Pc-Silvia-Win.2006-02-28_19.02.58 has a fatal error
> ====
>
> how can I clean this message? I tried starting the file daemon again and
> running a job and it didn't disappear. No cancel or delete works.  At
> system log I could see:
>
> =======================
> 28-feb 18:37 neptuno-dir: Pc-Silvia-Win.2006-02-28_18.37.57 Fatal error:
> RunBeforeJob error: ERR=Child exited with code 1
>
> 28-feb 18:37 neptuno-dir: *Console*.2006-02-28_18.24.00 Fatal error:
> bnet.c:859 Unable to connect to File daemon on XXX.XXX.XXX.XXX:XXXX.
> =======================
>
> I understand first message (the last rerun attempt), but what's the meaning
> of the second one? If job is canceled after error code 1, who and why is
> trying to connect the file daemon?
>
> If I do bacula stop and bacula start, the message disappears.
>
> Any suggestions?
>
>                                               Thanks in advance,
>
>                                                                       Enrique

-- 
Enrique de la Torre Gordaliza   
Departamento de Arquitectura de Computadores y Automática
Facultad de CC. FĂ­sicas, UCM
Av. Complutense s/n C.P:28040 

email: [EMAIL PROTECTED]
tlfn: 913944389


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to