首页 » Linux » CentOS » [sss_cache] DB version too old问题

[sss_cache] DB version too old问题

 

最近升级了Rocky Linux 8.10版,升级后发现,在dnf安装包组、创建删除用户等,看到sss_cache缓存提示版本过旧。这可能是由于SSSD版本升级、缓存库损坏等原因导致。具体提示内容如下:

[sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old [0.23], expected [0.24] 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] (0x0010): DB version too old [0.23], expected [0.24] 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] (0x0010): DB version too old [0.23], expected [0.24] 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] (0x0010): DB version too old [0.23], expected [0.24] 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

解决办法:

刷新缓存数据,假设你在LDAP服务器上更新了用户信息,但系统仍然使用旧的缓存数据。你可以运行以下命令来刷新数据,确保在适当的时间运行,避免对正在运行的系统造成影响。

如果本身sssd状态systemctl status sssd就是未启动的,可尝试删除缓存文件解决。注意:在执行操作前,建议备份重要数据,并确保你了解这些操作可能带来的影响和后果。

如果本身sssd状态已经启动的,可尝试停止重新启动该服务,或检查配置文件等。

 

原文链接:[sss_cache] DB version too old问题,转载请注明来源!

0