<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Hotfix for iRedMail-0.7.1 (MySQL backend): iRedAPD stops suddenly.]]></title>
		<link>http://www.iredmail.org/forum/topic1972-hotfix-for-iredmail071-mysql-backend-iredapd-stops-suddenly.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic1972.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Hotfix for iRedMail-0.7.1 (MySQL backend): iRedAPD stops suddenly..]]></description>
		<lastBuildDate>Wed, 18 May 2011 00:39:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Hotfix for iRedMail-0.7.1 (MySQL backend): iRedAPD stops suddenly.]]></title>
			<link>http://www.iredmail.org/forum/post9589.html#p9589</link>
			<description><![CDATA[<div class="quotebox"><cite>winpr wrote:</cite><blockquote><p>  File &quot;/opt/iredapd/src/iredapd.py&quot;, line 79<br />    logging.debug(&#039;Error: %s. Use default action instead:<br />                                                         ^<br />SyntaxError: EOL while scanning single-quoted string</p></blockquote></div><p>It works for me here. Can you please create a new forum topic and paste line 78, 79, 80, 81 of file &quot;/opt/iredapd/src/iredapd.py&quot; in your post?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 18 May 2011 00:39:42 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post9589.html#p9589</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hotfix for iRedMail-0.7.1 (MySQL backend): iRedAPD stops suddenly.]]></title>
			<link>http://www.iredmail.org/forum/post9587.html#p9587</link>
			<description><![CDATA[<p>After &quot;# /etc/init.d/iredapd restart&quot;</p><p>[root@mail src]# /etc/init.d/iredapd restart<br />iredapd is already stopped.<br />Starting iredapd ...<br />&nbsp; File &quot;/opt/iredapd/src/iredapd.py&quot;, line 79<br />&nbsp; &nbsp; logging.debug(&#039;Error: %s. Use default action instead:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />SyntaxError: EOL while scanning single-quoted string</p><p>Thanks,<br />Tony</p>]]></description>
			<author><![CDATA[null@example.com (winpr)]]></author>
			<pubDate>Tue, 17 May 2011 19:08:38 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post9587.html#p9587</guid>
		</item>
		<item>
			<title><![CDATA[Hotfix for iRedMail-0.7.1 (MySQL backend): iRedAPD stops suddenly.]]></title>
			<link>http://www.iredmail.org/forum/post9307.html#p9307</link>
			<description><![CDATA[<p>Dear all,</p><p>Some users reported that iRedAPD in iRedMail-0.7.1 (MySQL backend special) will stop suddenly, and MySQL server complains &#039;too many connections&#039;.<br />Bug report post: <a href="http://www.iredmail.org/forum/topic1776-server-configuration-problem-mails-not-received.html">http://www.iredmail.org/forum/topic1776 … eived.html</a></p><p>The root cause is incorrect SQL operation in iRedAPD, it won&#039;t close sql connection immediately, that makes too many sleeping sql connections.</p><p>You can fix it with below steps:</p><p>- Download these two files:</p><p><a href="http://iredapd.iredmail.googlecode.com/hg/src/iredapd.py">http://iredapd.iredmail.googlecode.com/ … iredapd.py</a><br /><a href="http://iredapd.iredmail.googlecode.com/hg/src/plugins/sql_alias_access_policy.py">http://iredapd.iredmail.googlecode.com/ … _policy.py</a></p><p>- Replace /opt/iredapd/src/iredapd.py with downloaded &quot;iredapd.py&quot;.<br />- Replace /opt/iredapd/src/plugins/sql_alias_access_policy.py with downloaded<br /> &quot;sql_alias_access_policy.py&quot;.</p><p>- Set correct file permission on these two new files:<br /></p><div class="codebox"><pre><code># chown iredapd:iredapd /opt/iredapd/src/iredapd.py
# chown iredapd:iredapd /opt/iredapd/src/plugins/sql_alias_access_policy.py
# chmod 0700 /opt/iredapd/src/iredapd.py
# chmod 0700 /opt/iredapd/src/plugins/sql_alias_access_policy.py</code></pre></div><p>- Restart iRedAPD service.<br /></p><div class="codebox"><pre><code># /etc/init.d/iredapd restart</code></pre></div><p>That&#039;s all.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 08 May 2011 14:40:15 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post9307.html#p9307</guid>
		</item>
	</channel>
</rss>
