<?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=Ldap_Issue_energoindia</id>
	<title>Ldap Issue energoindia - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Ldap_Issue_energoindia"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Ldap_Issue_energoindia&amp;action=history"/>
	<updated>2026-07-25T09:49:28Z</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=Ldap_Issue_energoindia&amp;diff=2070&amp;oldid=prev</id>
		<title>Pramod: Created page with &quot; &#039;&#039;&#039;ENERGOINDIA IMAP AUTHENTICATION ISSUE&#039;&#039;&#039;   ISSUES WITH LDAP WITH QMAIL:-  1-LDAP service does not start/hangs on restarting or after reboot.  2-Getting error “Connection...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Ldap_Issue_energoindia&amp;diff=2070&amp;oldid=prev"/>
		<updated>2015-10-04T10:35:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; &amp;#039;&amp;#039;&amp;#039;ENERGOINDIA IMAP AUTHENTICATION ISSUE&amp;#039;&amp;#039;&amp;#039;   ISSUES WITH LDAP WITH QMAIL:-  1-LDAP service does not start/hangs on restarting or after reboot.  2-Getting error “Connection...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; &amp;#039;&amp;#039;&amp;#039;ENERGOINDIA IMAP AUTHENTICATION ISSUE&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ISSUES WITH LDAP WITH QMAIL:-&lt;br /&gt;
&lt;br /&gt;
1-LDAP service does not start/hangs on restarting or after reboot.&lt;br /&gt;
&lt;br /&gt;
2-Getting error “Connection Dropped by IMAP Server” when login throw web mail.&lt;br /&gt;
&lt;br /&gt;
3-Getting error “unauthentication error: Input/Output Error” in maillaog.&lt;br /&gt;
&lt;br /&gt;
4-On the restarting of ldap will get below error:-&lt;br /&gt;
&lt;br /&gt;
error:-&lt;br /&gt;
&lt;br /&gt;
“Checking configuration files for slapd: bdb_db_open: unclean shutdown detected; attempting recovery.&lt;br /&gt;
bdb_db_open: Recovery skipped in read-only mode. Run manual recovery if errors are encountered. “&lt;br /&gt;
&lt;br /&gt;
  SOULUTION:- Tested on energoindia.com&lt;br /&gt;
&lt;br /&gt;
1- Kill the db_recover.&lt;br /&gt;
&lt;br /&gt;
	 #pgrep -x db_recover&lt;br /&gt;
&lt;br /&gt;
2- If the ldap agent is currently running, kill it.&lt;br /&gt;
&lt;br /&gt;
 	  #pkill -9 -f agent_check_mcs_services.sh&lt;br /&gt;
&lt;br /&gt;
3- Stop ldap if it has started running.&lt;br /&gt;
&lt;br /&gt;
  	#/etc/init.d/ldap stop&lt;br /&gt;
&lt;br /&gt;
4- Move the index files of ldap.&lt;br /&gt;
  	&lt;br /&gt;
	&amp;#039;&amp;#039;&amp;#039;#mv /var/lib/ldap/__db.00* /backup&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
5- Move the lock file of ldap&lt;br /&gt;
&lt;br /&gt;
  	#mv /var/lib/ldap/alock  /backup&lt;br /&gt;
&lt;br /&gt;
6- Start ldap&lt;br /&gt;
&lt;br /&gt;
	#/etc/init.d/ldap start&lt;br /&gt;
&lt;br /&gt;
Now you will not get any error.&lt;br /&gt;
&lt;br /&gt;
Test using :-&lt;br /&gt;
&lt;br /&gt;
            #/var/qmail/bin/qmail-ldaplookup -m postmaster@energoindia.com&lt;br /&gt;
&lt;br /&gt;
  Thanks..&lt;/div&gt;</summary>
		<author><name>Pramod</name></author>
	</entry>
</feed>