On Friday 10 June 2005 15:45, Attila Fülöp wrote:
> Hi,
>
> few days ago bacula-dir started and kept crashing.
>
> Jun  4 10:52:35 stattmp kernel: pid 465 (bacula-dir), uid 910: exited
> on signal 10
>
> Looking at the problem the db was corruppted.
> Dbcheck runs for ~70 hours now(and this is a real fast maschine: dual
> opteron 2.2GHz)
>
> 41796 root     116    0   201M   193M CPU0   0  68.4H 99.02% 99.02%
> dbcheck
>
> Now i have to run a restore job. To do that i have to stop dbcheck
> since restore tries to write to the database which is locked. From
> the last time i did this, i know that  after killing dbcheck the
> database stays locked. Last time i threw away the db and  bscanned
> all my tapes, but i have no time to do so this time.
>
> How do i either unlock the db after killing dbcheck or run a restore
> with a locked db?

Have you tried copying the db before you kill dbcheck? I suppose its 
probably already too late (ie: it will be locked already) but you might 
be able to use the copy. In future it might be best to copy the db 
before you run dbcheck? I don't know if this is feasible for your size 
of db.

> Any hints appreciated since i look very unprofessional right now.
>
>
> Setup: FreeBSD  5.4-RELEASE-p1
> Bacula from ports 1.36.3 with SQLLite
>
> -- Attila
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
> shotput a projector? How fast can you ride your desk chair down the
> office luge track? If you want to score the big prize, get to know
> the little guy. Play to win an NEC 61" plasma display:
> http://www.necitguy.com/?r=20
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

HTH,
-- 
Dominic
GoodforBusiness.co.uk
I.T. Services for SMEs in the UK.


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to