Re: [Bacula-users] Canceling jobs in 3.0.0 results in "Terminated with error "
2009-04-24 03:41:06
Hi.
I see the same thing. My log:
...
24-Apr 10:08 bkpsrv-sd JobId 4063: Job frontier-var.2009-04-24_10.08.29_05
marked to be canceled.
24-Apr 10:09 bkpsrv-sd JobId 4063: Failed command: Jmsg Job=frontier-
var.2009-04-24_10.08.29_05 type=6 level=1240556927 bkpsrv-sd JobId 4063: Job
frontier-var.2009-04-24_10.08.29_05 marked to be canceled.
24-Apr 10:09 bkpsrv-sd JobId 4063: Fatal error:
Device "device-frontier" with MediaType "files" requested by DIR not
found in SD Device resources.
24-Apr 10:09 bkpsrv-dir JobId 4063: Fatal error:
Storage daemon didn't accept Device "device-frontier" because:
3924 Device "device-frontier" not in SD Device resources.
...
--
Silver
On Thursday 23 April 2009 18:36:04 Stephen Thompson wrote:
>
> RE logs...
>
> Looks like the cancel request is put in, but results in an error.
> Note that the message about there being no "SL500-changer" with type
> "LTO-3" in the SD resources seems bogus -- that's the storage device and
> type with which all the non-canceled jobs successfully run.
>
>
> sample log (server lawson/client agentsmith):
>
> 16-Apr 07:41 lawson-sd JobId 315-Apr 20:00 lawson-dir JobId 36627: Start
> Backup JobId 36627, Job=agentsmith.2009-04-15_20.00.00_23
> 16-Apr 08:31 lawson-sd JobId 36627: Job
> agentsmith.2009-04-15_20.00.00_23 marked to be canceled.
> 16-Apr 08:31 lawson-sd JobId 36627: Failed command: Jmsg
> Job=agentsmith.2009-04-15_20.00.00_23 type=6 level=1239895886 lawson-sd
> JobId 36627: Job agentsmith.2009-04-15_20.00.00_23 marked to be canceled.
>
> 16-Apr 08:31 lawson-sd JobId 36627: Fatal error:
> Device "SL500-changer" with MediaType "LTO-3" requested by DIR not
> found in SD Device resources.
> 16-Apr 08:31 lawson-dir JobId 36627: Fatal error:
> Storage daemon didn't accept Device "SL500-changer" because:
> 3924 Device "SL500-changer" not in SD Device resources.
> 16-Apr 08:31 lawson-dir JobId 36627: Error: Bacula lawson-dir 3.0.0
> (06Apr09): 16-Apr-2009 08:31:58
> Build OS: i386-pc-solaris2.10 solaris 5.10
> JobId: 36627
> Job: agentsmith.2009-04-15_20.00.00_23
> Backup Level: Incremental, since=2009-04-14 20:01:47
> Client: "agentsmith-fd" 2.4.2 (26Jul08)
> x86_64-unknown-linux-gnu,redhat,Enterprise release
> FileSet: "agentsmith-fs" 2008-08-15 12:09:36
> Pool: "Incremental-Pool" (From Run pool override)
> Catalog: "MyCatalog" (From Client resource)
> Storage: "SL500-changer" (From Job resource)
> Scheduled time: 15-Apr-2009 20:00:00
> Start time: 15-Apr-2009 20:00:00
> End time: 16-Apr-2009 08:31:58
> Elapsed time: 12 hours 31 mins 58 secs
> Priority: 10
> FD Files Written: 0
> SD Files Written: 0
> FD Bytes Written: 0 (0 B)
> SD Bytes Written: 0 (0 B)
> Rate: 0.0 KB/s
> Software Compression: None
> VSS: no
> Encryption: no
> Accurate: no
> Volume name(s):
> Volume Session Id: 7
> Volume Session Time: 1239837527
> Last Volume Bytes: 1 (1 B)
> Non-fatal FD errors: 0
> SD Errors: 0
> FD termination status:
> SD termination status:
> Termination: *** Backup Error ***
>
> snippet from SD resources file:
>
> .
> .
> .
> Autochanger {
> Name = SL500-changer
> Device = SL500-Drive-0
> Device = SL500-Drive-1
> Changer Command = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
> Changer Device = /dev/changer
> }
> Device {
> Name = SL500-Drive-0
> Drive Index = 0
> Media Type = LTO-3
> Archive Device = /dev/rmt/0cbn
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> AutoChanger = yes;
> AutoSelect = yes;
> Maximum block size = 262144 # 256kb
> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> Maximum Spool Size = 140gb
> Maximum Job Spool Size = 50gb
> Spool Directory = /bacula/spool
> }
> .
> .
> .
>
>
>
>
> Martin Simmons wrote:
> >>>>>> On Wed, 22 Apr 2009 16:07:49 -0700, Stephen Thompson said:
> >> I recently upgrade from 2.4.4 to 3.0.0. Everything went very smoothly
> >> and the new version is running at least as well as the previous.
> >>
> >> Once peculiar thing I've noticed is that if I cancel a job, rather than
> >> the job being set to a "Canceled by user" state, it winds up being set
> >> to "Terminated with error".
> >>
> >> Anyone else notice this and/or have ideas why this might be happening?
> >
> > What does the log output show?
> >
> > __Martin
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|