that returns a bunch of of permission denied notifications, running with sudo returns absolutely nothing for both /tmp and /var
that returns a bunch of of permission denied notifications, running with sudo returns absolutely nothing for both /tmp and /var
hi
ok let's try "strace".
open a terminal and run: strace -f -o bla.txt -e trace=open,fcntl,stat name_how_you_start_your_database
post the output of bla or have a look by yourself at the file. it is plain ascii. you have to look for the fcntl systemcall - looks like
fcntl(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
go back in the trace until you find the open-call with the file-descriptor (here 3)
the open-call looks like: open("blu", O_RDWR) = 3
and you can see that the process want to lock "blu". this should be the lockfile.
move this file "blu" to _blu and try to start your database again.
good luck
ciao
"What is the robbing of a bank compared to the FOUNDING of a bank?" Berthold Brecht
Could try looking at your hidden config files in your home directory.
Possibly a .lock file that wasn't released due to the crash.
Maybe delete ~/.config/darktable if it exists.
Last edited by stinkeye; April 11th, 2013 at 04:33 AM.
output of that strace command is the very same database locked- message
in bla.txt, I found ".config/darktable/library.db", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 4"
I renamed the file, and now darktable starts!! Apparently the database contained just thumbnail images.
Thank you all!
kurja;
That is great news, pleased it is resolved. -> strace to the rescue again !
Please mark this thread as "solved" it aids all, those seeking solutions and the helpers time, and keeps the forum tidier.
interim method:
Go to the first post in your thread. Click on "Edit Post". Now click on the orange "Go Advanced" button. In the advanced editor change the prefix to "SOLVED". Now click on the orange "Save Changes" button.
best regards
thanks again - you know, I was just going to post again asking how on earth am I supposed to mark the issue as solved I could swear it was under thread tools not a long time ago....
kurja;
solved: Our mods are working on it to make it so once again.
Take care and my regards
Bookmarks