koutto / jok3r

Jok3r v3 BETA 2 - Network and Web Pentest Automation Framework

Home Page:https://www.jok3r-framework.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Database is Locked"

bowojori7 opened this issue · comments

I get an error message when I try to start a scan: "Database is locked"

I have been running multiple scans with zero issues for a while now.

One of the scans encountered the same error and I quit it. Subsequent scans have been stopping with the same error at the "check if service is reachable" point at the beginning of the scan

.

Help please.

I have attached screenshots for clarity.

Screen Shot 2019-12-19 at 12 32 34
Screen Shot 2019-12-19 at 12 32 42

This issue is due to the limitation of sqlite that does not allow concurrent write access to the database.
If you continue to have this issue, run one jok3r process at a time, and if not enough, make a backup of your local.db file by moving it somewhere else. It will allow jok3r to start from a fresh database, but you lose the current content of course.
It is just a temporary solution, because i am moving to postgresql, which will remove this problem.

Thank you!