random_seed - no locks available
M Russell
brewsome at hotmail.com
Mon Apr 29 16:43:54 CEST 2013
Hello,
I hope someone might be able to lend me a hand. I am running into an error message that I resolve. I get a lock error when trying to encrypt or decrypt a file. I found other forums that suggest deleting the random_seed file and killing the rpm process, but I don't have a rpm process running. Renaming the file allowed the system to recreate the random_seed file, but the error persists. I have noticed the file size is 0 which would be appropriate since the file cannot be locked. An strace shows the error message, but it doesn't appear to point anything else out. A lsof doesn't show the file is open. I'm not sure where else to look. Has anyone seen this and have any suggestions?
I'm running centos 6.2, gnupg 2.0.14, libgcrypt 1.4.5
can't lock `/home/mruss/.gnupg/random_seed': No locks available
note: random_seed file not updated
open("/home/mruss/.gnupg/random_seed", O_RDONLY) = 10
fcntl(10, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = -1 ENOLCK (No locks available)
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "can't lock `/home/mruss/.gnupg/random_seed': No locks available\n", 68) = 68
close(10) = 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20130429/3e4ec975/attachment.html>
More information about the Gnupg-users
mailing list