-
Notifications
You must be signed in to change notification settings - Fork 23
users can not login - database is locked, unable to open database file #475
Description
Is there an existing issue for this?
- I have searched the existing issues and found none that matched mine
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-auth version: please run
aad-cli version - Distribution: (NAME in
/etc/os-release) - Distribution version: (VERSION_ID on
/etc/os-release):
Log files
Please redact/remove sensitive information:
aad-auth logs can be found in the system journal and queried with:
`journalctl | grep _aad`
Application settings
Please redact/remove sensitive information:
You can get the configuration file from /etc/aad.conf
Relevant information
N/A
Double check your logs
- I have redacted any sensitive information from the logs