LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 03: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 03:56 PM.
 
Old 10-18-2016, 11:15 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
man mkdir
man chown
man chmod
 
Old 10-18-2016, 11:24 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Restore from backup.
 
Old 10-19-2016, 07: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 07: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 03:09 PM
openLDAP authentication in RH 6.5 without sssd Learning_Quinn Red Hat 0 02-24-2016 04:45 PM
Authentication with AD Using SSSD pies Linux - Server 1 12-15-2015 08:41 AM
[SOLVED] sssd ldap authentication against samba4 not working anindyameister Linux - Newbie 1 09-30-2013 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:50 AM.

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
Open Source Consulting | Domain Registration