Review your favorite Linux distribution.
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 01-23-2013, 09:40 AM   #1
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Rep: Reputation: 33
slapd.log remains empty after refresh


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 ??
Old 01-23-2013, 11:55 AM   #2
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
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.


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
Slapd.conf removed- Where do I edit in slapd.d DIT for same info? dman777 Linux - Server 1 03-12-2012 03:47 AM
[SOLVED] /var/log/boot.log is empty in RHEL5.5. How to enable the boot log? rajivdp Linux - Newbie 1 08-12-2010 08:11 AM
[SOLVED] Empty /var/log/boot.log saifkhan123 Linux - General 3 02-22-2010 02:48 AM
kern.log remains empty - where to start troubleshooting? eentonig Linux - Software 4 03-10-2009 08:38 AM
Netbean window opens but remains empty jaymoney Ubuntu 2 10-29-2007 08:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:24 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