Finally fixed it. Turns out I had to copy the sss folder from a
working machine to this machine. And then everything worked. Thanks!
:)
----
On Sat, Dec 3, 2016 at 1:43 AM, Lukas Slebodnik <lslebodn(a)redhat.com> wrote:
> On (03/12/16 06:33), Rolla Matthieu wrote:
>>Hello,
>>
>>Just recreate the folder /var/lib/sss/db and restart sssd and it should be
>>fine.
>>
> More folders need to be created and they need to have right owner
> asn permission.
>
>>Best Regards,
>>Matthieu ROLLA
>>
>>On Sat, Dec 3, 2016 at 1:05 AM, Ali, Saqib <docbook.xml(a)gmail.com> wrote:
>>
>>> I deleted /var/lib/sss/ by mistake. Now when I try to start SSSD, I
>>> get the following errors:
>>>
>>>
>>> (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.
>>>
>>>
>>> I have already tried uninstalling and re-installing sssd. That didn't
help.
>>>
> These directories are owned by package sssd-common on el/fedora/debian
> The package sssd is just a meta-package which depend on other packages.
>
> LS
> _______________________________________________
> sssd-users mailing list -- sssd-users(a)lists.fedorahosted.org
> To unsubscribe send an email to sssd-users-leave(a)lists.fedorahosted.org