LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   AD authentication not working. Error in sssd.log tells me missing DB file (https://www.linuxquestions.org/questions/linux-newbie-8/ad-authentication-not-working-error-in-sssd-log-tells-me-missing-db-file-4175591682/)

shuey79 10-18-2016 04:44 PM

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.

mpapet 10-19-2016 12:15 AM

man mkdir
man chown
man chmod

Emerson 10-19-2016 12:24 AM

Restore from backup.

shuey79 10-19-2016 08:08 AM

Quote:

Originally Posted by mpapet (Post 5619877)
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!


All times are GMT -5. The time now is 01:47 AM.