This repository has been archived by the owner on May 2, 2024. It is now read-only.
users can not login - database is locked, unable to open database file #475
Labels
bug
Something isn't working
Is there an existing issue for this?
Describe the issue
journalctl -b0 | grep _aad # this will show both logs
Mar 05 05:59:22 Ubuntu aad_auth[1533671]: nss_aad: database error: unable to open database file: /var/lib/aad/cache/passwd.db
Mar 05 06:05:15 Ubuntu aad_auth[1533671]: nss_aad: database error: unable to open database file: /var/lib/aad/cache/passwd.db
Mar 05 06:25:06 Ubuntu aad_auth[1682366]: nss_aad: database error: database is locked
Mar 05 06:32:24 Ubuntu aad_auth[1533671]: nss_aad: database error: unable to open database file: /var/lib/aad/cache/passwd.db
Mar 05 06:35:10 Ubuntu aad_auth[1533671]: nss_aad: database error: unable to open database file: /var/lib/aad/cache/passwd.db
Mar 05 06:54:26 Ubuntu aad_auth[1694666]: nss_aad: database error: database is locked
problems happens from time to time
it would be good if it was noted in the documentation how to reset the cache. can the files just be deleted? is there a command to reset the cache or unlock the database?
Steps to reproduce it
ubuntu 23.10
we have done
apt update
apt upgrade
Ubuntu users: System information and logs
N/A
Non Ubuntu users: System information and logs
Environment
aad-cli version
/etc/os-release
)/etc/os-release
):Log files
Please redact/remove sensitive information:
Application settings
Please redact/remove sensitive information:
Relevant information
N/A
Double check your logs
The text was updated successfully, but these errors were encountered: