Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 30 Nov 2006 00:37:24 +0300
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: Crash recovery file is locked

On Wed, Nov 29, 2006 at 01:46:58PM -0200, Nelson A. de Oliveira wrote:
> I was running a session of john on a machine and someone managed to reboot 
> it.
> Unfortunately, I can't recover this session anymore. It is giving this 
> error:
> 
> naoliv@...dinha:~/senha/1$ /usr/sbin/john --restore=senha1
> Crash recovery file is locked: senha1.rec

This shouldn't be happening unless one (or more) of the following is true:

1. The session is still running (the system was not rebooted).

2. The session has already been recovered.

3. NFS (or another network filesystem) is involved and it didn't handle
this situation (reboot with a lock held) well enough.

4. There's an OS kernel bug.

Is a network filesystem involved?  Which one?  What OS is on the client
and what is on the server?

> Is it possible to recover it?

Definitely.  In case you're positive that you do not still or already
have this session running, you may copy this file under a new name and
use that to recover (as an attempt to workaround the network filesystem
shortcoming or OS kernel bug).

-- 
Alexander Peslyak <solar at openwall.com>
GPG key ID: 5B341F15  fp: B3FB 63F4 D7A3 BCCC 6F6E  FC55 A2FC 027C 5B34 1F15
http://www.openwall.com - bringing security into open computing environments

Was I helpful?  Please give your feedback here: http://rate.affero.net/solar

-- 
To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply
to the automated confirmation request that will be sent to you.

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ