安装docker时报错(0x0010): DB version too old [0.23], expected [0.24] for domain implicit_files!
错误提示
[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服务即可解决。