in reply to [SOLVED]: DBD::SQLite "file is encrypted or is not a database" in running application
Not sure if this will be helpful or not, even if it is correct.
Based totally upon your description -- or more correctly, my interpretation of your description -- this sounds like a classic case of corruption due to overlapping concurrent writes to a system that has no protection -- locking -- against it.
If that is a possibility -- hard to tell from the description -- then my first step to confirm the diagnosis would be to implement a very simple locking mechanism. On windows I'd use a CriticalSection as a starting point -- it's not the most efficient mechanism, but it is simple and robust. If that confirmed the diagnosis I'd then look to use one of the more efficient, lightweight mechanisms.
I can't advise on appropriate mechanisms for *nix.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBD::SQLite "file is encrypted or is not a database" in running application
by stevieb (Canon) on Oct 09, 2016 at 22:47 UTC | |
by Marshall (Canon) on Oct 10, 2016 at 00:38 UTC |