SQLite unlock database

From GRASS-Wiki
Revision as of 03:33, 9 February 2013 by NikosA (talk | contribs) (Retouched, re-wording)

Jump to: navigation, search


A GRASS module crashed and left the sqlite database locked. How can I unlock the sqlite database?


Make sure the database file isn't granted read-only permissions and/or that the database isn't already accessed by another application. E.g.:

$ ps aux | grep sqlite
martin   21118  0.0  0.3  21456  3176 pts/1    S    Dec04   0:00 /usr/local/src/grass6_devel/dist.i686-pc-linux-gnu/driver/db/sqlite

To kill the process:

$ kill -9 21118