Bacula-users

[Bacula-users] Fatal error: askdir.c:339 NULL Volume name. This shouldn't happen!!!

2012-05-24 10:23:53
Subject: [Bacula-users] Fatal error: askdir.c:339 NULL Volume name. This shouldn't happen!!!
From: Stephen Thompson <stephen AT seismo.berkeley DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 24 May 2012 07:08:11 -0700
hello,

Anyone run into this error before?

We hadn't until we upgraded our bacula server from Centos 5.8 to Redhat 
6.2, after which we of course had to recompile bacula.  However, we used 
the same source, version, and options, the exception being that we added 
readline for improved bconsole functionality.

Now every couple of days we have jobs error out like this:


21-May 20:04 SD JobId 236699: Fatal error: askdir.c:339 NULL Volume 
name. This shouldn't happen!!!


21-May 22:02 DIR JobId 236711: Fatal error: Catalog error updating Media 
record. sql_update.c:411 Update failed: affected_rows=0 for UPDATE Media 
SET 
VolJobs=0,VolFiles=0,VolBlocks=0,VolBytes=0,VolMounts=0,VolErrors=0,VolWrites=0,MaxVolBytes=0,VolStatus='',Slot=0,InChanger=0,VolReadTime=0,VolWriteTime=0,VolParts=0,LabelType=0,StorageId=0,PoolId=0,VolRetention=0,VolUseDuration=0,MaxVolJobs=0,MaxVolFiles=0,Enabled=0,LocationId=0,ScratchPoolId=0,RecyclePoolId=0,RecycleCount=0,Recycle=0,ActionOnPurge=0
 
WHERE VolumeName=''


23-May 22:02 SD JobId 237069: Fatal error: askdir.c:339 NULL Volume 
name. This shouldn't happen!!!


There is nothing new or strange about our volumes, nothing in DB with 
null values.

My only idea, which is sheer speculation is that we have in the past had 
some strange behaviours around tape contention, like a set of jobs 
running with a storage daemon with two drives, and a job being assigned 
to one drive will want the tape that is in use by another job on the 
other drive.   That happened pretty rarely, though I was wondering if 
this might perhaps be the new outcome of that contention.  Again, sheer 
speculation as I have nothing but the errors above to go on at the moment.


thanks!
Stephen
-- 
Stephen Thompson               Berkeley Seismological Laboratory
stephen AT seismo.berkeley DOT edu    215 McCone Hall # 4760
404.538.7077 (phone)           University of California, Berkeley
510.643.5811 (fax)             Berkeley, CA 94720-4760

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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>
  • [Bacula-users] Fatal error: askdir.c:339 NULL Volume name. This shouldn't happen!!!, Stephen Thompson <=