(0x0010): DB version too old [0.23], expected [0.24] for domain implicit_files!

环境:rocky linux release 8.10 (Green Obsidian) 、sssd

问题:用户在rocky上创建新用户时报错,信息如下:
[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

解决方法:

如果系统上没有运行 sssd.service,只需启动一次 sssd.service,即可升级数据库。

systemctl status sssd.service
systemctl start sssd.service
systemctl stop sssd.service
systemctl status sssd.service

注意:如果没有 /etc/sssd/sssd.conf,则需要按如下方式创建,之后应将其删除

ls -l /etc/sssd/sssd.conf
cat << 'EOF' > /etc/sssd/sssd.conf
[sssd]
enable_files_domain = true
EOF
chmod 600 /etc/sssd/sssd.conf

根因:

有可能是经过sssd版本升级造成的问题,比如sssd-2.3升级到sssd-2.5,或者文件被修改也会产生该问题,只要重新启停sssd.service服务即可解决。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值