<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — opnenldap not starting and unable to login and receive mail]]></title>
		<link>http://www.iredmail.org/forum/topic3655-opnenldap-not-starting-and-unable-to-login-and-receive-mail.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic3655.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in opnenldap not starting and unable to login and receive mail.]]></description>
		<lastBuildDate>Thu, 26 Jul 2012 11:19:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: opnenldap not starting and unable to login and receive mail]]></title>
			<link>http://www.iredmail.org/forum/post17222.html#p17222</link>
			<description><![CDATA[<p>I was wondering if you had a chance too look into this issue, because since then I have went through the process of creating the certificates and giving them the proper permissions three times, and yet I am still not able to start ldap and use email.</p>]]></description>
			<author><![CDATA[null@example.com (ronmitch4)]]></author>
			<pubDate>Thu, 26 Jul 2012 11:19:24 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17222.html#p17222</guid>
		</item>
		<item>
			<title><![CDATA[Re: opnenldap not starting and unable to login and receive mail]]></title>
			<link>http://www.iredmail.org/forum/post17052.html#p17052</link>
			<description><![CDATA[<p>Below is the output you asked for and they appear to correct unless, they are supposed to be read write and execute?</p><p>ls -l /etc/ssl/certs/iRedMail_CA.pem <br />-rw-r--r-- 1 root root 1525 Jul 16 13:34 /etc/ssl/certs/iRedMail_CA.pem</p><p>ls -l /etc/ssl/private/iRedMail.key<br />-rw-r--r-- 1 root root 1704 Jul 16 13:33 /etc/ssl/private/iRedMail.key</p>]]></description>
			<author><![CDATA[null@example.com (ronmitch4)]]></author>
			<pubDate>Tue, 17 Jul 2012 11:46:10 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17052.html#p17052</guid>
		</item>
		<item>
			<title><![CDATA[Re: opnenldap not starting and unable to login and receive mail]]></title>
			<link>http://www.iredmail.org/forum/post17040.html#p17040</link>
			<description><![CDATA[<p>Do you have correct file permission on cert files? Show us output of below commands:<br /></p><div class="codebox"><pre><code># ls -l /etc/ssl/certs/iRedMail_CA.pem /etc/ssl/private/iRedMail.key</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 17 Jul 2012 09:55:47 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17040.html#p17040</guid>
		</item>
		<item>
			<title><![CDATA[Re: opnenldap not starting and unable to login and receive mail]]></title>
			<link>http://www.iredmail.org/forum/post17032.html#p17032</link>
			<description><![CDATA[<p>Zhang,</p><p>it appears that the ldap server had stopped running again and it is now unable to restart, and this was after I regenerated the new ssl keys via the script, and I am back to receiving the error message in the openldap.log below.</p><p>Jul 16 15:13:42 mail slapd[4102]: connections_destroy: nothing to destroy.<br />Jul 15 15:21:28 mail slapd[1740]: @(#) $OpenLDAP: slapd 2.4.26 $#012#011opensuse-buildservice@opensuse.org<br />Jul 15 15:21:29 mail slapd[1740]: main: TLS init def ctx failed: -1<br />Jul 15 15:21:29 mail slapd[1740]: slapd stopped.<br />Jul 15 15:21:29 mail slapd[1740]: connections_destroy: nothing to destroy.</p><p>I&#039;m not really sure what else to really check here as far as this issue is concerned and I could see that the service did come back for a while when I checked the status of the ldap daemon, but I decided to restart it when I could not login, and the ldap service never recovered.</p>]]></description>
			<author><![CDATA[null@example.com (ronmitch4)]]></author>
			<pubDate>Mon, 16 Jul 2012 19:36:13 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17032.html#p17032</guid>
		</item>
		<item>
			<title><![CDATA[Re: opnenldap not starting and unable to login and receive mail]]></title>
			<link>http://www.iredmail.org/forum/post17031.html#p17031</link>
			<description><![CDATA[<p>Zhang,</p><p>I generated the certs and moved the to the proper directory and restarted my server and the ldap service is back up and running and I am no longer generating the &quot;Jul 16 13:40:07 mail slapd[1733]: main: TLS init def ctx failed: -1&quot; error message but I am still not able login or receive email. Below is what I am seeing in my mail log.</p><p>Here is the error I get when trying to login, and again no changes were made to this server.</p><p>Jul 16 14:21:43 mail roundcube: IMAP Error: Login failed for localuser@domain.com from 127.0.0.1. AUTHENTICATE PLAIN: Temporary authentication failure. in /srv/www/roundcubemail-0.7/program/include/rcube_imap.php on line 205 (POST /mail/?_task=login&amp;_action=login)</p><p>And for any incoming mail I get this below</p><p>Jul 16 14:20:21 mail clamd[2524]: SelfCheck: Database status OK.<br />Jul 16 14:20:27 mail postfix/proxymap[3987]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=articulate2day,dc=com: -1 (Can&#039;t contact LDAP server)<br />Jul 16 14:20:27 mail postfix/trivial-rewrite[4427]: warning: proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf lookup of * failed<br />Jul 16 14:20:27 mail postfix/proxymap[3987]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=articulate2day,dc=com: -1 (Can&#039;t contact LDAP server)<br />Jul 16 14:20:27 mail postfix/trivial-rewrite[4427]: warning: proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf lookup of * failed<br />Jul 16 14:20:27 mail postfix/proxymap[3987]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=articulate2day,dc=com: -1 (Can&#039;t contact LDAP server)<br />Jul 16 14:20:27 mail postfix/trivial-rewrite[4427]: fatal: proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem<br />Jul 16 14:20:27 mail postfix/proxymap[3987]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=articulate2day,dc=com: -1 (Can&#039;t contact LDAP server)<br />Jul 16 14:20:27 mail postfix/trivial-rewrite[4428]: warning: proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf lookup of * failed<br />Jul 16 14:20:27 mail postfix/proxymap[3987]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=articulate2day,dc=com: -1 (Can&#039;t contact LDAP server)<br />Jul 16 14:20:27 mail postfix/trivial-rewrite[4428]: warning: proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf lookup of * failed<br />Jul 16 14:20:27 mail postfix/proxymap[3987]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=articulate2day,dc=com: -1 (Can&#039;t contact LDAP server)<br />Jul 16 14:20:27 mail postfix/trivial-rewrite[4428]: fatal: proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem<br />Jul 16 14:20:27 mail postfix/proxymap[3987]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=articulate2day,dc=com: -1 (Can&#039;t contact LDAP server)<br />Jul 16 14:20:27 mail postfix/trivial-rewrite[4429]: warning: proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf lookup of * failed<br />Jul 16 14:20:27 mail postfix/proxymap[3987]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=articulate2day,dc=com: -1 (Can&#039;t contact LDAP server)<br />Jul 16 14:20:27 mail postfix/trivial-rewrite[4429]: warning: proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf lookup of * failed<br />Jul 16 14:20:27 mail postfix/smtpd[4424]: private/rewrite socket: wanted attribute: flags<br />Jul 16 14:20:27 mail postfix/smtpd[4424]: input attribute name: flags<br />Jul 16 14:20:27 mail postfix/smtpd[4424]: input attribute value: 0<br />Jul 16 14:20:27 mail postfix/smtpd[4424]: private/rewrite socket: wanted attribute: address<br />Jul 16 14:20:27 mail postfix/smtpd[4424]: input attribute name: address<br />Jul 16 14:20:27 mail postfix/smtpd[4424]: input attribute value: rvdmitchell@comcast.net<br />Jul 16 14:20:27 mail postfix/smtpd[4424]: private/rewrite socket: wanted attribute: (list terminator)<br />Jul 16 14:20:27 mail postfix/smtpd[4424]: input attribute name: (end)<br />Jul 16 14:20:27 mail postfix/smtpd[4424]: rewrite_clnt: local: rvdmitchell@comcast.net -&gt; rvdmitchell@comcast.net<br />Jul 16 14:20:27 mail postfix/smtpd[4424]: send attr request = resolve<br />Jul 16 14:20:27 mail postfix/smtpd[4424]: send attr sender = <br />Jul 16 14:20:27 mail postfix/smtpd[4424]: send attr address = rvdmitchell@comcast.net<br />Jul 16 14:20:27 mail postfix/proxymap[3987]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=articulate2day,dc=com: -1 (Can&#039;t contact LDAP server)<br />Jul 16 14:20:27 mail postfix/trivial-rewrite[4429]: fatal: proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem<br />Jul 16 14:20:28 mail postfix/smtpd[4047]: warning: problem talking to service rewrite: Success<br />Jul 16 14:20:28 mail postfix/smtpd[4159]: warning: problem talking to service rewrite: Connection reset by peer<br />Jul 16 14:20:28 mail postfix/master[3965]: warning: process /usr/lib/postfix/trivial-rewrite pid 4427 exit status 1<br />Jul 16 14:20:28 mail postfix/master[3965]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling<br />Jul 16 14:20:28 mail postfix/smtpd[4200]: warning: problem talking to service rewrite: Success<br />Jul 16 14:20:28 mail postfix/smtpd[4367]: warning: problem talking to service rewrite: Connection reset by peer<br />Jul 16 14:20:28 mail postfix/master[3965]: warning: process /usr/lib/postfix/trivial-rewrite pid 4428 exit status 1<br />Jul 16 14:20:28 mail postfix/smtpd[4424]: warning: problem talking to service rewrite: Success<br />Jul 16 14:20:28 mail postfix/master[3965]: warning: process /usr/lib/postfix/trivial-rewrite pid 4429 exit status 1<br />Jul 16 14:20:29 mail postfix/smtpd[4047]: rewrite stream disconnect<br />Jul 16 14:20:29 mail postfix/smtpd[4047]: connect to subsystem private/rewrite<br />Jul 16 14:20:29 mail postfix/smtpd[4047]: send attr request = resolve<br />Jul 16 14:20:29 mail postfix/smtpd[4047]: send attr sender = <br />Jul 16 14:20:29 mail postfix/smtpd[4047]: send attr address = rvdmitchell@comcast.net<br />Jul 16 14:20:29 mail postfix/smtpd[4159]: rewrite stream disconnect<br />Jul 16 14:20:29 mail postfix/smtpd[4159]: connect to subsystem private/rewrite<br />Jul 16 14:20:29 mail postfix/smtpd[4159]: send attr request = resolve<br />Jul 16 14:20:29 mail postfix/smtpd[4159]: send attr sender = <br />Jul 16 14:20:29 mail postfix/smtpd[4159]: send attr address = rvdmitchell@comcast.net<br />Jul 16 14:20:29 mail postfix/smtpd[4200]: rewrite stream disconnect<br />Jul 16 14:20:29 mail postfix/smtpd[4200]: connect to subsystem private/rewrite<br />Jul 16 14:20:29 mail postfix/smtpd[4367]: rewrite stream disconnect<br />Jul 16 14:20:29 mail postfix/smtpd[4200]: send attr request = resolve<br />Jul 16 14:20:29 mail postfix/smtpd[4200]: send attr sender = <br />Jul 16 14:20:29 mail postfix/smtpd[4200]: send attr address = rvdmitchell@comcast.net<br />Jul 16 14:20:29 mail postfix/smtpd[4367]: connect to subsystem private/rewrite<br />Jul 16 14:20:29 mail postfix/smtpd[4367]: send attr request = rewrite<br />Jul 16 14:20:29 mail postfix/smtpd[4367]: send attr rule = local<br />Jul 16 14:20:29 mail postfix/smtpd[4367]: send attr address = rvdmitchell@comcast.net<br />Jul 16 14:20:29 mail postfix/smtpd[4424]: rewrite stream disconnect<br />Jul 16 14:20:29 mail postfix/smtpd[4424]: connect to subsystem private/rewrite<br />Jul 16 14:20:29 mail postfix/smtpd[4424]: send attr request = resolve<br />Jul 16 14:20:29 mail postfix/smtpd[4424]: send attr sender = <br />Jul 16 14:20:29 mail postfix/smtpd[4424]: send attr address = rvdmitchell@comcast.net<br />Jul 16 14:21:28 mail postfix/proxymap[3987]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 with dn cn=vmail,dc=articulate2day,dc=com: -1 (Can&#039;t contact LDAP server)</p>]]></description>
			<author><![CDATA[null@example.com (ronmitch4)]]></author>
			<pubDate>Mon, 16 Jul 2012 18:25:10 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post17031.html#p17031</guid>
		</item>
		<item>
			<title><![CDATA[Re: opnenldap not starting and unable to login and receive mail]]></title>
			<link>http://www.iredmail.org/forum/post16969.html#p16969</link>
			<description><![CDATA[<p>Looks like a SSL cert related issue. DId you re-create SSL certs? They should be /etc/ssl/certs/iRedMail_CA.pem and /etc/ssl/private/iRedMail.key.</p><p>Also, please set &#039;log_level 256&#039; in /etc/openldap/slapd.conf, then restart OpenLDAP service, paste related log in /var/log/openldap.log here to help troubleshoot.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 12 Jul 2012 11:08:35 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post16969.html#p16969</guid>
		</item>
		<item>
			<title><![CDATA[opnenldap not starting and unable to login and receive mail]]></title>
			<link>http://www.iredmail.org/forum/post16939.html#p16939</link>
			<description><![CDATA[<p>==== Provide required information ====<br />- iRedMail version and backend (LDAP/MySQL/PGSQL):<br />- Linux/BSD distribution name and version:<br />- Any related log? Log is helpful for troubleshooting.<br />==== </p><p>Hello I have been running iredmail on my opensuse 12.1 server for a few months now for my business with no issues and now all of a sudden as of last week we are not able to login to our mailboxes or get mail. Absolutely no changes have been made to the server&nbsp; and it appears that the ldap daemon is not starting and I tried the database recovery, but that did not help my issue. Below are some of the errors in my logs.&nbsp; </p><p> # service ldap status<br />redirecting to systemctl<br />ldap.service - LSB: OpenLDAP Server (slapd)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Loaded: loaded (/etc/init.d/ldap)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Active: failed since Mon, 09 Jul 2012 10:34:24 -0400; 2 days ago<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Process: 6695 ExecStart=/etc/init.d/ldap start (code=exited, status=7/NOTRUNNING)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CGroup: name=systemd:/system/ldap.service</p><p>------------------------------------------------------------<br />mailog<br /> warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 <br />--------------------------------------------------------------<br />openldap log</p><p>Jul&nbsp; 9 10:34:24 mail slapd[6759]: @(#) $OpenLDAP: slapd 2.4.26 $#012#011opensuse-buildservice@opensuse.org<br />Jul&nbsp; 9 10:34:24 mail slapd[6759]: main: TLS init def ctx failed: -1<br />Jul&nbsp; 9 10:34:24 mail slapd[6759]: slapd stopped.<br />Jul&nbsp; 9 10:34:24 mail slapd[6759]: connections_destroy: nothing to destroy.</p><p>Any help with resolving this issue would be greatly appreciated</p>]]></description>
			<author><![CDATA[null@example.com (ronmitch4)]]></author>
			<pubDate>Wed, 11 Jul 2012 15:49:26 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post16939.html#p16939</guid>
		</item>
	</channel>
</rss>
