Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-23-2010, 06:23 AM
Intermediate Member
 
Posts: 16
Default LDAP/slapd logging does not work

We are running ZCS 6.0.5 OSS on Ubuntu 8.04LTS.

In trying to have more detailed LDAP logging for debugging purposes we set ldap_common_loglevel to 256 via:
zmlocalconfig -e ldap_common_loglevel=256

We also set ldap_log_level to 256 even though this setting seems to be for ZCS 5.

Just to make sure the setting is read we restarted Zimbra.

Still, nothing in the logs.

Any hint?

-jsl
Reply With Quote
  #2 (permalink)  
Old 09-23-2010, 07:46 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Details in the wiki article for version 6.x (and the slapd manpage): OpenLDAP Tuning Keys - Zimbra :: Wiki
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-27-2010, 08:01 AM
Junior Member
 
Posts: 7
Default

Thanks for the response. I attempted to set this but it still doesn't populate /var/log/zimbra.log. Here's a snip of my zmlocalconfig...


zimbra@csl-mail:~$ zmlocalconfig | grep -i log
ldap_accesslog_cachefree = 1
ldap_accesslog_cachesize = 10000
ldap_accesslog_checkpoint = 64 5
ldap_accesslog_dncachesize = 0
ldap_accesslog_idlcachesize = 10000
ldap_accesslog_shmkey = 0
ldap_common_loglevel = 256
ldap_log_level = 256
ldap_overlay_accesslog_logpurge = 01+00:00 00+04:00
ldap_overlay_syncprov_sessionlog = 500

I've also tried to restart ldap and even /etc/init.d/zimbra restart, but nothing seems to work. I also changed the permissions on /var/log/zimbra.log to a+w, but that didn't help things either. Any other tricks where I can see the ldap operations and connections?

Thanks!
Reply With Quote
  #4 (permalink)  
Old 09-27-2010, 08:04 AM
Junior Member
 
Posts: 7
Default

D'oh... it's being dumped in /var/log/debug instead /var/log/zimbra.log.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.