Hi, I would test the new features (autofs !!!) in sssd-1.11.0 version in Ubuntu Saucy, and I am using native sssd package. I use working config file from sssd-1.9.4 Daemon doesn't start:
root@saucy:/var/lib/sss# sssd -i (Mon Sep 9 18:30:36:657103 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 9 18:30:36:657280 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 9 18:30:36:657466 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database. root@saucy:/var/lib/sss# sssd -d 9 -i (Mon Sep 9 18:30:54:183407 2013) [sssd] [check_file] (0x0400): lstat for [/var/run/nscd/socket] failed: [2][No such file or directory]. (Mon Sep 9 18:30:54:205801 2013) [sssd] [ldb] (0x0400): server_sort:Unable to register control with rootdse! (Mon Sep 9 18:30:54:346409 2013) [sssd] [ldb] (0x4000): no modules required by the db (Mon Sep 9 18:30:54:346850 2013) [sssd] [ldb] (0x4000): No modules specified for this database (Mon Sep 9 18:30:54:347236 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:358172 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:368474 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:378564 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:388571 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:398769 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:410711 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 9 18:30:54:411510 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 9 18:30:54:412372 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database.
root@saucy:/var/lib/sss# ls -l db total 1256 -rw------- 1 root root 1286144 Sep 9 18:30 config.ldb
Best Longina
On Tue, Sep 10, 2013 at 01:29:54PM +0000, Longina Przybyszewska wrote:
Hi, I would test the new features (autofs !!!) in sssd-1.11.0 version in Ubuntu Saucy, and I am using native sssd package. I use working config file from sssd-1.9.4 Daemon doesn't start:
root@saucy:/var/lib/sss# sssd -i (Mon Sep 9 18:30:36:657103 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 9 18:30:36:657280 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 9 18:30:36:657466 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database. root@saucy:/var/lib/sss# sssd -d 9 -i (Mon Sep 9 18:30:54:183407 2013) [sssd] [check_file] (0x0400): lstat for [/var/run/nscd/socket] failed: [2][No such file or directory]. (Mon Sep 9 18:30:54:205801 2013) [sssd] [ldb] (0x0400): server_sort:Unable to register control with rootdse! (Mon Sep 9 18:30:54:346409 2013) [sssd] [ldb] (0x4000): no modules required by the db (Mon Sep 9 18:30:54:346850 2013) [sssd] [ldb] (0x4000): No modules specified for this database (Mon Sep 9 18:30:54:347236 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:358172 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:368474 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:378564 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:388571 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:398769 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:410711 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 9 18:30:54:411510 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 9 18:30:54:412372 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database.
root@saucy:/var/lib/sss# ls -l db total 1256 -rw------- 1 root root 1286144 Sep 9 18:30 config.ldb
Best Longina
How does the [sssd] section of your config file look like?
Does adding "config_file_version = 2" if not present fix the problem?
It should be ok: [sssd] config_file_version = 2 debug_level = 9 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam domains = xxx.sdu.dk, zzz.sdu.dk ...
Longina -----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Jakub Hrozek Sent: 10. september 2013 15:41 To: sssd-users@lists.fedorahosted.org Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
On Tue, Sep 10, 2013 at 01:29:54PM +0000, Longina Przybyszewska wrote:
Hi, I would test the new features (autofs !!!) in sssd-1.11.0 version in Ubuntu Saucy, and I am using native sssd package. I use working config file from sssd-1.9.4 Daemon doesn't start:
root@saucy:/var/lib/sss# sssd -i (Mon Sep 9 18:30:36:657103 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 9 18:30:36:657280 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 9 18:30:36:657466 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database. root@saucy:/var/lib/sss# sssd -d 9 -i (Mon Sep 9 18:30:54:183407 2013) [sssd] [check_file] (0x0400): lstat for [/var/run/nscd/socket] failed: [2][No such file or directory]. (Mon Sep 9 18:30:54:205801 2013) [sssd] [ldb] (0x0400): server_sort:Unable to register control with rootdse! (Mon Sep 9 18:30:54:346409 2013) [sssd] [ldb] (0x4000): no modules required by the db (Mon Sep 9 18:30:54:346850 2013) [sssd] [ldb] (0x4000): No modules specified for this database (Mon Sep 9 18:30:54:347236 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:358172 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:368474 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:378564 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:388571 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:398769 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:410711 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 9 18:30:54:411510 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 9 18:30:54:412372 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database.
root@saucy:/var/lib/sss# ls -l db total 1256 -rw------- 1 root root 1286144 Sep 9 18:30 config.ldb
Best Longina
How does the [sssd] section of your config file look like?
Does adding "config_file_version = 2" if not present fix the problem? _______________________________________________ sssd-users mailing list sssd-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-users
This is VM machine and does not have DNS entry. Could it be the reason?
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Longina Przybyszewska Sent: 10. september 2013 16:04 To: 'End-user discussions about the System Security Services Daemon' Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
It should be ok: [sssd] config_file_version = 2 debug_level = 9 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam domains = xxx.sdu.dk, zzz.sdu.dk ...
Longina -----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Jakub Hrozek Sent: 10. september 2013 15:41 To: sssd-users@lists.fedorahosted.org Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
On Tue, Sep 10, 2013 at 01:29:54PM +0000, Longina Przybyszewska wrote:
Hi, I would test the new features (autofs !!!) in sssd-1.11.0 version in Ubuntu Saucy, and I am using native sssd package. I use working config file from sssd-1.9.4 Daemon doesn't start:
root@saucy:/var/lib/sss# sssd -i (Mon Sep 9 18:30:36:657103 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 9 18:30:36:657280 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 9 18:30:36:657466 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database. root@saucy:/var/lib/sss# sssd -d 9 -i (Mon Sep 9 18:30:54:183407 2013) [sssd] [check_file] (0x0400): lstat for [/var/run/nscd/socket] failed: [2][No such file or directory]. (Mon Sep 9 18:30:54:205801 2013) [sssd] [ldb] (0x0400): server_sort:Unable to register control with rootdse! (Mon Sep 9 18:30:54:346409 2013) [sssd] [ldb] (0x4000): no modules required by the db (Mon Sep 9 18:30:54:346850 2013) [sssd] [ldb] (0x4000): No modules specified for this database (Mon Sep 9 18:30:54:347236 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:358172 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:368474 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:378564 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:388571 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:398769 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 9 18:30:54:410711 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 9 18:30:54:411510 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 9 18:30:54:412372 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database.
root@saucy:/var/lib/sss# ls -l db total 1256 -rw------- 1 root root 1286144 Sep 9 18:30 config.ldb
Best Longina
How does the [sssd] section of your config file look like?
Does adding "config_file_version = 2" if not present fix the problem? _______________________________________________ sssd-users mailing list sssd-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-users _______________________________________________ sssd-users mailing list sssd-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-users
On Tue, Sep 10, 2013 at 02:04:02PM +0000, Longina Przybyszewska wrote:
It should be ok: [sssd] config_file_version = 2 debug_level = 9 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam domains = xxx.sdu.dk, zzz.sdu.dk ...
Longina
I see..can you check what version of libiniconfig do you have?
aptitude show libini-config aptitude show libini-config2
root@saucy:/var/lib/sss# aptitude show libini-config No current or candidate version found for libini-config Package: libini-config State: not a real package Provided by: libini-config3
root@saucy:/var/lib/sss# aptitude show libini-config2 E: Unable to locate package libini-config2
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Jakub Hrozek Sent: 10. september 2013 16:22 To: sssd-users@lists.fedorahosted.org Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
On Tue, Sep 10, 2013 at 02:04:02PM +0000, Longina Przybyszewska wrote:
It should be ok: [sssd] config_file_version = 2 debug_level = 9 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam domains = xxx.sdu.dk, zzz.sdu.dk ...
Longina
I see..can you check what version of libiniconfig do you have?
aptitude show libini-config aptitude show libini-config2 _______________________________________________ sssd-users mailing list sssd-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-users
root@saucy:/var/lib/sss# aptitude show libini-config3 Package: libini-config3 State: installed Automatically installed: yes Multi-Arch: same Version: 0.3.0.1-1 Priority: extra Section: universe/libs Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Architecture: amd64 Uncompressed Size: 113 k Depends: libbasicobjects0 (>= 0.3.0.1), libc6 (>= 2.14), libcollection2 (>= 0.3.0.1), libpath-utils1 (>= 0.3.0.1), libref-array1 (>= 0.3.0.1) PreDepends: multiarch-support Conflicts: libini-config, libini-config Breaks: libini-config3 (!= 0.3.0.1-1) Replaces: libini-config, libini-config, libini-config3 (< 0.3.0.1-1) Provides: libini-config Description: INI file parser for C Library to process config files in INI format into a libcollection data structure.
This package is part of the ding-libs, libraries that are required for the proper functioning of SSSD, the System Security Services Daemon. Homepage: https://fedorahosted.org/sssd/
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Longina Przybyszewska Sent: 10. september 2013 16:25 To: 'End-user discussions about the System Security Services Daemon' Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
root@saucy:/var/lib/sss# aptitude show libini-config No current or candidate version found for libini-config Package: libini-config State: not a real package Provided by: libini-config3
root@saucy:/var/lib/sss# aptitude show libini-config2 E: Unable to locate package libini-config2
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Jakub Hrozek Sent: 10. september 2013 16:22 To: sssd-users@lists.fedorahosted.org Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
On Tue, Sep 10, 2013 at 02:04:02PM +0000, Longina Przybyszewska wrote:
It should be ok: [sssd] config_file_version = 2 debug_level = 9 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam domains = xxx.sdu.dk, zzz.sdu.dk ...
Longina
I see..can you check what version of libiniconfig do you have?
aptitude show libini-config aptitude show libini-config2 _______________________________________________ sssd-users mailing list sssd-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-users _______________________________________________ sssd-users mailing list sssd-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-users
On Tue, Sep 10, 2013 at 02:28:36PM +0000, Longina Przybyszewska wrote:
root@saucy:/var/lib/sss# aptitude show libini-config3 Package: libini-config3 State: installed Automatically installed: yes Multi-Arch: same Version: 0.3.0.1-1 Priority: extra Section: universe/libs Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Architecture: amd64 Uncompressed Size: 113 k Depends: libbasicobjects0 (>= 0.3.0.1), libc6 (>= 2.14), libcollection2 (>= 0.3.0.1), libpath-utils1 (>= 0.3.0.1), libref-array1 (>= 0.3.0.1) PreDepends: multiarch-support Conflicts: libini-config, libini-config Breaks: libini-config3 (!= 0.3.0.1-1) Replaces: libini-config, libini-config, libini-config3 (< 0.3.0.1-1) Provides: libini-config Description: INI file parser for C Library to process config files in INI format into a libcollection data structure.
This package is part of the ding-libs, libraries that are required for the proper functioning of SSSD, the System Security Services Daemon. Homepage: https://fedorahosted.org/sssd/
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Longina Przybyszewska Sent: 10. september 2013 16:25 To: 'End-user discussions about the System Security Services Daemon' Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
root@saucy:/var/lib/sss# aptitude show libini-config No current or candidate version found for libini-config Package: libini-config State: not a real package Provided by: libini-config3
root@saucy:/var/lib/sss# aptitude show libini-config2 E: Unable to locate package libini-config2
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Jakub Hrozek Sent: 10. september 2013 16:22 To: sssd-users@lists.fedorahosted.org Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
On Tue, Sep 10, 2013 at 02:04:02PM +0000, Longina Przybyszewska wrote:
It should be ok: [sssd] config_file_version = 2 debug_level = 9 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam domains = xxx.sdu.dk, zzz.sdu.dk ...
Longina
I see..can you check what version of libiniconfig do you have?
aptitude show libini-config aptitude show libini-config2
Hi,
sorry for the late reply, it took some time before I was able to install Ubuntu Saucy. I tried running an example domain and everything works fine here.
Can you install ldb-tools (apt-get install ldb-tools) and run the following command: # ldbsearch -H /var/lib/sss/db/config.ldb -b cn=config version
Also if you temporarily mv the file /var/lib/sss/db/config.ldb and let SSSD regenerate it, does that help?
On Thu, Sep 12, 2013 at 01:11:26PM +0200, Jakub Hrozek wrote:
On Tue, Sep 10, 2013 at 02:28:36PM +0000, Longina Przybyszewska wrote:
root@saucy:/var/lib/sss# aptitude show libini-config3 Package: libini-config3 State: installed Automatically installed: yes Multi-Arch: same Version: 0.3.0.1-1 Priority: extra Section: universe/libs Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Architecture: amd64 Uncompressed Size: 113 k Depends: libbasicobjects0 (>= 0.3.0.1), libc6 (>= 2.14), libcollection2 (>= 0.3.0.1), libpath-utils1 (>= 0.3.0.1), libref-array1 (>= 0.3.0.1) PreDepends: multiarch-support Conflicts: libini-config, libini-config Breaks: libini-config3 (!= 0.3.0.1-1) Replaces: libini-config, libini-config, libini-config3 (< 0.3.0.1-1) Provides: libini-config Description: INI file parser for C Library to process config files in INI format into a libcollection data structure.
This package is part of the ding-libs, libraries that are required for the proper functioning of SSSD, the System Security Services Daemon. Homepage: https://fedorahosted.org/sssd/
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Longina Przybyszewska Sent: 10. september 2013 16:25 To: 'End-user discussions about the System Security Services Daemon' Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
root@saucy:/var/lib/sss# aptitude show libini-config No current or candidate version found for libini-config Package: libini-config State: not a real package Provided by: libini-config3
root@saucy:/var/lib/sss# aptitude show libini-config2 E: Unable to locate package libini-config2
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Jakub Hrozek Sent: 10. september 2013 16:22 To: sssd-users@lists.fedorahosted.org Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
On Tue, Sep 10, 2013 at 02:04:02PM +0000, Longina Przybyszewska wrote:
It should be ok: [sssd] config_file_version = 2 debug_level = 9 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam domains = xxx.sdu.dk, zzz.sdu.dk ...
Longina
I see..can you check what version of libiniconfig do you have?
aptitude show libini-config aptitude show libini-config2
Hi,
sorry for the late reply, it took some time before I was able to install Ubuntu Saucy. I tried running an example domain and everything works fine here.
Can you install ldb-tools (apt-get install ldb-tools) and run the following command: # ldbsearch -H /var/lib/sss/db/config.ldb -b cn=config version
Also if you temporarily mv the file /var/lib/sss/db/config.ldb and let SSSD regenerate it, does that help?
btw is it exactly the same config that had worked with a previous version of SSSD? Including newlines, blanks etc ?
Hi again, Yes, I use working example of sssd.conf. I removed all white spaces at the beginning of line, as I got some parsing errors pointing to lines which begin with space. I have checked sssd.conf for invisible characters - cat -A sssd.conf No other special characters then "$ =>new line"
Then, as you recommended :
root@saucy:/var/lib/sss/db# ls config.ldb root@saucy:/var/lib/sss/db# rm config.ldb root@saucy:/var/lib/sss/db# sssd -i (Mon Sep 16 19:55:08:312048 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 16 19:55:08:313699 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 16 19:55:08:314533 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database. root@saucy:/var/lib/sss/db# ls -l total 1256 -rw------- 1 root root 1286144 Sep 16 19:55 config.ldb root@saucy:/var/lib/sss/db# ldbsearch -H /var/lib/sss/db/config.ldb -b cn=config version server_sort:Unable to register control with rootdse! # returned 0 records # 0 entries # 0 referrals root@saucy:/var/lib/sss/db# ls -l total 1256 -rw------- 1 root root 1286144 Sep 16 19:55 config.ldb root@saucy:/var/lib/sss/db# file config.ldb config.ldb: TDB database version 6, little-endian hash size 10000 bytes root@saucy:/var/lib/sss/db#
What is going on????
Best, Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Jakub Hrozek Sent: 12. september 2013 14:02 To: sssd-users@lists.fedorahosted.org Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
On Thu, Sep 12, 2013 at 01:11:26PM +0200, Jakub Hrozek wrote:
On Tue, Sep 10, 2013 at 02:28:36PM +0000, Longina Przybyszewska wrote:
root@saucy:/var/lib/sss# aptitude show libini-config3 Package: libini-config3 State: installed Automatically installed: yes Multi-Arch: same Version: 0.3.0.1-1 Priority: extra Section: universe/libs Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Architecture: amd64 Uncompressed Size: 113 k Depends: libbasicobjects0 (>= 0.3.0.1), libc6 (>= 2.14), libcollection2 (>= 0.3.0.1), libpath-utils1 (>= 0.3.0.1), libref-array1 (>= 0.3.0.1) PreDepends: multiarch-support Conflicts: libini-config, libini-config Breaks: libini-config3 (!= 0.3.0.1-1) Replaces: libini-config, libini-config, libini-config3 (< 0.3.0.1-1) Provides: libini-config Description: INI file parser for C Library to process config files in INI format into a libcollection data structure.
This package is part of the ding-libs, libraries that are required for the proper functioning of SSSD, the System Security Services Daemon. Homepage: https://fedorahosted.org/sssd/
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Longina Przybyszewska Sent: 10. september 2013 16:25 To: 'End-user discussions about the System Security Services Daemon' Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
root@saucy:/var/lib/sss# aptitude show libini-config No current or candidate version found for libini-config Package: libini-config State: not a real package Provided by: libini-config3
root@saucy:/var/lib/sss# aptitude show libini-config2 E: Unable to locate package libini-config2
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Jakub Hrozek Sent: 10. september 2013 16:22 To: sssd-users@lists.fedorahosted.org Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
On Tue, Sep 10, 2013 at 02:04:02PM +0000, Longina Przybyszewska wrote:
It should be ok: [sssd] config_file_version = 2 debug_level = 9 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam domains = xxx.sdu.dk, zzz.sdu.dk ...
Longina
I see..can you check what version of libiniconfig do you have?
aptitude show libini-config aptitude show libini-config2
Hi,
sorry for the late reply, it took some time before I was able to install Ubuntu Saucy. I tried running an example domain and everything works fine here.
Can you install ldb-tools (apt-get install ldb-tools) and run the following command: # ldbsearch -H /var/lib/sss/db/config.ldb -b cn=config version
Also if you temporarily mv the file /var/lib/sss/db/config.ldb and let SSSD regenerate it, does that help?
btw is it exactly the same config that had worked with a previous version of SSSD? Including newlines, blanks etc ? _______________________________________________ sssd-users mailing list sssd-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-users
Some more debugging output:
root@saucy:/etc/sssd# sssd -i -d 9 -c /etc/sssd/sssd.conf (Mon Sep 16 20:21:20:853610 2013) [sssd] [check_file] (0x0400): lstat for [/var/run/nscd/socket] failed: [2][No such file or directory]. (Mon Sep 16 20:21:20:874930 2013) [sssd] [ldb] (0x0400): server_sort:Unable to register control with rootdse! (Mon Sep 16 20:21:20:962370 2013) [sssd] [ldb] (0x4000): no modules required by the db (Mon Sep 16 20:21:20:962802 2013) [sssd] [ldb] (0x4000): No modules specified for this database (Mon Sep 16 20:21:20:963211 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 16 20:21:20:974202 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 16 20:21:20:984829 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 16 20:21:20:995549 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 16 20:21:21:005729 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 16 20:21:21:016172 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 16 20:21:21:028011 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 16 20:21:21:028790 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 16 20:21:21:029986 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database. root@saucy:/etc/sssd# ls -l /var/lib/sss/db total 1256 -rw------- 1 root root 1286144 Sep 16 20:21 config.ldb root@saucy:/etc/sssd# file /var/lib/sss/db/config.ldb /var/lib/sss/db/config.ldb: TDB database version 6, little-endian hash size 10000 bytes
It seems that I am missing something..
Best, Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Longina Przybyszewska Sent: 17. september 2013 10:55 To: 'End-user discussions about the System Security Services Daemon' Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
Hi again, Yes, I use working example of sssd.conf. I removed all white spaces at the beginning of line, as I got some parsing errors pointing to lines which begin with space. I have checked sssd.conf for invisible characters - cat -A sssd.conf No other special characters then "$ =>new line"
Then, as you recommended :
root@saucy:/var/lib/sss/db# ls config.ldb root@saucy:/var/lib/sss/db# rm config.ldb root@saucy:/var/lib/sss/db# sssd -i (Mon Sep 16 19:55:08:312048 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 16 19:55:08:313699 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 16 19:55:08:314533 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database. root@saucy:/var/lib/sss/db# ls -l total 1256 -rw------- 1 root root 1286144 Sep 16 19:55 config.ldb root@saucy:/var/lib/sss/db# ldbsearch -H /var/lib/sss/db/config.ldb -b cn=config version server_sort:Unable to register control with rootdse! # returned 0 records # 0 entries # 0 referrals root@saucy:/var/lib/sss/db# ls -l total 1256 -rw------- 1 root root 1286144 Sep 16 19:55 config.ldb root@saucy:/var/lib/sss/db# file config.ldb config.ldb: TDB database version 6, little-endian hash size 10000 bytes root@saucy:/var/lib/sss/db#
What is going on????
Best, Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Jakub Hrozek Sent: 12. september 2013 14:02 To: sssd-users@lists.fedorahosted.org Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
On Thu, Sep 12, 2013 at 01:11:26PM +0200, Jakub Hrozek wrote:
On Tue, Sep 10, 2013 at 02:28:36PM +0000, Longina Przybyszewska wrote:
root@saucy:/var/lib/sss# aptitude show libini-config3 Package: libini-config3 State: installed Automatically installed: yes Multi-Arch: same Version: 0.3.0.1-1 Priority: extra Section: universe/libs Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Architecture: amd64 Uncompressed Size: 113 k Depends: libbasicobjects0 (>= 0.3.0.1), libc6 (>= 2.14), libcollection2 (>= 0.3.0.1), libpath-utils1 (>= 0.3.0.1), libref-array1 (>= 0.3.0.1) PreDepends: multiarch-support Conflicts: libini-config, libini-config Breaks: libini-config3 (!= 0.3.0.1-1) Replaces: libini-config, libini-config, libini-config3 (< 0.3.0.1-1) Provides: libini-config Description: INI file parser for C Library to process config files in INI format into a libcollection data structure.
This package is part of the ding-libs, libraries that are required for the proper functioning of SSSD, the System Security Services Daemon. Homepage: https://fedorahosted.org/sssd/
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Longina Przybyszewska Sent: 10. september 2013 16:25 To: 'End-user discussions about the System Security Services Daemon' Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
root@saucy:/var/lib/sss# aptitude show libini-config No current or candidate version found for libini-config Package: libini-config State: not a real package Provided by: libini-config3
root@saucy:/var/lib/sss# aptitude show libini-config2 E: Unable to locate package libini-config2
Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Jakub Hrozek Sent: 10. september 2013 16:22 To: sssd-users@lists.fedorahosted.org Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
On Tue, Sep 10, 2013 at 02:04:02PM +0000, Longina Przybyszewska wrote:
It should be ok: [sssd] config_file_version = 2 debug_level = 9 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam domains = xxx.sdu.dk, zzz.sdu.dk ...
Longina
I see..can you check what version of libiniconfig do you have?
aptitude show libini-config aptitude show libini-config2
Hi,
sorry for the late reply, it took some time before I was able to install Ubuntu Saucy. I tried running an example domain and everything works fine here.
Can you install ldb-tools (apt-get install ldb-tools) and run the following command: # ldbsearch -H /var/lib/sss/db/config.ldb -b cn=config version
Also if you temporarily mv the file /var/lib/sss/db/config.ldb and let SSSD regenerate it, does that help?
btw is it exactly the same config that had worked with a previous version of SSSD? Including newlines, blanks etc ? _______________________________________________ sssd-users mailing list sssd-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-users _______________________________________________ sssd-users mailing list sssd-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-users
On Tue, Sep 17, 2013 at 09:13:23AM +0000, Longina Przybyszewska wrote:
Some more debugging output:
root@saucy:/etc/sssd# sssd -i -d 9 -c /etc/sssd/sssd.conf (Mon Sep 16 20:21:20:853610 2013) [sssd] [check_file] (0x0400): lstat for [/var/run/nscd/socket] failed: [2][No such file or directory]. (Mon Sep 16 20:21:20:874930 2013) [sssd] [ldb] (0x0400): server_sort:Unable to register control with rootdse! (Mon Sep 16 20:21:20:962370 2013) [sssd] [ldb] (0x4000): no modules required by the db (Mon Sep 16 20:21:20:962802 2013) [sssd] [ldb] (0x4000): No modules specified for this database (Mon Sep 16 20:21:20:963211 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 16 20:21:20:974202 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 16 20:21:20:984829 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 16 20:21:20:995549 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 16 20:21:21:005729 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 16 20:21:21:016172 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 16 20:21:21:028011 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 16 20:21:21:028790 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 16 20:21:21:029986 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database. root@saucy:/etc/sssd# ls -l /var/lib/sss/db total 1256 -rw------- 1 root root 1286144 Sep 16 20:21 config.ldb root@saucy:/etc/sssd# file /var/lib/sss/db/config.ldb /var/lib/sss/db/config.ldb: TDB database version 6, little-endian hash size 10000 bytes
It seems that I am missing something..
Can you do just: # ldbsearch -H /var/lib/sss/db/config.ldb
To see if anything was dumped in the config database at all?
Can you post more complete (sanitized) output of the startup? There should be an LDIF the SSSD parsed out of the config file and dumps into the database.
How did you install the packages, just from the main saucy repo or compiled yourself?
Hi, I have a fresh install of Saucy (VM in Virtualbox), sssd is installed as binary package available in distribution.
To be sure, I uninstalled sssd and installed it again.
To be sure that sssd.conf works, I started sssd in 13.04-Raring with the copy of sssd.conf from Saucy; One of domains is not tested yet (su.c.example.com); sssd works for other domains in Raring
Both machines are in the same network.
Output from: ldbsearch -H /var/lib/sss/db/config.ldb > txt.txt # record 1 dn: cn=sssd,cn=config cn: sssd config_file_version: 2 debug_level: 9 domains: su.c.example.com, st.example.com, n.c.example.com, a.c.example.com reconnection_retries: 3 sbus_timeout: 30 services: nss, pam distinguishedName: cn=sssd,cn=config
# record 2 dn: cn=config version: 2 lastUpdate: 1379420119 distinguishedName: cn=config
# record 3 dn: cn=nss,cn=config cn: nss debug_level: 9 default_shell: /bin/bash filter_groups: root filter_users: root,lightdm,ldap,named,avahi,haldaemon,dbus,radvd,tomcat,radiusd,news,mailman,nscd reconnection_retries: 3 distinguishedName: cn=nss,cn=config
# record 4 dn: cn=a.c.example.com,cn=domain,cn=config access_provider: ad auth_provider: ad cache_credentials: true chpass_provider: ad cn: a.c.example.com debug_level: 9 dns_discovery_domain: a.c.example.com enumerate: false id_provider: ad krb5_realm: EXAMPLE.COM ldap_access_order: expire ldap_account_expire_policy: ad ldap_force_upper_case_realm: true ldap_group_name: sAMAccountName ldap_group_object_class: group ldap_group_search_base: dc=a,dc=c,dc=example,dc=com # record 5 dn: cn=n.c.example.com,cn=domain,cn=config access_provider: ad auth_provider: ad cache_credentials: true chpass_provider: ad cn: n.c.example.com debug_level: 9 dns_discovery_domain: n.c.example.com enumerate: false id_provider: ad krb5_realm: N.C.EXAMPLE.COM ldap_access_order: expire ldap_account_expire_policy: ad ldap_force_upper_case_realm: true ldap_group_name: sAMAccountName ldap_group_object_class: group ldap_group_search_base: dc=n,dc=c,dc=example,dc=com ldap_schema: rfc2307bis ldap_user_fullname: displayName ldap_user_name: sAMAccountName ldap_user_object_class: user ldap_user_principal: userPrincipalName ldap_user_search_base: dc=n,dc=c,dc=example,dc=com override_homedir: /home/%u distinguishedName: cn=n.c.example.com,cn=domain,cn=config
# record 6 dn: cn=st.example.com,cn=domain,cn=config access_provider: krb5 auth_provider: krb5 cache_credentials: true chpass_provider: krb5 cn: st.example.com debug_level: 9 dns_discovery_domain: c.example.com enumerate: false id_provider: ad krb5_realm: C.EXAMPLE.COM ldap_account_expire_policy: ad ldap_force_upper_case: true ldap_group_name: sAMAccountName ldap_group_object_class: group ldap_group_search_base: dc=c,dc=example,dc=com ldap_schema: rfc2307bis ldap_search_base: dc=c,dc=example,dc=com ldap_user_fullname: displayName ldap_user_home_directory: unixHomeDirectory ldap_user_name: sAMAccountName ldap_user_object_class: user ldap_user_principal: no_existing_name ldap_user_search_base: dc=c,dc=example,dc=com override_homedir: /home/%u distinguishedName: cn=st.example.com,cn=domain,cn=config ldap_schema: rfc2307bis ldap_user_fullname: displayName ldap_user_name: sAMAccountName ldap_user_object_class: user ldap_user_principal: no_existing_name ldap_user_search_base: dc=a,dc=c,dc=example,dc=com override_homedir: /home/%u distinguishedName: cn=a.c.example.com,cn=domain,cn=config # record 7 dn: cn=pam,cn=config cn: pam debug_level: 9 pam_verbosity: 3 reconnection_retries: 3 distinguishedName: cn=pam,cn=config
# record 8 dn: cn=su.c.example.com,cn=domain,cn=config access_provider: ad auth_provider: ad cache_credentials: true chpass_provider: ad cn: su.c.example.com debug_level: 9 dns_discovery_domain: su.c.example.com enumerate: false id_provider: ad krb5_realm: SU.C.EXAMPLE.COM ldap_account_expire_policy: ad ldap_force_upper_case: true ldap_group_name: sAMAccountName ldap_group_object_class: group ldap_group_search_base: dc=su,dc=c,dc=example,dc=com ldap_user_fullname: displayName ldap_user_name: sAMAccountName ldap_user_object_class: user ldap_user_principal: no_existing_name ldap_user_search_base: dc=su,dc=c,dc=example,dc=com override_homedir: /home/%u distinguishedName: cn=su.c.example.com,cn=domain,cn=config
# returned 8 records # 8 entries # 0 referrals
Best Longina
-----Original Message----- From: sssd-users-bounces@lists.fedorahosted.org [mailto:sssd-users-bounces@lists.fedorahosted.org] On Behalf Of Jakub Hrozek Sent: 18. september 2013 10:12 To: sssd-users@lists.fedorahosted.org Subject: Re: [SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting
On Tue, Sep 17, 2013 at 09:13:23AM +0000, Longina Przybyszewska wrote:
Some more debugging output: root@saucy:/etc/sssd# sssd -i -d 9 -c /etc/sssd/sssd.conf (Mon Sep 16 20:21:20:853610 2013) [sssd] [check_file] (0x0400): lstat for [/var/run/nscd/socket] failed: [2][No such file or directory]. (Mon Sep 16 20:21:20:874930 2013) [sssd] [ldb] (0x0400): server_sort:Unable to register control with rootdse! (Mon Sep 16 20:21:20:962370 2013) [sssd] [ldb] (0x4000): no modules required by the db (Mon Sep 16 20:21:20:962802 2013) [sssd] [ldb] (0x4000): No modules specified for this database (Mon Sep 16 20:21:20:963211 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 16 20:21:20:974202 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 16 20:21:20:984829 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 16 20:21:20:995549 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 16 20:21:21:005729 2013) [sssd] [ldb] (0x4000): start ldb transaction (nesting: 0) (Mon Sep 16 20:21:21:016172 2013) [sssd] [ldb] (0x4000): commit ldb transaction (nesting: 0) (Mon Sep 16 20:21:21:028011 2013) [sssd] [confdb_init_db] (0x0010): Config file version could not be determined (Mon Sep 16 20:21:21:028790 2013) [sssd] [load_configuration] (0x0010): ConfDB initialization has failed [Input/output error] (Mon Sep 16 20:21:21:029986 2013) [sssd] [main] (0x0020): SSSD couldn't load the configuration database. root@saucy:/etc/sssd# ls -l /var/lib/sss/db total 1256 -rw------- 1 root root 1286144 Sep 16 20:21 config.ldb root@saucy:/etc/sssd# file /var/lib/sss/db/config.ldb /var/lib/sss/db/config.ldb: TDB database version 6, little-endian hash size 10000 bytes
It seems that I am missing something..
Can you do just: # ldbsearch -H /var/lib/sss/db/config.ldb
To see if anything was dumped in the config database at all?
Can you post more complete (sanitized) output of the startup? There should be an LDIF the SSSD parsed out of the config file and dumps into the database.
How did you install the packages, just from the main saucy repo or compiled yourself? _______________________________________________ sssd-users mailing list sssd-users@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-users
On Wed, Sep 18, 2013 at 10:00:15AM +0000, Longina Przybyszewska wrote:
Hi, I have a fresh install of Saucy (VM in Virtualbox), sssd is installed as binary package available in distribution.
To be sure, I uninstalled sssd and installed it again.
To be sure that sssd.conf works, I started sssd in 13.04-Raring with the copy of sssd.conf from Saucy; One of domains is not tested yet (su.c.example.com); sssd works for other domains in Raring
Both machines are in the same network.
I really can't explain this, my test configs works on saucy with everything installed from distribution as well..
Is there any chance you could send me your sssd.conf? Feel free to change the hostnames, usernames etc, I'm just interested in the format.
If so, can you tar.gz it to make sure e-mail attachment doesn't change any formatting?
Output from: ldbsearch -H /var/lib/sss/db/config.ldb > txt.txt # record 1 dn: cn=sssd,cn=config cn: sssd config_file_version: 2
^^^^ This is the attribute the sssd is complaining about..
debug_level: 9 domains: su.c.example.com, st.example.com, n.c.example.com, a.c.example.com reconnection_retries: 3 sbus_timeout: 30 services: nss, pam distinguishedName: cn=sssd,cn=config
On Thu, Sep 19, 2013 at 10:42:12AM +0200, Jakub Hrozek wrote:
On Wed, Sep 18, 2013 at 10:00:15AM +0000, Longina Przybyszewska wrote:
Hi, I have a fresh install of Saucy (VM in Virtualbox), sssd is installed as binary package available in distribution.
To be sure, I uninstalled sssd and installed it again.
To be sure that sssd.conf works, I started sssd in 13.04-Raring with the copy of sssd.conf from Saucy; One of domains is not tested yet (su.c.example.com); sssd works for other domains in Raring
Both machines are in the same network.
I really can't explain this, my test configs works on saucy with everything installed from distribution as well..
Is there any chance you could send me your sssd.conf? Feel free to change the hostnames, usernames etc, I'm just interested in the format.
If so, can you tar.gz it to make sure e-mail attachment doesn't change any formatting?
btw Longina sent me her sssd.conf and it seems that she hit a libini bug where we don't correctly trim trailing spaces. I filed: https://fedorahosted.org/sssd/ticket/2095
sssd-users@lists.fedorahosted.org