<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — iredapd.log logrotate problem]]></title>
		<link>https://forum.iredmail.org/topic2450-iredapdlog-logrotate-problem.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic2450.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in iredapd.log logrotate problem.]]></description>
		<lastBuildDate>Tue, 20 Sep 2011 10:13:54 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: iredapd.log logrotate problem]]></title>
			<link>https://forum.iredmail.org/post11546.html#p11546</link>
			<description><![CDATA[<p>iredapd is a important service for postfix, is it a good idea to restart it on a running system everyday?</p><p>I afraid system cracking once iredapd service restarting got any problem during mid-night.</p><p>I remember that I have an experience on iredapd service stop and make the system crack.</p>]]></description>
			<author><![CDATA[null@example.com (hoho)]]></author>
			<pubDate>Tue, 20 Sep 2011 10:13:54 +0000</pubDate>
			<guid>https://forum.iredmail.org/post11546.html#p11546</guid>
		</item>
		<item>
			<title><![CDATA[Re: iredapd.log logrotate problem]]></title>
			<link>https://forum.iredmail.org/post11539.html#p11539</link>
			<description><![CDATA[<p>Seems caused by iRedAPD, you can try to restart iredapd service in &quot;postrotate&quot;:<br /></p><div class="codebox"><pre><code>    postrotate
        /bin/kill -HUP $(cat /var/run/syslogd.pid 2&gt; /dev/null) 2&gt; /dev/null || true
        /etc/init.d/iredapd restart
    endscript</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 20 Sep 2011 09:31:39 +0000</pubDate>
			<guid>https://forum.iredmail.org/post11539.html#p11539</guid>
		</item>
		<item>
			<title><![CDATA[Re: iredapd.log logrotate problem]]></title>
			<link>https://forum.iredmail.org/post11536.html#p11536</link>
			<description><![CDATA[<p># cat /etc/logrotate.d/iredapd<br />/var/log/iredapd.log {<br />&nbsp; &nbsp; compress<br />&nbsp; &nbsp; daily<br />&nbsp; &nbsp; rotate 30<br />&nbsp; &nbsp; missingok</p><p>&nbsp; &nbsp; # Use bzip2 for compress.<br />&nbsp; &nbsp; compresscmd /usr/bin/bzip2<br />&nbsp; &nbsp; uncompresscmd /usr/bin/bunzip2<br />&nbsp; &nbsp; compressoptions -9<br />&nbsp; &nbsp; compressext .bz2 </p><p>&nbsp; &nbsp; # Used on RHEL/CentOS.<br />#&nbsp; &nbsp; postrotate<br />#&nbsp; &nbsp; &nbsp; &nbsp;/sbin/service syslog restart &amp;&gt;/dev/null<br />#&nbsp; &nbsp; endscript</p><p>&nbsp; &nbsp; postrotate<br />&nbsp; &nbsp; &nbsp; &nbsp; /bin/kill -HUP $(cat /var/run/syslogd.pid 2&gt; /dev/null) 2&gt; /dev/null || true<br />&nbsp; &nbsp; endscript</p><p>&nbsp; &nbsp; # Used on Ubuntu.<br />&nbsp; &nbsp; #postrotate<br />&nbsp; &nbsp; #&nbsp; &nbsp; invoke-rc.d sysklogd reload &gt; /dev/null<br />&nbsp; &nbsp; #endscript<br />}</p>]]></description>
			<author><![CDATA[null@example.com (hoho)]]></author>
			<pubDate>Tue, 20 Sep 2011 02:24:43 +0000</pubDate>
			<guid>https://forum.iredmail.org/post11536.html#p11536</guid>
		</item>
		<item>
			<title><![CDATA[Re: iredapd.log logrotate problem]]></title>
			<link>https://forum.iredmail.org/post11532.html#p11532</link>
			<description><![CDATA[<p>Could you please paste /etc/logrotate.d/iredapd?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 19 Sep 2011 10:21:50 +0000</pubDate>
			<guid>https://forum.iredmail.org/post11532.html#p11532</guid>
		</item>
		<item>
			<title><![CDATA[iredapd.log logrotate problem]]></title>
			<link>https://forum.iredmail.org/post11527.html#p11527</link>
			<description><![CDATA[<p>==== Provide basic information to help troubleshoot ====<br />- iRedMail version: <br />- Linux/BSD distribution name and version: <br />- Any related log? Log is helpful for troubleshooting.<br />====</p><p>iRedMail: 0.7.3<br />CentOS 5.4</p><p>I found that the iredapd.log is 0 byte after logrotate every time.</p><p>I try to reboot the iRedMail server and found that the iredapd.log back to normal on 17 Sept. and some record can write inside the log file but after mid-night corn job of logrotate, the log file had been compressed and than a new log file had been created but there are no more record anymore...</p><p>-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 Sep 17 00:02 iredapd.log<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep&nbsp; 8 00:02 iredapd.log.10.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep&nbsp; 7 00:02 iredapd.log.11.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep&nbsp; 6 00:02 iredapd.log.12.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep&nbsp; 5 00:02 iredapd.log.13.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep&nbsp; 4 00:02 iredapd.log.14.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep&nbsp; 3 00:02 iredapd.log.15.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep&nbsp; 2 00:02 iredapd.log.16.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep&nbsp; 1 00:02 iredapd.log.17.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 31 00:02 iredapd.log.18.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 30 00:02 iredapd.log.19.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; 4055 Sep 17 00:02 iredapd.log.1.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 29 00:02 iredapd.log.20.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 28 00:02 iredapd.log.21.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 27 00:02 iredapd.log.22.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 26 00:02 iredapd.log.23.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 25 00:02 iredapd.log.24.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 24 00:02 iredapd.log.25.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 23 00:02 iredapd.log.26.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 22 00:02 iredapd.log.27.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 21 00:02 iredapd.log.28.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 20 00:02 iredapd.log.29.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep 16 00:02 iredapd.log.2.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Aug 19 00:02 iredapd.log.30.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep 15 00:02 iredapd.log.3.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep 14 00:02 iredapd.log.4.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep 13 00:02 iredapd.log.5.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep 12 00:02 iredapd.log.6.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep 11 00:02 iredapd.log.7.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep 10 00:02 iredapd.log.8.bz2<br />-rw------- 1 root&nbsp; &nbsp;root&nbsp; &nbsp; &nbsp; &nbsp; 14 Sep&nbsp; 9 00:02 iredapd.log.9.bz2</p>]]></description>
			<author><![CDATA[null@example.com (hoho)]]></author>
			<pubDate>Mon, 19 Sep 2011 07:12:08 +0000</pubDate>
			<guid>https://forum.iredmail.org/post11527.html#p11527</guid>
		</item>
	</channel>
</rss>
