Skip to content
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

sqlite3.OperationalError: database is locked #40

Closed
qsdj opened this issue Sep 27, 2017 · 1 comment
Closed

sqlite3.OperationalError: database is locked #40

qsdj opened this issue Sep 27, 2017 · 1 comment

Comments

@qsdj
Copy link

qsdj commented Sep 27, 2017

[22:50:42][scan_engine][fingerprint_targets] 9906 fingerprints remaining
[22:50:52][scan_engine][fingerprint_targets] Caught exception: OperationalError
[22:50:52][scan_engine][fingerprint_targets] Exception: OperationalError: database is locked
[22:50:53][scan_engine][fingerprint_targets] 9906 fingerprints remaining
[22:51:03][scan_engine][fingerprint_targets] Caught exception: OperationalError
[22:51:03][scan_engine][fingerprint_targets] Exception: OperationalError: database is locked
[22:51:03][scan_engine][scan] Fingerprinting completed
Traceback (most recent call last):
File "changeme.py", line 6, in
core.main()
File "/home/root/Desktop/changeme/changeme/core.py", line 69, in main
s.scan()
File "/home/root/Desktop/changeme/changeme/scan_engine.py", line 63, in scan
while self.scanners.qsize() > 0:
File "/usr/local/lib/python2.7/dist-packages/persistqueue/sqlqueue.py", line 84, in qsize
return self.size
File "/usr/local/lib/python2.7/dist-packages/persistqueue/sqlqueue.py", line 81, in size
return self._count()
File "/usr/local/lib/python2.7/dist-packages/persistqueue/sqlbase.py", line 121, in _count
row = self._putter.execute(sql).fetchone()
sqlite3.OperationalError: database is locked

Hi brother, I have this problem. How can I solve this problem? thank you !

@ztgrace
Copy link
Owner

ztgrace commented Sep 27, 2017

Hi @qsdj - Please install a redis server for better performance. As this is a duplicate of #38 I'm closing this issue.

@ztgrace ztgrace closed this as completed Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants