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

SIP service error "database is locked" #276

Open
phibos opened this issue Feb 29, 2020 · 2 comments
Open

SIP service error "database is locked" #276

phibos opened this issue Feb 29, 2020 · 2 comments
Milestone

Comments

@phibos
Copy link
Member

phibos commented Feb 29, 2020

ISSUE TYPE
  • Bug Report
DIONAEA VERSION
0.8.0
CONFIGURATION

Shipped configuration.

OS / ENVIRONMENT
  • Docker Image with Ubuntu 18.04
SUMMARY

Only at the first start dionaea shows the following error message.

Traceback (most recent call last):
  File "lib/dionaea/python/dionaea/services.py", line 66, in start
    daemons = service.start(addr, iface=iface, config=srv.get("config", {}))
  File "lib/dionaea/python/dionaea/sip/__init__.py", line 89, in start
    daemon = SipSession(proto=proto, config=config)
  File "lib/dionaea/python/dionaea/sip/__init__.py", line 574, in __init__
    self.config = SipConfig(config=config)
  File "lib/dionaea/python/dionaea/sip/extras.py", line 93, in __init__
    self._cur.execute("CREATE TABLE IF NOT EXISTS sdp (name STRING, sdp STRING)")
sqlite3.OperationalError: database is locked
STEPS TO REPRODUCE

Install dionaea and run it for the first time or remove the SQLite database of the sip service.

EXPECTED RESULTS

No error.

ACTUAL RESULTS

@kounelios13
Copy link

Is there any workaround ?

@nikAizuddin
Copy link

Is there any workaround ?

Current workaround is to disable SIP service.

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

3 participants