Troubleshooting openLDAP errors

From Notes_Wiki
Revision as of 12:17, 23 April 2013 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>OpenLDAP_server_configuration|OpenLDAP</yambe:breadcrumb> =Troubleshooting openLDAP errors= ==Problem while adding new entries== Sometimes ldap may give er...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>OpenLDAP_server_configuration|OpenLDAP</yambe:breadcrumb>

Troubleshooting openLDAP errors

Problem while adding new entries

Sometimes ldap may give error while adding new entries if the LDAP server has recently been shudown uncleanly. The error message would be of the form:

ldap_add: Other (e.g., implementation specific) error (80)
additional info: index generation failed

To solve this problem one can take backup of existing data using slapcat and then restore it using slapadd. Then the server can be restarted and the value addition would start working properly. Steps for taking database backup and restoring it are mentioned at Database wide operations such as backup or restore for openLDAP