0

For some reason SSSD 1.11.7_19 won't start on my development VM running FreeBSD 12.0-RELEASE r341666 GENERIC amd64

root@dev:/ # service sssd start
Starting sssd.
/usr/local/etc/rc.d/sssd: WARNING: failed to start sssd

Here is my /usr/local/etc/sssd/sssd.conf (comments omitted):

[sssd]
config_file_version = 2
services = nss, pam
domains = lab.local

[nss]

[pam]

[domain/lab.local]
id_provider = ldap
auth_provider = ldap
access_provider = ldap
chpass_provider = ldap
ldap_schema = rfc2307
ldap_uri = ldaps://ds.lab.local
ldap_search_base = dc=lab,dc=local

I'm getting the following in /var/log/sssd.log.

(Tue Aug 13 18:21:56 2019) [sssd] [ldb] (0x0010): Failed to unlock db: ../ldb_tdb/ldb_tdb.c:147: Reusing ldb opend by pid 769 in process 770 / Protocol error

When I start sssd with the -d7 flag, I get this additional info in /var/log/sssd.log.

(Wed Aug 14 10:25:36:273804 2019) [sssd] [check_file] (0x0400): lstat for [/var/run/nscd/socket] failed: [2][No such file or directory].
(Wed Aug 14 10:25:36:289627 2019) [sssd] [ldb] (0x0400): server_sort:Unable to register control with rootdse!
(Wed Aug 14 10:25:36:295324 2019) [sssd] [confdb_get_domain_internal] (0x0400): No enumeration for [lab.local]!
(Wed Aug 14 10:25:36:295369 2019) [sssd] [confdb_get_domain_internal] (0x1000): pwd_expiration_warning is -1
(Wed Aug 14 10:25:36:295422 2019) [sssd] [server_setup] (0x0040): Becoming a daemon.
(Wed Aug 14 10:25:36:297006 2019) [sssd] [ldb] (0x0400): server_sort:Unable to register control with rootdse!
(Wed Aug 14 10:25:36 2019) [sssd] [server_setup] (0x0400): CONFDB: /var/db/sss/config.ldb
(Wed Aug 14 10:25:36 2019) [sssd] [ldb] (0x0010): Failed to unlock db: ../ldb_tdb/ldb_tdb.c:147: Reusing ldb opend by pid 765 in process 766
 / Protocol error
(Wed Aug 14 10:25:36 2019) [sssd] [confdb_get_param] (0x0020): Failed to get [krb5_rcache_dir] from [config/sssd], error [5] (Input/output error)
(Wed Aug 14 10:25:36 2019) [sssd] [confdb_get_string] (0x0020): Failed to get [krb5_rcache_dir] from [config/sssd], error [5] (Input/output error)

Can anyone tell me what this means? The PIDs referenced don't exist when I do ps -auxw | grep <pid>. FWIW, LDAP is working fine:

root@dev:~ # ldapsearch -D "cn=admin,dc=lab,dc=local" -W
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=lab,dc=local> (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# lab.local
dn: dc=lab,dc=local
dc: lab
description: ...
objectClass: dcObject
objectClass: organization
o: ...

# people, lab.local
dn: ou=people,dc=lab,dc=local
ou: people
description: All people in organisation
objectClass: organizationalUnit

...
# search result
search: 2
result: 0 Success

# numResponses: 10
# numEntries: 9
root@dev:~ #

All I find when I google the error are code repos and bug reports that don't seem useful. TIA.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.