I was adding a new user and received following error.
[sss_cache] sysdb_domain_cache_connect: DB version too old [0.22], expected [0.23] for domain implicit_files!
Higher version of database is expected!
In order to upgrade the database, you must run SSSD.
Removing cache files in /var/lib/sss/db should fix the issue, but note that removing cache files will also remove all of your cached credentials.
Could not open available domains
[sss_cache] sysdb_domain_cache_connect: DB version too old [0.22], expected [0.23] for domain implicit_files!
Higher version of database is expected!
In order to upgrade the database, you must run SSSD.
Removing cache files in /var/lib/sss/db should fix the issue, but note that removing cache files will also remove all of your cached credentials.
Could not open available domains
To solve above issue first I tried to clear the cache using
sss_cache -E
Cleaning cache command did not help then followed the step mentioned in error discretion above.
- stopped the SSSD before removing cache files at
/var/lib/sss/db
and command used [root@centos-10d ~]# systemctl stop sssd - Removed SSSD cache, [root@centos-10d ~]# rm -rf /var/lib/sss/db/*
- Restart SSSD, [root@centos-10d ~]# systemctl restart sssd
SSSD started without any error, I existed and re-login and proceeded with useradd