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

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

剩余内容需解锁后查看

您需要赞助解锁才能查看当前内容

赞助者赞助者免费
已付费?登录刷新

原创文章,作者:保哥,如若转载,请注明出处:https://www.shizhanxia.com/2063.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
保哥的头像保哥
上一篇 2024年12月13日 11:16
下一篇 2024年12月14日 07:26

相关推荐

发表回复

登录后才能评论