-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database locked #31
Comments
Hi farrell. From some googling around, it looks like you're not the only person having database locking issues with sqlite3 and cifs/samba shares. Seems that it has something to do with support (or lack thereof) of fcntl() locks. Here's a Chris Adams article about the different types of file locks, which mentions the issue I think you're running into. Personally, I haven't run into this as an issue yet, even when writing to a samba volume from a dedicated BitCurator machine. But I will keep an eye out now and do some testing. I'm glad you have a workaround - I'm not quite sure at this point what a real solution might look like, though I'll certainly do some research. For your last question, no - the sqlite db is pretty crucial to the whole thing working. Without that step there are no reports, so functionally it would basically just be running Siegfried and ClamAV for you. |
hahaha. Well, yes, sounds like the sqlite db is necessary. Our workaround is fine (drop brunnhilde output on the VM desktop and copy to the share when finished). |
@laissezfarrell 4+ years later, would you like a solution to this issue? It occurs to me now that I could add a flag that would use an in-memory sqlite database, if that's still useful/of interest! |
@laissezfarrell Brunnhilde 1.9.3 now has an |
brunnhilde-error.txt
Attached is an error I'm getting running Brunnhilde in BitCurator 1.8.12 (VM running in Hyper-V). The Brunnhilde is attempting to write the output files to a CIFS volume. Linux mounts the volume with full read/write/execute permissions, but it seems that Brunnhilde breaks when it attempts to create the SQL db.
Brunnhilde works fine when writing to the VM's virtual storage, so we have a workaround. I'm just wondering if you've seen anything like this before.
Related question: is it possible for the user to disable the SQL DB creation step?
The text was updated successfully, but these errors were encountered: