LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-04-2010, 12:47 AM   #1
debianpinguin
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
OpenLDAP - Log description


Hy at all

Sometimes OpenLDAP ist not very well documented like the log files. I have the following log message:

slapd[4353]: conn=150 op=210 SEARCH ...

For what stands "conn" and "op" and what is mean with this numbers.

I am grateful for every help.

Kind Regards
Markus
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-04-2010, 01:54 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

conn=150 -> connection number 150. An increasing counter for each specific connection.
op=210 -> operation number within the connection number. An increasing counter for each operation for a specific connection.

So your example tells you that connection 150 has had 210 operations (there will be more, at least an unbind).

There is one special connection: conn=-1 fd=XX, this tells you that a specific connection is closed. Which connection can be found by matching the fd. I.e:

The start of a connection looks like this in a log:

slapd[1010]: daemon: conn=7448 fd=43 connection from IP=127.0.0.1:40629 (IP=:: 389) accepted.

After the search/add/mod the connection is closed with the following log entry:

slapd[1010]: conn=-1 fd=43 closed

Hope this clears things up a bit.
 
2 members found this post helpful.
Old 03-04-2010, 11:43 PM   #3
debianpinguin
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Hi

Yes that helps a lot. Thank you for your fast response.

Kind regards
 
  


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
nss_ldap, openldap and openldap-server ... what is openldap for? chakkerz Linux - Server 2 08-13-2009 07:16 PM
[SOLVED] $? - description RaptorX Programming 9 07-26-2009 12:05 PM
LXer: OpenLDAP Quick Tips: OpenLDAP Logfile analysis LXer Syndicated Linux News 0 12-01-2008 04:00 PM
LXer: OpenLDAP Quick Tips: Regularly upgrade OpenLDAP! LXer Syndicated Linux News 0 11-25-2008 02:00 PM
LXer: OpenLDAP Quick Tips: Using syslog or syslog-ng with slapd for OpenLDAP logging LXer Syndicated Linux News 0 11-14-2008 08:41 PM


All times are GMT -5. The time now is 07:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration