[Freeipa-users] ipactl services running, but auth not working

Aaron Collins acollins at chegg.com
Tue Feb 7 03:25:11 UTC 2017


It sounds like your IPA service is hanging.  The fastest way to check is do an ldap search against that host to see if it replies.  If it doesn’t look under /var/log/dirvsrv/sapd-$INSTANCE-NAME/error to see if you have an error.  I’ve seen this with the out of fd error, or if you server is in a dead lock.

[ignature_882888092]

Aaron Collins |  Senior DevOps Engineer
3990 Freedom Circle, Santa Clara, CA 95054
808.203.8756 mobile  |  acollins at chegg.com<mailto:acollins at chegg.com>
www.chegg.com<http://chegg.com/>  |  t @chegg<https://twitter.com/Chegg>  |  f chegg<https://www.facebook.com/chegg>

We put students first. Chegg is proud to have helped students & their families save over $1 billion.

From: <freeipa-users-bounces at redhat.com> on behalf of pgb205 <pgb205 at yahoo.com>
Reply-To: pgb205 <pgb205 at yahoo.com>
Date: Friday, February 3, 2017 at 12:11 PM
To: "Sullivan, Daniel [CRI]" <dsullivan2 at bsd.uchicago.edu>
Cc: Freeipa-users <freeipa-users at redhat.com>
Subject: Re: [Freeipa-users] ipactl services running, but auth not working

there are reports from multiple clients being unable to authenticate.
ipactl status shows all services as running.
The problem is fixed when I 'ipactl restart'.

________________________________
From: "Sullivan, Daniel [CRI]" <dsullivan2 at bsd.uchicago.edu>
To: pgb205 <pgb205 at yahoo.com>
Cc: Freeipa-users <freeipa-users at redhat.com>
Sent: Friday, February 3, 2017 2:47 PM
Subject: Re: [Freeipa-users] ipactl services running, but auth not working

What exactly are you seeing to determine that the server is actually failing?  Is it not possible that sssd (the client) is timing out?  Will 389ds service an LDAP request, i.e. can you run

ldapsearch -D "cn=Directory Manager" -w <pw> -s base -b "cn=config" "(objectclass=*)”

What exactly are you trying to do?  Just password authentication to an sssd client?  Are you operating in a trusted AD environment?

Dan

On Feb 3, 2017, at 11:26 AM, pgb205 <pgb205 at yahoo.com<mailto:pgb205 at yahoo.com><mailto:pgb205 at yahoo.com<mailto:pgb205 at yahoo.com>>> wrote:

My problem is with the server itself seemingly not providing services even though it claims to do so. would be curious to know what to look at on freeipa server or how to inrease logging

________________________________
From: "Sullivan, Daniel [CRI]" <dsullivan2 at bsd.uchicago.edu<mailto:dsullivan2 at bsd.uchicago.edu><mailto:dsullivan2 at bsd.uchicago.edu<mailto:dsullivan2 at bsd.uchicago.edu>>>
To: pgb205 <pgb205 at yahoo.com<mailto:pgb205 at yahoo.com><mailto:pgb205 at yahoo.com<mailto:pgb205 at yahoo.com>>>
Cc: Freeipa-users <freeipa-users at redhat.com<mailto:freeipa-users at redhat.com><mailto:freeipa-users at redhat.com<mailto:freeipa-users at redhat.com>>>
Sent: Thursday, February 2, 2017 5:16 PM
Subject: Re: [Freeipa-users] ipactl services running, but auth not working

Have you looked at the sssd logs yet?

Dan

On Feb 2, 2017, at 4:13 PM, pgb205 <pgb205 at yahoo.com<mailto:pgb205 at yahoo.com><mailto:pgb205 at yahoo.com<mailto:pgb205 at yahoo.com>><mailto:pgb205 at yahoo.com<mailto:pgb205 at yahoo.com><mailto:pgb205 at yahoo.com<mailto:pgb205 at yahoo.com>>>> wrote:


We have multiple ipa servers but only one is continuously affected by the strange problem described in the subject line.
Users report not being able to login to servers that are using a specific ipa_server. Looking at this server ipactl shows
everything as RUNNING. ipactl restart fixes the issue until the next time.

My questions are:
1. What could be causing this, and what can I check.
2. What logging should I enable on the server.
3. We are currently monitoring for processes 'Running' but clearly that is not fool-proof way to check if the service is actually up.
What would be a definitive method to check if Freeipa is up and functional in all respects. I was thinking of setting up cron job
that attempts to do kinit <fakeUserid> on a client machine. The problems that I foresee with this method is caching that might give false negatives.

thanks

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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20170207/be174d25/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4896 bytes
Desc: image001.png
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20170207/be174d25/attachment.png>


More information about the Freeipa-users mailing list