[SSSD-users] Ubuntu Saucy sssd-1.11.0 not starting

Longina Przybyszewska longina at sdu.dk
Tue Sep 17 08:54:37 UTC 2013


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 at saucy:/var/lib/sss/db# ls
config.ldb
root at saucy:/var/lib/sss/db# rm config.ldb 
root at 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 at saucy:/var/lib/sss/db# ls -l
total 1256
-rw------- 1 root root 1286144 Sep 16 19:55 config.ldb
root at 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 at saucy:/var/lib/sss/db# ls -l
total 1256
-rw------- 1 root root 1286144 Sep 16 19:55 config.ldb
root at saucy:/var/lib/sss/db# file config.ldb 
config.ldb: TDB database version 6, little-endian hash size 10000 bytes
root at saucy:/var/lib/sss/db#

What is going on????

Best,
Longina

-----Original Message-----
From: sssd-users-bounces at lists.fedorahosted.org [mailto:sssd-users-bounces at lists.fedorahosted.org] On Behalf Of Jakub Hrozek
Sent: 12. september 2013 14:02
To: sssd-users at 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 at 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 at 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 at lists.fedorahosted.org 
> > [mailto:sssd-users-bounces at 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 at 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 at saucy:/var/lib/sss# aptitude show libini-config2
> > E: Unable to locate package libini-config2
> > 
> > Longina
> > 
> > -----Original Message-----
> > From: sssd-users-bounces at lists.fedorahosted.org 
> > [mailto:sssd-users-bounces at lists.fedorahosted.org] On Behalf Of 
> > Jakub Hrozek
> > Sent: 10. september 2013 16:22
> > To: sssd-users at 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 at lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-users


More information about the sssd-users mailing list