[Date Prev][Date Next] [Chronological] [Thread] [Top]

Suggest slapd loglevel



Hello,

I have a crucial ldap server that is sick.  It (slapd) dies about 5 times 
a day.  This is reoccuring on all 3 of our ldap servers (2 slaves), so I 
am thinking it is a configuration issue on our main public server 
(mail,www,ftp,ssh) or just a config error on the ldap servers.

I have the log level set at 256 and I am getting decent logs.  I have 
narrowed down the crash patterns.  It seems that LDAP does not like 3 or 4 
users.  One in particular is a username, for this purpose lets say 
danielk, is the last searched username before 90% of the crashes.

Here is an exert:

Sep 12 09:01:53 slurpy slapd[869]: conn=27435 op=0 BIND dn="CN=MANAGER,DC=AERO,DC=UND,DC=EDU" method=128
Sep 12 09:01:53 slurpy slapd[869]: conn=27435 op=0 RESULT tag=97 err=0 text=
Sep 12 09:01:53 slurpy slapd[753]: conn=27435 op=1 SRCH base="ou=People,dc=aero,dc=und,dc=edu" scope=2 filter="(uid=waltz)"
Sep 12 09:01:53 slurpy slapd[753]: conn=27435 op=1 SEARCH RESULT tag=101 err=0 text=
Sep 12 09:01:53 slurpy slapd[752]: conn=27435 op=2 BIND dn="CN=WALTZ,OU=AVIT,OU=STUDENTS,OU=PEOPLE,DC=AERO,DC=UND,DC=EDU" method=128
Sep 12 09:01:53 slurpy slapd[752]: conn=27435 op=2 RESULT tag=97 err=0 text=
Sep 12 09:01:53 slurpy slapd[738]: conn=27435 op=3 BIND dn="CN=MANAGER,DC=AERO,DC=UND,DC=EDU" method=128
Sep 12 09:01:53 slurpy slapd[738]: conn=27435 op=3 RESULT tag=97 err=0 text=
Sep 12 09:01:53 slurpy slapd[869]: conn=27435 op=4 UNBIND
Sep 12 09:01:53 slurpy slapd[869]: conn=-1 fd=44 closed
Sep 12 09:01:53 slurpy slapd[753]: conn=27434 op=2 SRCH base="ou=Groups,dc=aero,dc=und,dc=edu" scope=1 filter="(&(objectClass=posixGroup)(memberUid=waltz))"
Sep 12 09:01:53 slurpy slapd[753]: conn=27434 op=2 SEARCH RESULT tag=101 err=0 text=
Sep 12 09:01:54 slurpy slapd[726]: daemon: conn=27436 fd=44 connection from IP=134.129.212.13:53103 (IP=0.0.0.0:31746) accepted.
Sep 12 09:01:54 slurpy slapd[752]: conn=27436 op=0 BIND dn="CN=MANAGER,DC=AERO,DC=UND,DC=EDU" method=128
Sep 12 09:01:54 slurpy slapd[752]: conn=27436 op=0 RESULT tag=97 err=0 text=
Sep 12 09:01:54 slurpy slapd[738]: conn=27436 op=1 SRCH base="ou=People,dc=aero,dc=und,dc=edu" scope=2 filter="(&(objectClass=posixAccount)(uid=james))"
Sep 12 09:01:54 slurpy slapd[738]: conn=27436 op=1 SEARCH RESULT tag=101 err=0 text=
Sep 12 09:01:55 slurpy slapd[726]: daemon: conn=27437 fd=52 connection from IP=134.129.212.13:53105 (IP=0.0.0.0:31746) accepted.
Sep 12 09:01:55 slurpy slapd[869]: conn=27437 op=0 BIND dn="CN=MANAGER,DC=AERO,DC=UND,DC=EDU" method=128
Sep 12 09:01:55 slurpy slapd[869]: conn=27437 op=0 RESULT tag=97 err=0 text=
Sep 12 09:01:55 slurpy slapd[753]: conn=27437 op=1 SRCH base="ou=People,dc=aero,dc=und,dc=edu" scope=2 filter="(&(objectClass=posixAccount)(uid=danielk))"
* CRASH HERE (note the seconds, I have a keep-alive script running to restart on stopped slapd)
Sep 12 09:02:00 slurpy slapd[29001]: daemon: socket() failed errno=97 (Address family not supported by protocol)
Sep 12 09:02:00 slurpy slapd[29001]: daemon: socket() failed errno=97 (Address family not supported by protocol)
Sep 12 09:02:00 slurpy slapd[29004]: slapd starting
Sep 12 09:02:00 slurpy slapd[29011]: daemon: conn=0 fd=10 connection from IP=134.129.212.13:53137 (IP=0.0.0.0:31746) accepted.
Sep 12 09:02:00 slurpy slapd[29012]: conn=0 op=0 BIND dn="CN=MANAGER,DC=AERO,DC=UND,DC=EDU" method=128
Sep 12 09:02:00 slurpy slapd[29012]: conn=0 op=0 RESULT tag=97 err=0 text=
Sep 12 09:02:00 slurpy slapd[29012]: conn=0 op=1 SRCH base="ou=Groups,dc=aero,dc=und,dc=edu" scope=1 filter="(&(objectClass=posixGroup)(memberUid=apache))"
Sep 12 09:02:00 slurpy slapd[29012]: conn=0 op=1 SEARCH RESULT tag=101 err=0 text=
Sep 12 09:02:01 slurpy slapd[29011]: daemon: conn=1 fd=15 connection from IP=134.129.212.13:53138 (IP=0.0.0.0:31746) accepted.
Sep 12 09:02:01 slurpy slapd[29011]: daemon: conn=2 fd=16 connection from IP=134.129.212.13:53139 (IP=0.0.0.0:31746) accepted.
Sep 12 09:02:01 slurpy slapd[29012]: conn=1 op=0 BIND dn="CN=MANAGER,DC=AERO,DC=UND,DC=EDU" method=128
Sep 12 09:02:01 slurpy slapd[29012]: conn=1 op=0 RESULT tag=97 err=0 text=
Sep 12 09:02:01 slurpy slapd[29012]: conn=2 op=0 BIND dn="CN=MANAGER,DC=AERO,DC=UND,DC=EDU" method=128

What log level can I run this at so I can get the reason why it crashes!!!

Thanks,



Caylan Van Larson
Unix Administrator - Systems Team Member
University of North Dakota (Aerospace College)
caylan@cs.und.edu
701-777-6151 (work)