Closed yobyot closed 10 months ago
Something went wrong somewhere, and you are right, that is an error, but we ought to be able to recover from it.
ot-recorder
OTR_STORAGEDIR
there's a ghash/
directory. Copy (don't move) that aside please for backup.rm
) the ghash/lock.mdb
file, leaving data.mdb
in place.ot-recorder --initialize
, possibly specifying the path to your OTR_STORAGEDIR
directory if necessary with -s
. The lock.mdb
file should be created and the timestamp of the data.mdb
should be unchanged.ot-recorder
Thanks, @jpmens.
This appears to have worked, though as you can see in the screenshot below, the timestamp of data.mdb
was changed to match the timestamp of the new lock.mdb
.
Is there anything else I might try to get at the cause of this issue? It's not especially practical to use Recorder for my use case if it randomly stops providing consistent results via the API and requires manual intervention to reset the ghash database and/or its locks.
Glad it's working again.
We've experienced the situation with the lock file only very sporadically over the last years, and it's difficult to reproduce. It has been known to happen on SIGKILL of the recorder process and when two recorders are mistakenly launched simultaneously.
Thanks for your help.
Hello,
I would appreicate any suggestions on how to resolve the following issue shown in the attached screenshot.
In the screenshot, I have used Postman to request from the Recorder API a series of fields, including
addr
. As you can see in the lower portion of the image, ghashes are returned but noaddr
fields are returned.However, an
ocat --dump
returns a ghash for the location.I've restarted Recorder several times and rebooted the VM it runs in as well.
This was working and stopped. A search of the logs shows that each Postman request generates the following log entries, which I think is some kind of error:
Thanks in advance.