Bacula-users

[Bacula-users] director crash when an backup starts

2012-10-24 03:46:36
Subject: [Bacula-users] director crash when an backup starts
From: ZIT-BB Büttner, Frank <Frank.Buettner AT polizei.brandenburg DOT de>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 24 Oct 2012 09:14:11 +0200
Hello,
I use bacula 5.2.11 on an SL 6 system(RHEL 6 clone).
As far I start an backup job, the director crash.
dbcheck have not find any errors.
Here the debug output:

system-name: next_vol.c:71-1227 find_next_vol_for_append: JobId=1227 PoolId=1, 
MediaType=File
system-name: sql_find.c:462-1227 Rtn numrows=1
system-name: next_vol.c:183-1227 VolJobs=24 FirstWritten=1347350543
system-name: next_vol.c:271-1227 Vol=vBand-0001 expired=0
system-name: next_vol.c:198-1227 return ok=1 find_next_vol
system-name: catreq.c:146-1227 find_media ok=1 idx=1 vol=vBand-0001
system-name: fd_cmds.c:109-1227 Opened connection with File daemon
system-name: authenticate.c:196-1227 Sent: Hello Director system-name calling
system-name: cram-md5.c:150-1227 sending resp to challenge: 
system-name: cram-md5.c:79-1227 send: auth cram-md5 4@system-name> ssl=0
system-name: cram-md5.c:98-1227 Authenticate OK 
system-name: sql_get.c:1271-1227 
db_accurate_get_jobids=1106,1117,1127,1137,1147,1157,1167,1210
system-name: backup.c:226-1227 Checksum will be sent to FD
system-name: mysql.c:177-1227 mysql_init done
system-name: mysql.c:202-1227 mysql_real_connect done
system-name: mysql.c:204-1227 db_user=bacula db_name=bacula db_password=
system-name: next_vol.c:271-1227 Vol=vBand-0001 expired=0
system-name: next_vol.c:271-1227 Vol=vBand-0001 expired=0
system-name: next_vol.c:271-1227 Vol=vBand-0001 expired=0
system-name: next_vol.c:271-1227 Vol=vBand-0001 expired=0
system-name: catreq.c:285-1227 Update StorageId old=1 new=1
system-name: next_vol.c:271-1227 Vol=vBand-0001 expired=0
system-name: sql_create.c:802-1227 db_create_file_record changes=7
system-name: ua_prune.c:499-1227 select sql=INSERT INTO DelCandidates SELECT 
JobId,PurgedFiles,FileSetId,JobFiles,JobStatus FROM Job  JOIN Client USING 
(ClientId)  JOIN Pool ON (Job.PoolId = Pool.PoolId)  WHERE Type IN ('B', 'C', 
'M', 'V',  'D', 'R', 'c', 'm', 'g')   AND JobTDate < 1335510589  AND 
Client.Name = 'Datenbank_Produktion'  AND Pool.Name = 'Default'
system-name: ua_prune.c:306-1227 select sql=SELECT COUNT(1) FROM Job  JOIN 
Client USING (ClientId)  JOIN Pool ON (Job.PoolId = Pool.PoolId)  WHERE 
PurgedFiles=0  AND JobTDate < 1348470589  AND Client.Name = 
'Datenbank_Produktion'  AND Pool.Name = 'Default'
system-name: job.c:362-1227 ======== End Job stat=T ==========
Bacula interrupted by signal 11: Segmentation violation
Kaboom! bacula-dir, system-name got signal 11 - Segmentation violation. 
Attempting traceback.
Kaboom! exepath=/usr/sbin
Calling: /usr/sbin/btraceback /usr/sbin/bacula-dir 1761 /var/spool/bacula
It looks like the traceback worked ...
Dumping: /var/spool/bacula/system-name.1761.bactrace

here the contains of system-name.1761.bactrace:
Attempt to dump locks
threadid=0x7f22121fc700 max=1 current=-1
threadid=0x7f2212bfd700 max=1 current=-1
threadid=0x7f22135fe700 max=1 current=-1
threadid=0x7f2213fff700 max=2 current=-1
threadid=0x7f221922a700 max=0 current=-1
threadid=0x7f2219c2b700 max=0 current=-1
threadid=0x7f22246877e0 max=1 current=-1
Attempt to dump current JCRs. njcrs=3
threadid=(nil) JobId=0 JobStatus=R jcr=0x155cf98 
name=*JobMonitor*.2012-10-24_09.07.31_01
threadid=(nil) killable=0 JobId=0 JobStatus=R jcr=0x155cf98 
name=*JobMonitor*.2012-10-24_09.07.31_01
        use_count=1
        JobType=I JobLevel=
        sched_time=24-Okt-2012 09:07 start_time=24-Okt-2012 09:07
        end_time=01-Jan-1970 01:00 wait_time=01-Jan-1970 01:00
        db=(nil) db_batch=(nil) batch_started=0
threadid=(nil) JobId=0 JobStatus=R jcr=0x7f2200001078 
name=-Console-.2012-10-24_09.07.55_02
threadid=(nil) killable=0 JobId=0 JobStatus=R jcr=0x7f2200001078 
name=-Console-.2012-10-24_09.07.55_02
        use_count=1
        JobType=U JobLevel=
        sched_time=24-Okt-2012 09:07 start_time=24-Okt-2012 09:07
        end_time=01-Jan-1970 01:00 wait_time=01-Jan-1970 01:00
        db=0x7f2200004578 db_batch=(nil) batch_started=0
B_DB=0x7f2200004578 db_name=bacula db_user=bacula connected=true
        cmd="SELECT VolumeName,MAX(VolIndex) FROM JobMedia,Media WHERE 
JobMedia.JobId=1227 AND JobMedia.MediaId=Media.MediaId GROUP BY VolumeName 
ORDER BY 2 ASC" changes=9
        RWLOCK=0x7f2200004580 w_active=0 w_wait=0
threadid=(nil) JobId=0 JobStatus=R jcr=0x7f2204001078 
name=-Console-.2012-10-24_09.09.40_03
threadid=(nil) killable=0 JobId=0 JobStatus=R jcr=0x7f2204001078 
name=-Console-.2012-10-24_09.09.40_03
        use_count=1
        JobType=U JobLevel=
        sched_time=24-Okt-2012 09:09 start_time=24-Okt-2012 09:09
        end_time=01-Jan-1970 01:00 wait_time=01-Jan-1970 01:00
        db=0x7f2200004578 db_batch=(nil) batch_started=0
B_DB=0x7f2200004578 db_name=bacula db_user=bacula connected=true
        cmd="SELECT VolumeName,MAX(VolIndex) FROM JobMedia,Media WHERE 
JobMedia.JobId=1227 AND JobMedia.MediaId=Media.MediaId GROUP BY VolumeName 
ORDER BY 2 ASC" changes=9
        RWLOCK=0x7f2200004580 w_active=0 w_wait=0
Attempt to dump plugins. Hook count=0

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
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>