DB version too old [0.22], expected [0.24] for domain implicit_files

将rhel8.10系统升级到最新版后,在使用useradd命令创建用户时,收到了如下错误信息:

[sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old [0.22], 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.22], 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

解决方案

检查/var/log/message日志,发现如下信息提示:

ec 13 11:07:00 yunweixia.com useradd[109696]: new group: name=app03, GID=1003
Dec 13 11:07:00 yunweixia.com useradd[109696]: new user: name=app03, UID=1003, GID=1003, home=/home/app03, shell=/bin/bash
Dec 13 11:07:00 yunweixia.com useradd[109696]: useradd: sss_cache exited with status 74
Dec 13 11:07:00 yunweixia.com useradd[109696]: useradd: Failed to flush the sssd cache.
Dec 13 11:07:00 yunweixia.com useradd[109696]: useradd: sss_cache exited with status 74
Dec 13 11:07:00 yunweixia.com useradd[109696]: useradd: Failed to flush the sssd cache.
Dec 13 11:09:32 yunweixia.com useradd[109707]: failed adding user 'app03', exit code: 9

使用以下命令手动删除缓存。

剩余内容需解锁后查看

您需要订阅解锁才能查看当前内容

订阅用户订阅用户免费
已付费?登录刷新

原创文章,作者:运维侠,如若转载,请注明出处:https://www.yunweixia.com/solutions/db-version-too-old-022-expected-024-for-domain-implicit-files.html

(0)
运维侠的头像运维侠共建用户
上一篇 2025年6月5日 15:24
下一篇 2025年6月7日 18:11

相关推荐

发表回复

登录后才能评论