Thanks.  I'll try your suggestions so we can get a traceback.
I don't know how to make these crash repeat, but twice in two weeks 
makes me think it's likely to happen again.

thanks!
Stephen




On 04/15/2010 03:21 PM, Eric Bollengier wrote:
> Hello Stephen,
>
> Le jeudi 15 avril 2010 22:16:46, Stephen Thompson a écrit :
>> Of course, that's the annoying symptom.  The more serious problem is our
>> the crash of our SD.  Any pointers to getting "ptrace" working with the
>> automatic scripts?
>
> When you use "kill -ABRT $(pidof bacula-sd)", it should generate a backtrace.
> (test it when no job are running)
>
> This problem can occur if you use root account to start daemon with -g and -u
> options. One solution is to tweak the startup script to use
> su - bacula -c 'command' instead of "command -u bacula -g bacula".
>
> You can also tweak the backtrace script and add a sudo command to let bacula
> execute gdb as root.
>
> Hope it helps.
>
> Bye


-- 
Stephen Thompson               Berkeley Seismological Laboratory
step...@seismo.berkeley.edu    215 McCone Hall # 4760
404.538.7077 (phone)           University of California, Berkeley
510.643.5811 (fax)             Berkeley, CA 94720-4760

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to