Bacula-users

[Bacula-users] Problem with jobs

2008-07-24 04:41:09
Subject: [Bacula-users] Problem with jobs
From: Stefano Elmopi <stefano.elmopi AT sociale DOT it>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 24 Jul 2008 10:41:14 +0200

Hi,

I have a strange problem !!
I get e-mail control of the various jobs that are configured in this way:

22-Jul 23:05 slc02-dir JobId 385: No prior Full backup Job record found.
22-Jul 23:05 slc02-dir JobId 385: No prior or suitable Full backup found in 
catalog. Doing FULL backup.
22-Jul 23:05 slc02-dir JobId 385: Start Backup JobId 385, 
Job=sicuro.2008-07-22_23.05.13
22-Jul 23:05 slc02-sd JobId 385: 3307 Issuing autochanger "unload slot 39, 
drive 0" command.
22-Jul 23:06 slc02-dir JobId 385: Using Device "Drive-0"
22-Jul 23:06 slc02-sd JobId 385: Invalid slot=0 defined in catalog for Volume 
"Full-0040" on
"Drive-0" (/dev/st0). Manual load may be required.
22-Jul 23:06 slc02-sd JobId 385: 3301 Issuing autochanger "loaded? drive 0" 
command.
22-Jul 23:06 slc02-sd JobId 385: 3302 Autochanger "loaded? drive 0", result: 
nothing loaded.
22-Jul 23:06 slc02-sd JobId 385: 3301 Issuing autochanger "loaded? drive 0" 
command.
22-Jul 23:07 slc02-sd JobId 385: 3302 Autochanger "loaded? drive 0", result: 
nothing loaded.
22-Jul 23:07 sicuro: sicuro.2008-07-22_23.05.13 Fatal error: job.c:1811 Bad 
response to Append Data
command. Wanted 3000 OK data
, got 3903 Error append data

22-Jul 23:07 slc02-sd JobId 385: Error: Could not open device "Drive-0" 
(/dev/st0): ERR=dev.c:432
Unable to open device "Drive-0" (/dev/st0): ERR=No medium found

22-Jul 23:07 slc02-sd JobId 385: Fatal error: Could not ready device "Drive-0" 
(/dev/st0) for append.
22-Jul 23:07 slc02-dir JobId 385: Error: Bacula slc02-dir 2.2.8 (26Jan08): 
22-Jul-2008 23:07:02
   Build OS:               i686-redhat-linux-gnu redhat
   JobId:                  385
   Job:                    sicuro.2008-07-22_23.05.13
   Backup Level:           Full (upgraded from Incremental)
   Client:                 "sicuro" 2.2.4 (14Sep07) i686-pc-linux-gnu,suse,9
   FileSet:                "sicuro_fileset" 2008-04-09 23:05:00
   Pool:                   "Full-Pool" (From Job FullPool override)
   Storage:                "spectra" (From Job resource)
   Scheduled time:         22-Jul-2008 23:05:00
   Start time:             22-Jul-2008 23:06:49
   End time:               22-Jul-2008 23:07:02
   Elapsed time:           13 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
   Storage Encryption:     no
   Volume name(s):
   Volume Session Id:      2
   Volume Session Time:    1216718934
   Last Volume Bytes:      0 (0 B)
   Non-fatal FD errors:    0
   SD Errors:              0
   FD termination status:  Error
   SD termination status:  Error
   Termination:            *** Backup Error ***

the problem is that the version of Bacula is 2.8, the JobId is not in the 
catalog and the volume
"Full-0040" does not exist.
If I make the status of the tape, I see this:

slc02-sd Version: 2.4.0 (04 June 2008) i686-redhat-linux-gnu redhat
Daemon started 22-Jul-08 11:28, 6 Jobs run since started.
  Heap: heap=585,728 smbytes=423,797 max_bytes=423,907 bufs=153 max_bufs=155
Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8

Running Jobs:
Writing: Incremental Backup job sicuro JobId=2602 Volume=""
     pool="Inc-Pool" device="Drive-0" (/dev/st0)
     spooling=0 despooling=0 despool_wait=0
     Files=0 Bytes=0 Bytes/sec=0
     FDReadSeqNo=6 in_msg=6 out_msg=4 fd=4
Writing: Full Backup job arianna JobId=390 Volume="Full-0040"
     pool="Full-Pool" device="Drive-0" (/dev/st0)
     spooling=0 despooling=0 despool_wait=0
     Files=0 Bytes=0 Bytes/sec=0
     FDSocket closed
====

Jobs waiting to reserve a drive:
    3608 JobId=390 wants Pool="Full-Pool" but have Pool="Inc-Pool" nreserve=1 
on drive "Drive-0"
(/dev/st0).
====

Terminated Jobs:
  JobId  Level    Files      Bytes   Status   Finished        Name
===================================================================
    371  Full          0         0   Error    22-Jul-08 10:07 polis
    372  Full          0         0   Cancel   22-Jul-08 10:08 contabilita
   2600  Incr        115    480.8 M  OK       22-Jul-08 10:34 elearning
    384  Full          0         0   Cancel   22-Jul-08 11:22 BackupCatalog
   2601  Full         69    622.9 G  OK       22-Jul-08 16:20 oracle
    385  Full          0         0   Error    22-Jul-08 23:07 sicuro
    386  Full          0         0   Error    22-Jul-08 23:07 sia
    387  Full          0         0   Error    22-Jul-08 23:07 polis
    388  Full          0         0   Other    22-Jul-08 23:37 contabilita
    389  Full          0         0   Error    22-Jul-08 23:37 elearning
====

Device status:
Autochanger "spectra" with devices:
    "Drive-0" (/dev/st0)
Device "FileStorage" (/opt/file) is not open.
Device "Drive-0" (/dev/st0) is not open.
     Device is BLOCKED waiting to create a volume for:
        Pool:        Inc-Pool
        Media type:  LTO-3
     Drive 0 status unknown.
====

In Use Volume status:
Full-0040 on device "Drive-0" (/dev/st0)
     Reader=0 writers=0 devres=1 volinuse=1
====

390 job does not exist in the catalogue while 2602 is what should be done.
If I try to cancel the 390:

*cancel JobId=390
JobId 390 is not running. Use Job name to cancel inactive jobs.

Bacula where you take the Id 390?
I am desperate, someone help me knows?
Thank you






-- 
Ing. Stefano Elmopi
Gruppo Darco - Area ICT Sistemi
Via Ostiense 131/L Corpo B, 00154 Roma

email:stefano.elmopi AT sociale DOT it


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

<Prev in Thread] Current Thread [Next in Thread>