LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-18-2016, 04:44 PM   #1
shuey79
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
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 525

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

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

Original Poster
Rep: Reputation: Disabled
Quote:
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.
 
  


Reply


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


All times are GMT -5. The time now is 03:02 PM.

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