Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT

2015-06-26 Thread Jakub Hrozek
On Fri, Jun 26, 2015 at 10:20:19AM +, Martin Chamambo wrote:
> Find file attached 

Also please try to remove the databases to make sure no old db is
around:
rm -f /var/lib/sss/db/*

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project


Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT

2015-06-26 Thread Lukas Slebodnik
On (26/06/15 09:32), Martin Chamambo wrote:
>This is my sssd.conf file and I have that config_file_version = 2
>
>[root@server sssd]# vim sssd.conf 
>
> [domain/ai.co.zw]
>
>debug_level = 10
>cache_credentials = True
>krb5_store_password_if_offline = True
>ipa_domain = ai.co.zw
>id_provider = ipa
>auth_provider = ipa
>access_provider = ipa
>ipa_hostname = nimbus.ai.co.zw
>chpass_provider = ipa
>ipa_server = _srv_, ipaserver.ai.co.zw
>ldap_tls_cacert = /etc/ipa/ca.crt

>[sssd]
>services = nss, sudo, pam, autofs, ssh
>config_file_version = 2
>
>domains = default, ai.co.zw
   
You have non existing domain listed here.
Try to remove it. But I do not see a reason why it should cause
troubles for domain "ai.co.zw"

LS

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project


Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT

2015-06-26 Thread Jakub Hrozek
On Fri, Jun 26, 2015 at 10:20:19AM +, Martin Chamambo wrote:
> Find file attached 

OK, this looks good. Are you sure the file is at the correct location?
(/etc/sssd/sssd.conf) 

Can you run "strace sssd -i" to see which file is sssd opening?

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project


Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT

2015-06-26 Thread Jakub Hrozek
On Fri, Jun 26, 2015 at 10:00:38AM +, Martin Chamambo wrote:
> [root@nimbus sssd]# ls -l sssd.conf 
> -rw--- 1 root root 809 Jun 26 11:20 sssd.conf
> [root@nimbus sssd]#
> 
> And the permissions are 0600 and SELINUX IS DISABLED

Can you send me the file in attachment, ideally in a tarball so we can
rule out any strange issues like trailing space etc?

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project


Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT

2015-06-26 Thread Martin Chamambo
[root@nimbus sssd]# ls -l sssd.conf 
-rw--- 1 root root 809 Jun 26 11:20 sssd.conf
[root@nimbus sssd]#

And the permissions are 0600 and SELINUX IS DISABLED

-Original Message-
From: Jakub Hrozek [mailto:jhro...@redhat.com] 
Sent: Friday, June 26, 2015 11:42 AM
To: Martin Chamambo
Cc: freeipa-users@redhat.com
Subject: Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT

On Fri, Jun 26, 2015 at 09:32:43AM +, Martin Chamambo wrote:
> This is my sssd.conf file and I have that config_file_version = 2

Is the config file owned by root.root and does it have 0600 permissions?
Are there any AVC denials?

> 
> [root@server sssd]# vim sssd.conf
> 
>  [domain/ai.co.zw]
> 
> debug_level = 10
> cache_credentials = True
> krb5_store_password_if_offline = True
> ipa_domain = ai.co.zw
> id_provider = ipa
> auth_provider = ipa
> access_provider = ipa
> ipa_hostname = nimbus.ai.co.zw
> chpass_provider = ipa
> ipa_server = _srv_, ipaserver.ai.co.zw ldap_tls_cacert = 
> /etc/ipa/ca.crt [sssd] services = nss, sudo, pam, autofs, ssh 
> config_file_version = 2
> 
> domains = default, ai.co.zw
> [nss]
> homedir_substring = /home
> 
> [pam]
> 
> [sudo]
> 
> "sssd.conf" 46L, 809C 
> 
> -Original Message-
> From: freeipa-users-boun...@redhat.com 
> [mailto:freeipa-users-boun...@redhat.com] On Behalf Of Jakub Hrozek
> Sent: Friday, June 26, 2015 11:28 AM
> To: freeipa-users@redhat.com
> Subject: Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT
> 
> On Fri, Jun 26, 2015 at 09:18:17AM +, Martin Chamambo wrote:
> > I installed ipa-client on centos 6.6 32 bit and it installed 
> > correctly but there was no /etc/sssd/sssd.conf file ..I read 
> > through forums that you can copy another sssd.conf file from another 
> > machine but this is what im getting when I try to start sssd
> > 
> > (Fri Jun 26 10:55:12:934690 2015) [sssd] [load_configuration]
> > (0x0010): ConfDB initialization has failed [Invalid argument] (Fri Jun 26 
> > 10:55:12:934810 2015) [sssd] [main] (0x0020): SSSD couldn't load the 
> > configuration database.
> > (Fri Jun 26 10:55:14:352106 2015) [sssd] [confdb_init_db] (0x0010): Config 
> > file is an old version. Please run configuration upgrade script.
> 
> Add:
> config_file_version = 2
> 
> to the [sssd] section.
> 
> > (Fri Jun 26 10:55:14:352276 2015) [sssd] [load_configuration]
> > (0x0010): ConfDB initialization has failed [Invalid argument] (Fri Jun 26 
> > 10:55:14:352342 2015) [sssd] [main] (0x0020): SSSD couldn't load the 
> > configuration database.
> > (Fri Jun 26 10:56:39 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> > [ai.co.zw], definitely stopped!
> > (Fri Jun 26 10:58:11 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> > [ai.co.zw], definitely stopped!
> > (Fri Jun 26 11:01:03 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> > [ai.co.zw], definitely stopped!
> > (Fri Jun 26 11:03:56 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> > [ai.co.zw], definitely stopped!
> > (Fri Jun 26 11:10:28 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> > [ai.co.zw], definitely stopped!
> > 
> 
> --
> Manage your subscription for the Freeipa-users mailing list:
> https://www.redhat.com/mailman/listinfo/freeipa-users
> Go to http://freeipa.org for more info on the project

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT

2015-06-26 Thread Jakub Hrozek
On Fri, Jun 26, 2015 at 09:32:43AM +, Martin Chamambo wrote:
> This is my sssd.conf file and I have that config_file_version = 2

Is the config file owned by root.root and does it have 0600 permissions?
Are there any AVC denials?

> 
> [root@server sssd]# vim sssd.conf 
> 
>  [domain/ai.co.zw]
> 
> debug_level = 10
> cache_credentials = True
> krb5_store_password_if_offline = True
> ipa_domain = ai.co.zw
> id_provider = ipa
> auth_provider = ipa
> access_provider = ipa
> ipa_hostname = nimbus.ai.co.zw
> chpass_provider = ipa
> ipa_server = _srv_, ipaserver.ai.co.zw
> ldap_tls_cacert = /etc/ipa/ca.crt
> [sssd]
> services = nss, sudo, pam, autofs, ssh
> config_file_version = 2
> 
> domains = default, ai.co.zw
> [nss]
> homedir_substring = /home
> 
> [pam]
> 
> [sudo]
> 
> "sssd.conf" 46L, 809C 
> 
> -Original Message-
> From: freeipa-users-boun...@redhat.com 
> [mailto:freeipa-users-boun...@redhat.com] On Behalf Of Jakub Hrozek
> Sent: Friday, June 26, 2015 11:28 AM
> To: freeipa-users@redhat.com
> Subject: Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT
> 
> On Fri, Jun 26, 2015 at 09:18:17AM +, Martin Chamambo wrote:
> > I installed ipa-client on centos 6.6 32 bit and it installed correctly 
> > but there was no /etc/sssd/sssd.conf file ..I read through forums 
> > that you can copy another sssd.conf file from another machine but this 
> > is what im getting when I try to start sssd
> > 
> > (Fri Jun 26 10:55:12:934690 2015) [sssd] [load_configuration] 
> > (0x0010): ConfDB initialization has failed [Invalid argument] (Fri Jun 26 
> > 10:55:12:934810 2015) [sssd] [main] (0x0020): SSSD couldn't load the 
> > configuration database.
> > (Fri Jun 26 10:55:14:352106 2015) [sssd] [confdb_init_db] (0x0010): Config 
> > file is an old version. Please run configuration upgrade script.
> 
> Add:
> config_file_version = 2
> 
> to the [sssd] section.
> 
> > (Fri Jun 26 10:55:14:352276 2015) [sssd] [load_configuration] 
> > (0x0010): ConfDB initialization has failed [Invalid argument] (Fri Jun 26 
> > 10:55:14:352342 2015) [sssd] [main] (0x0020): SSSD couldn't load the 
> > configuration database.
> > (Fri Jun 26 10:56:39 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> > [ai.co.zw], definitely stopped!
> > (Fri Jun 26 10:58:11 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> > [ai.co.zw], definitely stopped!
> > (Fri Jun 26 11:01:03 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> > [ai.co.zw], definitely stopped!
> > (Fri Jun 26 11:03:56 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> > [ai.co.zw], definitely stopped!
> > (Fri Jun 26 11:10:28 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> > [ai.co.zw], definitely stopped!
> > 
> 
> --
> Manage your subscription for the Freeipa-users mailing list:
> https://www.redhat.com/mailman/listinfo/freeipa-users
> Go to http://freeipa.org for more info on the project

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT

2015-06-26 Thread Martin Chamambo
This is my sssd.conf file and I have that config_file_version = 2

[root@server sssd]# vim sssd.conf 

 [domain/ai.co.zw]

debug_level = 10
cache_credentials = True
krb5_store_password_if_offline = True
ipa_domain = ai.co.zw
id_provider = ipa
auth_provider = ipa
access_provider = ipa
ipa_hostname = nimbus.ai.co.zw
chpass_provider = ipa
ipa_server = _srv_, ipaserver.ai.co.zw
ldap_tls_cacert = /etc/ipa/ca.crt
[sssd]
services = nss, sudo, pam, autofs, ssh
config_file_version = 2

domains = default, ai.co.zw
[nss]
homedir_substring = /home

[pam]

[sudo]

"sssd.conf" 46L, 809C 

-Original Message-
From: freeipa-users-boun...@redhat.com 
[mailto:freeipa-users-boun...@redhat.com] On Behalf Of Jakub Hrozek
Sent: Friday, June 26, 2015 11:28 AM
To: freeipa-users@redhat.com
Subject: Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT

On Fri, Jun 26, 2015 at 09:18:17AM +, Martin Chamambo wrote:
> I installed ipa-client on centos 6.6 32 bit and it installed correctly 
> but there was no /etc/sssd/sssd.conf file ..I read through forums 
> that you can copy another sssd.conf file from another machine but this 
> is what im getting when I try to start sssd
> 
> (Fri Jun 26 10:55:12:934690 2015) [sssd] [load_configuration] 
> (0x0010): ConfDB initialization has failed [Invalid argument] (Fri Jun 26 
> 10:55:12:934810 2015) [sssd] [main] (0x0020): SSSD couldn't load the 
> configuration database.
> (Fri Jun 26 10:55:14:352106 2015) [sssd] [confdb_init_db] (0x0010): Config 
> file is an old version. Please run configuration upgrade script.

Add:
config_file_version = 2

to the [sssd] section.

> (Fri Jun 26 10:55:14:352276 2015) [sssd] [load_configuration] 
> (0x0010): ConfDB initialization has failed [Invalid argument] (Fri Jun 26 
> 10:55:14:352342 2015) [sssd] [main] (0x0020): SSSD couldn't load the 
> configuration database.
> (Fri Jun 26 10:56:39 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> [ai.co.zw], definitely stopped!
> (Fri Jun 26 10:58:11 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> [ai.co.zw], definitely stopped!
> (Fri Jun 26 11:01:03 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> [ai.co.zw], definitely stopped!
> (Fri Jun 26 11:03:56 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> [ai.co.zw], definitely stopped!
> (Fri Jun 26 11:10:28 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> [ai.co.zw], definitely stopped!
> 

--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] SSSD FAILING TO START ON CENTOS 6.6 32BIT

2015-06-26 Thread Jakub Hrozek
On Fri, Jun 26, 2015 at 09:18:17AM +, Martin Chamambo wrote:
> I installed ipa-client on centos 6.6 32 bit and it installed correctly but 
> there was no /etc/sssd/sssd.conf file ..I read through forums that you 
> can copy another sssd.conf file from another machine but this is what im 
> getting when I try to start sssd
> 
> (Fri Jun 26 10:55:12:934690 2015) [sssd] [load_configuration] (0x0010): 
> ConfDB initialization has failed [Invalid argument]
> (Fri Jun 26 10:55:12:934810 2015) [sssd] [main] (0x0020): SSSD couldn't load 
> the configuration database.
> (Fri Jun 26 10:55:14:352106 2015) [sssd] [confdb_init_db] (0x0010): Config 
> file is an old version. Please run configuration upgrade script.

Add:
config_file_version = 2

to the [sssd] section.

> (Fri Jun 26 10:55:14:352276 2015) [sssd] [load_configuration] (0x0010): 
> ConfDB initialization has failed [Invalid argument]
> (Fri Jun 26 10:55:14:352342 2015) [sssd] [main] (0x0020): SSSD couldn't load 
> the configuration database.
> (Fri Jun 26 10:56:39 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> [ai.co.zw], definitely stopped!
> (Fri Jun 26 10:58:11 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> [ai.co.zw], definitely stopped!
> (Fri Jun 26 11:01:03 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> [ai.co.zw], definitely stopped!
> (Fri Jun 26 11:03:56 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> [ai.co.zw], definitely stopped!
> (Fri Jun 26 11:10:28 2015) [sssd] [mt_svc_exit_handler] (0x0010): Process 
> [ai.co.zw], definitely stopped!
> 

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project