Friday, March 28, 2014

Re: Database Error (SQLite) Database is locked

You can try finding the lock (assuming you are on unix):

$ which fuser

$ fuser db.sqlite3 
db.sqlite3: 84349

$ ps aux | grep 84349
kelvin   84349   0.0  0.1   491220   4776   ??  S    Fri03PM   3:24.57 /Applications/SQLite Database

This shows candidates that might have locks on the db. You can try closing them or killing them (ie. kill 84349)

fuser - list process IDs of all processes that have one or more files open


On Friday, March 28, 2014 6:22:33 AM UTC-7, KEVIN HUNGAI wrote:
Hi all  am using django-registration app in one of my projects and sqlite3 for the database. I keep getting  Database Error (SQLite) Database is locked   everytime i try access the login page. Can someone please assist me on where the issue might be

Thank you

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment