>>>>> On Wed, 21 Sep 2005 10:58:42 +0200, Stephan Ebelt <[EMAIL PROTECTED]> >>>>> said:
Stephan> when returning '-1' the job ends like this (Backup OK): >> >> Exit status values should be in the range 0 to 255. What happens if you use >> exit 255? Stephan> 'exit 255' looks similar to 'exit -1': Stephan> 21-Sep 10:41 dd-lx-oracle3.dd.net-linx: DD31.2005-09-21_10.41.28 Fatal Stephan> error: ClientRunAfterJob returned non-zero status=268435711. ERR=Unknown Stephan> error during program execvp Stephan> interesting might be that an 'exit 100' looks like: Stephan> 21-Sep 10:48 dd-lx-oracle3.dd.net-linx: DD31.2005-09-21_10.48.09 Fatal Stephan> error: ClientRunAfterJob returned non-zero status=268435556. ERR=Child Stephan> exited with code 100 Stephan> while an 'exit 200' ends up with: Stephan> 21-Sep 10:49 dd-lx-oracle3.dd.net-linx: DD31.2005-09-21_10.49.23 Fatal Stephan> error: ClientRunAfterJob returned non-zero status=268435656. Stephan> ERR=Permission denied Stephan> is bacula somehow intepreting the codes? Yes, unfortunately it looks like exit status values >= 200 are used by bacula for internal purposes. >> The other difference between your two jobs is that one has been upgraded to >> Full. Maybe that causes the different behaviour? Stephan> that should not be? shouldn't it? I monitor that problem for quite a Stephan> while now - and I can't see a difference between Stephan> Full/Incremental/Differential. >> Did you get some other warning in the second job? Stephan> nope. I just removed the volume recycling/pruning messages from the job Stephan> report. Everything else is there. Stephan> Here's the complete output from the exit 255 test: Stephan> 21-Sep 10:47 dd-lx-backup.dd.net-linx: Start Backup JobId 1007, Stephan> Job=DD31.2005-09-21_10.47.28 Stephan> 21-Sep 10:47 dd-lx-backup.dd.net-linx: Volume "disk4-0008" previously Stephan> written, moving to end of data. Stephan> 21-Sep 10:47 dd-lx-oracle3.dd.net-linx: DD31.2005-09-21_10.47.28 Fatal Stephan> error: ClientRunAfterJob returned non-zero status=268435710. ERR=Unknown Stephan> error during program execvp Stephan> 21-Sep 10:47 dd-lx-backup.dd.net-linx: Bacula 1.36.3 (22Apr05): Stephan> 21-Sep-2005 10:47:32 Stephan> JobId: 1007 Stephan> Job: DD31.2005-09-21_10.47.28 Stephan> Backup Level: Incremental, since=2005-09-21 10:41:30 Stephan> Client: dd-lx-oracle3 Stephan> FileSet: "Data-UNIX-Oracle" 2005-08-05 19:00:01 Stephan> Pool: "disk4" Stephan> Storage: "disk4" Stephan> Start time: 21-Sep-2005 10:47:30 Stephan> End time: 21-Sep-2005 10:47:32 Stephan> FD Files Written: 0 Stephan> SD Files Written: 0 Stephan> FD Bytes Written: 0 Stephan> SD Bytes Written: 0 Stephan> Rate: 0.0 KB/s Stephan> Software Compression: None Stephan> Volume name(s): disk4-0008 Stephan> Volume Session Id: 25 Stephan> Volume Session Time: 1127203794 Stephan> Last Volume Bytes: 15,614,658,447 Stephan> Non-fatal FD errors: 0 Stephan> SD Errors: 0 Stephan> FD termination status: OK Stephan> SD termination status: OK Stephan> Termination: Backup OK Stephan> 21-Sep 10:47 dd-lx-backup.dd.net-linx: Begin pruning Jobs. Stephan> 21-Sep 10:47 dd-lx-backup.dd.net-linx: No Jobs found to prune. Stephan> 21-Sep 10:47 dd-lx-backup.dd.net-linx: Begin pruning Files. Stephan> 21-Sep 10:47 dd-lx-backup.dd.net-linx: No Files found to prune. Stephan> 21-Sep 10:47 dd-lx-backup.dd.net-linx: End auto prune. >> Which version of bacula is running on dd-lx-oracle3? Stephan> sorry, I totaly forgot: it's the bacula-client-1.36.3-1 RPM package Stephan> running on FC3. Well I can't repeat this here with 1.36.3 on FreeBSD. What should happen is that the director says Fatal error: FD gave bad response to ClientRunBeforeJob command: wanted 2000 OK RunBefore got: 2905 Bad RunBeforeJob command. __Martin ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users