LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   slapd.log remains empty after refresh (https://www.linuxquestions.org/questions/linux-newbie-8/slapd-log-remains-empty-after-refresh-4175446900/)

jonaskellens 01-23-2013 09:40 AM

slapd.log remains empty after refresh
 
Hello,

because my slapd.log file was about 160MB, I've done the following :

bash-3.2# mv slapd.log slapd.log.130123
bash-3.2# touch slapd.log
bash-3.2# /sbin/service ldap restart
bash-3.2# /etc/init.d/syslog restart

But now the file slapd.log remains empty. No more LDAP-logging !

How can I get logging back into the file /var/log/slapd.log ??

kbscores 01-23-2013 11:55 AM

make sure permissions and ownership are the same as the other file. If they are then check the slapd.conf file to verify the logging is enabled and is still logging to that log file. I couldn't imagine they would have changed but I've seen stranger things happen.


All times are GMT -5. The time now is 04:51 AM.