Mailing List Archive

Can't remove 'lock'
Folks,

I'm new to using GnuPG, and I am getting a puzzling error.
I can list the keys with no trouble, but if I
try anything else, I get this error:

gpg: waiting for lock (hold by 1295 - probably dead) ...
gpg: waiting for lock (hold by 1295 - probably dead) ...

This continues indefinitely. It sounds to me like
it somehow thinks another copy of gpg locked the
keyrings somehow. In the manual and FAQ, I can't find
locks anywhere, let alone how to remove them.

Does anyone know the fix for this?

(Please CC: me, as I have not yet subscribed)

--
Ben P Wise, PhD Voice: 703-907-2555
SAIC Cell: 703-731-5144
http://www.saic.com bwise@sito.saic.com
Re: Can't remove 'lock' [ In reply to ]
Ben Wise, at 11:17 -0400 on Fri, 21 Apr 2000, wrote:

> gpg: waiting for lock (hold by 1295 - probably dead) ...
> gpg: waiting for lock (hold by 1295 - probably dead) ...

Look for ~/.gnupg/*.lock and remove that file(s).

--
Frank Tobin http://www.uiuc.edu/~ftobin/

"To learn what is good and what is to be valued,
those truths which cannot be shaken or changed." Myst: The Book of Atrus
Re: Can't remove 'lock' [ In reply to ]
On Fri, Apr 21, 2000 at 11:17:13AM -0400, Ben Wise wrote:
> Folks,
>
> I'm new to using GnuPG, and I am getting a puzzling error.
> I can list the keys with no trouble, but if I
> try anything else, I get this error:
>
> gpg: waiting for lock (hold by 1295 - probably dead) ...
> gpg: waiting for lock (hold by 1295 - probably dead) ...

This happened to me just yesterday while I was importing a batch of
keys from a keyserver. I don't know what causes it, but you can
remove the lockfile. Look in .gnupg/ for a file that ends in .lock
and delete it.

--
Drew Bloechl
drew@cesspool.net
Re: Can't remove 'lock' [ In reply to ]
* Ben Wise (bwise@sito.saic.com) [000421 15:53]:

> I'm new to using GnuPG, and I am getting a puzzling error.
> I can list the keys with no trouble, but if I
> try anything else, I get this error:
>
> gpg: waiting for lock (hold by 1295 - probably dead) ...
> gpg: waiting for lock (hold by 1295 - probably dead) ...

I had the same thing happen. Look in ~/.gnupg, and delete the *.lock
files.

Mine was caused by ctrl-c'ing after waiting over 2 minuites to
retrieve a key.

That should fix you up.

BTW, the 1295 refers to the process that was originally running gpg.

HTH.

Merell
--
Merell L. Matlock, Jr. When crypto is outlawed, only outlaws
Linux#: 149839 and politicians will have crypto.

Microsoft: What do you want to be infected with today?
Re: Can't remove 'lock' [ In reply to ]
I am tired of receiving dozens of messages of this list.

I tried many times to unsubscribe. The mailing system does not work
properly
and the owner of the list (Lord of the Lists <listmaster@gnupg.org>)
explains

me that I am not subscribed. It appears now to me as harassment.

If everybody from the list reads this message he will probably
understand his

mistake and maybe do his duty.

Frank Tobin wrote:

> Ben Wise, at 11:17 -0400 on Fri, 21 Apr 2000, wrote:
>
> > gpg: waiting for lock (hold by 1295 - probably dead) ...
> > gpg: waiting for lock (hold by 1295 - probably dead) ...
>
> Look for ~/.gnupg/*.lock and remove that file(s).
>
> --
> Frank Tobin http://www.uiuc.edu/~ftobin/
>
> "To learn what is good and what is to be valued,
> those truths which cannot be shaken or changed." Myst: The Book of Atrus

--
-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-

Pierre - Henri S E N E S I
http://www.senesi.org
Formateur Techno / Technology trainer
I.U.F.M. de Nice : Institut Universitaire de Formation des Maitres
University Institute for Teacher Training, Nice, France
Post. : I.U.F.M. Technology Dept. 43, Av. St. LiƩgeard F 06100 NICE
Tel. & Fax : (33) or (0) 492.07.74.89 / 80 492.09.11.02
-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-
Re: Can't remove 'lock' [ In reply to ]
I am tired of receiving dozens of messages of this list.

I tried many times to unsubscribe. The mailing system does not work
properly
and the owner of the list (Lord of the Lists <listmaster@gnupg.org>)
explains
me that I am not subscribed. It appears now to me as harassment.

If everybody from the list reads this message he will probably
understand his
mistake and maybe do his duty.

Ben Wise wrote:

> Folks,
>
> I'm new to using GnuPG, and I am getting a puzzling error.
> I can list the keys with no trouble, but if I
> try anything else, I get this error:
>
> gpg: waiting for lock (hold by 1295 - probably dead) ...
> gpg: waiting for lock (hold by 1295 - probably dead) ...
>
> This continues indefinitely. It sounds to me like
> it somehow thinks another copy of gpg locked the
> keyrings somehow. In the manual and FAQ, I can't find
> locks anywhere, let alone how to remove them.
>
> Does anyone know the fix for this?
>
> (Please CC: me, as I have not yet subscribed)
>
> --
> Ben P Wise, PhD Voice: 703-907-2555
> SAIC Cell: 703-731-5144
> http://www.saic.com bwise@sito.saic.com
Re: Can't remove 'lock' [ In reply to ]
I am tired of receiving dozens of messages of this list.

I tried many times to unsubscribe. The mailing system does not work
properly
and the owner of the list (Lord of the Lists <listmaster@gnupg.org>)
explains
me that I am not subscribed. It appears now to me as harassment.

If everybody from the list reads this message he will probably
understand his
mistake and maybe do his duty.

Drew Bloechl wrote:

> On Fri, Apr 21, 2000 at 11:17:13AM -0400, Ben Wise wrote:
> > Folks,
> >
> > I'm new to using GnuPG, and I am getting a puzzling error.
> > I can list the keys with no trouble, but if I
> > try anything else, I get this error:
> >
> > gpg: waiting for lock (hold by 1295 - probably dead) ...
> > gpg: waiting for lock (hold by 1295 - probably dead) ...
>
> This happened to me just yesterday while I was importing a batch of
> keys from a keyserver. I don't know what causes it, but you can
> remove the lockfile. Look in .gnupg/ for a file that ends in .lock
> and delete it.
>
> --
> Drew Bloechl
> drew@cesspool.net
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
Re: Can't remove 'lock' [ In reply to ]
> Folks,
>
> I'm new to using GnuPG, and I am getting a puzzling error.
> I can list the keys with no trouble, but if I
> try anything else, I get this error:
>
> gpg: waiting for lock (hold by 1295 - probably dead) ...
> gpg: waiting for lock (hold by 1295 - probably dead) ...
>
> This continues indefinitely. It sounds to me like
> it somehow thinks another copy of gpg locked the
> keyrings somehow. In the manual and FAQ, I can't find
> locks anywhere, let alone how to remove them.
>
> Does anyone know the fix for this?

from the other shell cd into .gnupg and do rm *.lock

Alex
--
* | Janusz A. "Alex" Urbanowicz, \ Home: <alex@bofh.torun.pl>
--+~| | http://eris.phys.uni.torun.pl/~alex/ \ Work: <alex@bofh.net.pl>
`_|/ | \____ RSA: 512/0xAB425659
| | "Those about to hack, we salute you !"
Re: Can't remove 'lock' [ In reply to ]
On Fri, 21 Apr 2000, Merell L. Matlock, Jr. wrote:

> > gpg: waiting for lock (hold by 1295 - probably dead) ...
> [deleted]
>
> Mine was caused by ctrl-c'ing after waiting over 2 minuites to
> retrieve a key.

did you repeat the operation afterwards? if i do keyserver operations,
they never finish on first trial, but succeed immediately on restarting
after ^C.

--
ino-waiting@gmx.net