SQLITE_BUSY (database is locked)

azednetma

Active Member
Oct 27, 2015
41
3
8
Marrakech
cPanel Access Level
Root Administrator
Hello,

In ModSecurity™ Tools this error appeared:

Error: The following exception has occurred: API failure: (XID tepgbk) The system received an error from the “SQLite” database “/var/cpanel/modsec/modsec.sqlite”: SQLITE_BUSY (database is locked)

How to fix it please?

Thanks
 

Vs Nu

Well-Known Member
Jul 17, 2015
105
7
68
India
cPanel Access Level
Root Administrator
Code:
/scripts/restartsrv_tailwatchd --stop

mv /var/cpanel/modsec/modsec.sqlite /var/cpanel/modsec/modsec.sqlite.old1

/usr/local/cpanel/scripts/setup_modsec_db

/scripts/restartsrv_tailwatchd --start
It should solve the issue
 
  • Like
Reactions: cPanelLauren

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,255
313
Houston
This thread discusses this as well: