Emanuele Gesuato egesuato@ibc.it writes:
Hi there,
We are using OpenLDAP 2.2.29 (the full name of the setup is "openldap-2.2.29-db-4.3.29-openssl-0.9.8a-win32_Setup.exe") for a large number of Windows 2000 oses with service pack 4.
Often, it happens that the openldap service doesn't start and in the event log i can see the error code "21". Right now i can solve the problem reinstalling openldap and it works but i would like to know the cause of the problem (if any) and if there is another way to solve it.
Error code 21 is invalidAttributeSyntax, but is is very unlikely that slapd wouldn't start based on this error. So error 21 might be a Microsoft specific error code.
Maybe it is a dumb question but is it possible to retrieve the dump of ldap if the service doesn't start ?
I don't know anything about Windows specific building procedures, but a Unix built slapd can be started in debugging mode, fore more information see: http://www.openldap.org/doc/admin24/runningslapd.html#Command-Line Option
-Dieter