Tuesday, December 19, 2006

PGP ERROR:received signal 11 and Unable to open default key rings

PROBLEM:
-----------

The problem "Unable to open default key rings" came when I was to decrypt a pgp file.
And then to investigate this I wanted to see the keys in our keyring as we have updated a key days before and then I got stucked in "received signal 11"

Actually we have more than one users in that specific UNIX system.And whereas one user ( user2 ) can see pgp -kv but another user ( (user1) is getting error while trying to see the keyring.

user2/home$ pgp -kv
Pretty Good Privacy(tm) Version 6.5.8
(c) 1999 Network Associates Inc.
Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc.
Export of this software may be restricted by the U.S. government.


Type bits/keyID Date User ID
pub 1024/4812D8FF 2002/07/19 hasim
sec 1024/45FD19FA 2003/10/20 mahasim
2 matching keys found.

0 memory frags found
exitPGP: exitcode = 0

user1/home$ pgp -kv
Pretty Good Privacy(tm) Version 6.5.8
(c) 1999 Network Associates Inc.
Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc.
Export of this software may be restricted by the U.S. government.


received signal 11

0 memory frags found
exitPGP: exitcode = 6

user1/home$ pgp +force -z "My PGP Key" samplefile.pgp
Pretty Good Privacy(tm) Version 6.5.8
(c) 1999 Network Associates Inc.
Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc.
Export of this software may be restricted by the U.S. government.

Error: Unable to open default key rings.
0 memory frags found
exitPGP: exitcode = 32


SOLUTION
-----------

I have checked the MANPATH,PATH for both users and did not get any difference.Later I have discovered that some files permission has been changed ( read permission has been removed for user1 ) in pgp home directory.I granted read permission to all users and it started working fine.

---: My blog is not responsible for any damages happened from the suggestion of my blog :---
Reach me at : m_a_hasim@yahoo.com

Labels:

0 Comments:

Post a Comment

<< Home