<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Energo_Qmail_LDAP_Recovery_Steps</id>
	<title>Energo Qmail LDAP Recovery Steps - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Energo_Qmail_LDAP_Recovery_Steps"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Energo_Qmail_LDAP_Recovery_Steps&amp;action=history"/>
	<updated>2026-07-25T09:47:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Energo_Qmail_LDAP_Recovery_Steps&amp;diff=2411&amp;oldid=prev</id>
		<title>Biswajit: moved Energo Qmail LDAP Revovery Steps to Energo Qmail LDAP Recovery Steps: Spelling mistake</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Energo_Qmail_LDAP_Recovery_Steps&amp;diff=2411&amp;oldid=prev"/>
		<updated>2017-11-07T07:56:32Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/index.php?title=Energo_Qmail_LDAP_Revovery_Steps&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Energo Qmail LDAP Revovery Steps (page does not exist)&quot;&gt;Energo Qmail LDAP Revovery Steps&lt;/a&gt; to &lt;a href=&quot;/index.php?title=Energo_Qmail_LDAP_Recovery_Steps&quot; title=&quot;Energo Qmail LDAP Recovery Steps&quot;&gt;Energo Qmail LDAP Recovery Steps&lt;/a&gt;: Spelling mistake&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:56, 7 November 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Biswajit</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Energo_Qmail_LDAP_Recovery_Steps&amp;diff=2410&amp;oldid=prev</id>
		<title>Biswajit: Created page with &quot;category:Tetra Clients category:Energo Group  Some time due to server failure or hard reboot of Qmail-LDAP server the LDAP services fails and LDAP database gets corrup...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Energo_Qmail_LDAP_Recovery_Steps&amp;diff=2410&amp;oldid=prev"/>
		<updated>2017-11-07T07:39:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Tetra_Clients&quot; title=&quot;Category:Tetra Clients&quot;&gt;category:Tetra Clients&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:Energo_Group&quot; title=&quot;Category:Energo Group&quot;&gt;category:Energo Group&lt;/a&gt;  Some time due to server failure or hard reboot of Qmail-LDAP server the LDAP services fails and LDAP database gets corrup...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[category:Tetra Clients]]&lt;br /&gt;
[[category:Energo Group]]&lt;br /&gt;
&lt;br /&gt;
Some time due to server failure or hard reboot of Qmail-LDAP server the LDAP services fails and LDAP database gets corrupted &lt;br /&gt;
&lt;br /&gt;
Restarting the Ldap services will show failure . &lt;br /&gt;
 service ldap restart &lt;br /&gt;
 Stopping slapd:                                            [  FAILED  ]&lt;br /&gt;
 Checking configuration files for slapd:  config file testing succeeded&lt;br /&gt;
                                                           [  WARNING  ]&lt;br /&gt;
 Starting slapd:                                            [  Failed  ]&lt;br /&gt;
&lt;br /&gt;
In this case we have to recover the LDAP database &lt;br /&gt;
&lt;br /&gt;
 cp -pvr /var/lib/ldap /var/lib/ldap.backup.&amp;lt;date&amp;gt;&lt;br /&gt;
 slapd_db_recover -h /var/lib/ldap&lt;br /&gt;
 service ldap restart &lt;br /&gt;
 Stopping slapd:                                            [  FAILED  ]&lt;br /&gt;
 Checking configuration files for slapd:  config file testing succeeded&lt;br /&gt;
                                                           [  OK  ]&lt;br /&gt;
 Starting slapd:                                            [  OK ]&lt;br /&gt;
&lt;br /&gt;
Check by ldapsearch command and should get following / Similar outputs. Now the LDAP is working Fine .&lt;br /&gt;
&lt;br /&gt;
 [root@node1 ~]# ldapsearch -x&lt;br /&gt;
 # extended LDIF&lt;br /&gt;
 #&lt;br /&gt;
 # LDAPv3&lt;br /&gt;
 # base &amp;lt;&amp;gt; with scope subtree&lt;br /&gt;
 # filter: (objectclass=*)&lt;br /&gt;
 # requesting: ALL&lt;br /&gt;
 #&lt;br /&gt;
 # energoindia.com&lt;br /&gt;
 dn: dc=energoindia,dc=com&lt;br /&gt;
 objectClass: dcObject&lt;br /&gt;
 objectClass: organization&lt;br /&gt;
 o: energoindia&lt;br /&gt;
 dc: energoindia&lt;br /&gt;
 # energoindia.com, energoindia.com&lt;br /&gt;
 dn: ou=energoindia.com,dc=energoindia,dc=com&lt;br /&gt;
 objectClass: top&lt;br /&gt;
 ...............................&lt;/div&gt;</summary>
		<author><name>Biswajit</name></author>
	</entry>
</feed>