我删掉了/var/lib/sss/db/config.ldb错误。现在,当我尝试启动 SSSD 时,出现以下错误:
(Wed Nov 23 11:40:36:059914 2016) [sssd] [check_file] (0x0400): lstat for [/var/run/nscd/socket] failed: [2][No such file or directory].
(Wed Nov 23 11:40:36:061661 2016) [sssd] [ldb] (0x0400): ltdb: tdb(/var/lib/sss/db/config.ldb): tdb_open_ex: could not open file /var/lib/sss/db/config.ldb: No such file or directory
(Wed Nov 23 11:40:36:061686 2016) [sssd] [ldb] (0x0020): Unable to open tdb '/var/lib/sss/db/config.ldb': No such file or directory
(Wed Nov 23 11:40:36:061699 2016) [sssd] [ldb] (0x0020): Failed to connect to '/var/lib/sss/db/config.ldb' with backend 'tdb': Unable to open tdb '/var/lib/sss/db/config.ldb': No such file or directory
(Wed Nov 23 11:40:36:061709 2016) [sssd] [confdb_init] (0x0010): Unable to open config database [/var/lib/sss/db/config.ldb]
(Wed Nov 23 11:40:36:061838 2016) [sssd] [load_configuration] (0x0010): The confdb initialization failed
(Wed Nov 23 11:40:36:061865 2016) [sssd] [main] (0x0020): SSSD couldn't load the configuration database.
我如何恢复此文件?
答案1
尝试一下yum reinstall sssd-common
,这对我有用。