Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-18-2016, 04:44 PM   #1
LQ Newbie
Registered: Oct 2016
Posts: 7

Rep: Reputation: Disabled
AD authentication not working. Error in sssd.log tells me missing DB file

I made a mistake today on a test server when trying to stop and restart sssd today. I stopped it then went to clear cache using
PHP Code:
rm -rf /var/lib/sss/db/* 
but I accidentally did
PHP Code:
rm -rf /var/lib/sss/db
When I went to restart it I got a couple messages saying "Unable to open tdb '/var/lib/sss/db/config.ldb': No such file or directory". I deleted the /db directory!!

Is there anyway to fix this? I am running RHEL 7.2.

Last edited by shuey79; 10-18-2016 at 04:56 PM.
Old 10-19-2016, 12:15 AM   #2
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 547

Rep: Reputation: 72
man mkdir
man chown
man chmod
Old 10-19-2016, 12:24 AM   #3
LQ Guru
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,316

Rep: Reputation: Disabled
Restore from backup.
Old 10-19-2016, 08:08 AM   #4
LQ Newbie
Registered: Oct 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Originally Posted by mpapet View Post
man mkdir
man chown
man chmod
I just created the directory and a blank config.ldb file and changed permissions. Not sure I needed to create that file but now it is working. Thanks!

Last edited by shuey79; 10-19-2016 at 08:38 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sssd.conf file missing kaplan71 CentOS 2 06-22-2016 04:09 PM
openLDAP authentication in RH 6.5 without sssd Learning_Quinn Red Hat 0 02-24-2016 05:45 PM
Authentication with AD Using SSSD pies Linux - Server 1 12-15-2015 09:41 AM
[SOLVED] sssd ldap authentication against samba4 not working anindyameister Linux - Newbie 1 09-30-2013 08:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration