LinuxQuestions.org
Visit Jeremy's Blog.
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 01-23-2013, 10:40 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Rep: Reputation: 33
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 ??
 
Old 01-23-2013, 12:55 PM   #2
kbscores
Member
 
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.
 
  


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


All times are GMT -5. The time now is 06:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration