<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
PJ,<br>
<br>
thanks for pointing me the right direction. I googled and stumbled
over
<a class="moz-txt-link-freetext" href="http://unix.stackexchange.com/questions/47688/how-to-avoid-apache-reload-when-rotating-logs">http://unix.stackexchange.com/questions/47688/how-to-avoid-apache-reload-when-rotating-logs</a>.
Not having tried it, the "copytruncate" option seems to solve the
problem of reload. This is how I have modified my
/etc/logrotate.d/apache2:<br>
<br>
/var/log/apache2/*.log {<br>
weekly<br>
copytruncate<br>
missingok<br>
rotate 52<br>
compress<br>
delaycompress<br>
notifempty<br>
create 640 root adm<br>
sharedscripts<br>
prerotate<br>
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \<br>
run-parts /etc/logrotate.d/httpd-prerotate;
\<br>
fi; \<br>
endscript<br>
}<br>
<br>
I am not sure that this is correct. But I will let you know after
next sunday.<br>
<br>
Matthias<br>
<br>
<br>
<div class="moz-cite-prefix">-------- Original-Nachricht --------<br>
<b>Betreff: </b>Re: Kolab 3.3 hanging weekly<br>
<b>Von: </b><a class="moz-txt-link-abbreviated" href="mailto:pj@websavages.com">pj@websavages.com</a><br>
<b>An: </b>Matthias Albrecht
<a class="moz-txt-link-rfc2396E" href="mailto:matthias.albrecht@tigerbaer.de"><matthias.albrecht@tigerbaer.de></a><br>
<b>Kopie (CC): </b><a class="moz-txt-link-rfc2396E" href="mailto:users@lists.kolab.org">"users@lists.kolab.org"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.kolab.org"><users@lists.kolab.org></a><br>
<b>Datum: </b>12.01.2015 13:09<br>
</div>
<blockquote
cite="mid:57F73423-CBB1-4D4E-9AAA-36B651C31AE2@websavages.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div>I think the log rotate kills apache. I've changed my log
rotate script to execute a httpd restart instead of a reload.
Next Sunday will tell me if that has worked!</div>
<div><br>
</div>
<div>Cheers PJ<br>
</div>
<div><br>
On 12 Jan 2015, at 09:42, Matthias Albrecht <<a
moz-do-not-send="true"
href="mailto:matthias.albrecht@tigerbaer.de">matthias.albrecht@tigerbaer.de</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
Hi all,<br>
<br>
I am running a Kolab 3.3 on debian wheezy. The system runs 24
* 7. Once a week - typically from saturday to sunday - the
ActiveSync fails and I get the following error report:<br>
<br>
-------- Weitergeleitete Nachricht --------
<table class="moz-email-headers-table" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Betreff:
</th>
<td>Cron <root@kolab> test -x /usr/sbin/anacron ||
( cd / && run-parts --report /etc/cron.daily )</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Datum:
</th>
<td>Mon, 12 Jan 2015 06:25:07 +0100 (CET)</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Von:
</th>
<td>Cron Daemon <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:root@tigerbaer.de"><root@tigerbaer.de></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">An:
</th>
<td><a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:root@tigerbaer.de">root@tigerbaer.de</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>/etc/cron.daily/logrotate:
Warning: DocumentRoot [/var/www/html] does not exist
[Mon Jan 12 06:25:03 2015] [warn] The Alias directive in /etc/apache2/sites-enabled/chwala.conf at line 3 will probably never match because it overlaps an earlier Alias.
[Mon Jan 12 06:25:03 2015] [warn] The Alias directive in /etc/apache2/sites-enabled/iRony.conf at line 1 will probably never match because it overlaps an earlier Alias.
[Mon Jan 12 06:25:03 2015] [warn] The ScriptAlias directive in /etc/apache2/sites-enabled/kolab-freebusy.conf at line 1 will probably never match because it overlaps an earlier ScriptAlias.
[Mon Jan 12 06:25:03 2015] [warn] The ScriptAlias directive in /etc/apache2/sites-enabled/kolab-syncroton.conf at line 4 will probably never match because it overlaps an earlier ScriptAlias.
[Mon Jan 12 06:25:03 2015] [warn] The Alias directive in /etc/apache2/sites-enabled/kolab-webadmin.conf at line 12 will probably never match because it overlaps an earlier Alias.
[Mon Jan 12 06:25:03 2015] [warn] The Alias directive in /etc/apache2/sites-enabled/roundcubemail.conf at line 20 will probably never match because it overlaps an earlier Alias.
[Mon Jan 12 06:25:03 2015] [warn] The Alias directive in /etc/apache2/sites-enabled/roundcubemail.conf at line 21 will probably never match because it overlaps an earlier Alias.
</pre>
<br>
These warnings seem to be unrelated to ActiveSync not working.
I solve the situation be rebooting.<br>
<br>
Can anyone please point me the right direction?<br>
<br>
Thanks,<br>
<br>
Matthias<br>
<br>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>users mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:users@lists.kolab.org">users@lists.kolab.org</a></span><br>
<span><a moz-do-not-send="true"
href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a></span></div>
</blockquote>
</blockquote>
<br>
<br>
</body>
</html>