Bacula-users

Re: [Bacula-users] Bacula not finding SD resource properly defined and used by other jobs

2009-04-24 08:35:31
Subject: Re: [Bacula-users] Bacula not finding SD resource properly defined and used by other jobs
From: Mingus Dew <shon.stephens AT gmail DOT com>
To: Arno Lehmann <al AT its-lehmann DOT de>
Date: Fri, 24 Apr 2009 08:28:19 -0400
Arno,
     I'm definitely affected by that "Terminated with Error". As for what's wrong with the jobs...

I think the batch table may be filling before the job completes.

24-Apr 01:00 mt-back4.storage JobId 27642: Error: Bacula cannot write on disk Volume "Advisen-FS_Full-0131" because: The sizes do not match! Volume=239975205030 Catalog=239634130188 24-Apr 07:38 mt-back4.director JobId 27642: Fatal error: sql_create.c:731 sql_create.c:731 insert INSERT INTO batch VALUES (24239508,27642,'/mnt/exports/documents/NEWSEDGE/2005-09-09/','40667475.200509091680.2_1e6200137e6e8940.xml','HgR ELu2p IGk B Pq Pq A B51 BAA Q BJvdNX BDIiGg BEmMek A A G','9Sp1QNBJqIPo87GeVcSAzg') failed:
The table 'batch' is full
24-Apr 07:38 mt-back4.director JobId 27642: Fatal error: catreq.c:490 Attribute create error. sql_update.c:453 Update failed: affected_rows=0 for UPDATE Media SET InChanger=0, Slot=0 WHERE Slot=6 AND StorageId=6 AND MediaId!=88 24-Apr 07:49 ad-nfs2.advisen JobId 27642: Fatal error: backup.c:892 Network send error to SD. ERR=Broken pipe 24-Apr 07:50 mt-back4.director JobId 27642: Error: Bacula mt-back4.director 2.4.4 (28Dec08): 24-Apr-2009 07:50:08

-Shon

On Fri, Apr 24, 2009 at 3:16 AM, Arno Lehmann <al AT its-lehmann DOT de> wrote:
Hi,

24.04.2009 01:21, Mingus Dew wrote:
> All,
>      I'm running Bacula 2.4.4 (not gone to 3.0 just yet) on Solaris
> 10_x86. I am having an issue where a couple of new jobs that I've
> created are hanging indefinitely (why doesn't they watchdog catch these?).

Hard to say without further information - how are the jobs configured,
what is actually stalled, and what's the state of the affected daemon?

> I eventually have to cancel the jobs or all the other jobs get stuck
> "waiting execution". When I cancel I get the following error:
>
> 23-Apr 19:13 mt-back4.storage JobId 27584: Fatal error:
>      Device "Advisen_ZFS_Storage" with MediaType "Advisen_File"
> requested by DIR not found in SD Device resources.

Sounds surprisingly similar to the thread "Canceling jobs in 3.0.0
results in "Terminated with Error".

> 23-Apr 19:13 mt-back4.director JobId 27584: Fatal error:
>      Storage daemon didn't accept Device "Advisen_ZFS_Storage" because:
>      3924 Device "Advisen_ZFS_Storage" not in SD Device resources.
>
> However, these resources do exist, are defined, and are written to daily
> by other jobs. Also I've run "bacula-dir -t -c bacula-dir.conf" just to
> see if any errors come up, but nothing does.
>
> Any ideas?

At least this seems be a problem affecting both 2.4.4 and 3.0.0. Might
be worth a bug report.

Arno

> Thanks,
> Shon
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;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

--
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;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

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;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
<Prev in Thread] Current Thread [Next in Thread>