{"id":35,"date":"2010-02-01T14:48:21","date_gmt":"2010-02-01T13:48:21","guid":{"rendered":"http:\/\/toderu.ro\/blog\/?p=35"},"modified":"2010-02-01T14:48:21","modified_gmt":"2010-02-01T13:48:21","slug":"ldap-server-is-not-responding-database-looks-corrupted","status":"publish","type":"post","link":"https:\/\/kb.toderu.ro\/?p=35","title":{"rendered":"LDAP server is not responding, database looks corrupted."},"content":{"rendered":"<p>\t\t\t\tLDAP server is not responding, database looks corrupted.<br \/>\nArticle ID: 5476<br \/>\nLast Review: Feb,9 2009<br \/>\nAuthor: Vitaly Filatov<br \/>\nLast updated by: Vitaly Filatov APPLIES TO:<\/p>\n<p>    * Parallels Operations Automation<\/p>\n<p>Symptoms<br \/>\nLDAP server can be started, but it is not listening on port 389 and is not working, &#8216;slapcat&#8217; hangs too.<br \/>\nCause<br \/>\nLDAP back-end database is corrupted.<br \/>\nResolution<br \/>\nUse slapd_db_recover to recover the database, for example:<br \/>\n<code>[root@psaldap ldap]# slapd_db_recover -v -h \/var\/lib\/ldap<br \/>\ndb_recover: Finding last valid log LSN: file: 1 offset 263805<br \/>\ndb_recover: Recovery starting from [1][261683]<br \/>\ndb_recover: Recovery complete at Thu Jul 17 08:29:23 2008<br \/>\ndb_recover: Maximum transaction ID 80000175 Recovery checkpoint [1][264861]<\/code><\/p>\n<p>WARNING: Always backup database files before working the database, for standard install files are located in<br \/>\n\/var\/lib\/ldap\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LDAP server is not responding, database looks corrupted. Article ID: 5476 Last Review: Feb,9 2009 Author: Vitaly Filatov Last updated by: Vitaly Filatov APPLIES TO: * Parallels Operations Automation Symptoms LDAP server can be started, but it is not listening on port 389 and is not working, &#8216;slapcat&#8217; hangs too. Cause LDAP back-end database is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,5],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-bash","category-linux"],"_links":{"self":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35"}],"version-history":[{"count":0,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions"}],"wp:attachment":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}