Skip to main content

sqlite3 database is locked

Comments

10 comments

  • cPanelMichael
    Hello, Internal case CPANEL-7835 should help to address this issue. It's included with cPanel version 58.0.17 and newer: Fixed case CPANEL-7835: Split dovecot lastlogin tracking into a seperate sqlite db. Could you let us know if the issue persists after updating to a version of cPanel that includes this resolution? Thank you.
    0
  • falgi
    Hello, Internal case CPANEL-7835 should help to address this issue. It's included with cPanel version 58.0.17 and newer: Fixed case CPANEL-7835: Split dovecot lastlogin tracking into a seperate sqlite db. Could you let us know if the issue persists after updating to a version of cPanel that includes this resolution? Thank you.

    I'm not really sure that this issue persists after updating. Please help me :)
    0
  • Infopro
    I'm not really sure that this issue persists after updating. Please help me :)

    What version of cPanel is your server running?
    0
  • falgi
    I use WHM 58.0 (build 20) Here is some of another error message Error: dict-client: server returned failure:
    0
  • Pedro Marques
    Hi, Having same issue with my server (WHM 58.0 (build 20)). Here's a sample error message found constantly in /var/log/maillog: Aug 15 16:54:10 xxx dovecot: dict(9185): Error: sqlite: exec(INSERT INTO lastlogin (login_stamp,username) VALUES ('1471276449','xxx@xxx.xxx')) failed: database is locked (5)
    0
  • Tony Castaneda
    Same issue
    /usr/local/cpanel/cpanel -V 58.0 (build 20) /var/log/maillog Aug 17 18:21:53 mail dovecot: dict(537): Error: sqlite: exec(INSERT INTO lastlogin (login_stamp,username) VALUES ('1471458112','REMOVED@REMOVED.com')) failed: database is locked (5) Aug 17 18:21:53 mail dovecot: dict(537): Error: sql dict: commit failed: database is locked
    0
  • Tony Castaneda
    ** Update Found out that the customer was connecting to 8 other boxes on the server at the same time and had ~25 connections from the same IP. I changed the WHM > Mailserver Configuration to 50 and that fixed the issue.
    0
  • bloatedstoat
    ** Update I changed the WHM > Mailserver Configuration to 50 and that fixed the issue.

    Which setting did you change to 50 @Tony Castenada?
    0
  • maquinadigital
    I'm also getting tons of these log line @ maillog, Error: sqlite: exec(INSERT INTO lastlogin (login_stamp,username) VALUES...failed: database is locked (5) Any help with this? I'm using CPanel 11.58.0.20
    0
  • cPanelMichael
    Hello, An additional case, CPANEL-7770, should correct this problem in cPanel 58.0.24: Fixed case CPANEL-7770: Switch to posix fs for dovecot lastlogin tracking You can review the full change log, information on updating cPanel/WHM, and information on the build/release process at:
    0

Please sign in to leave a comment.