Kolab 3.3 hanging weekly

Matthias Albrecht matthias.albrecht at tigerbaer.de
Mon Jan 12 14:02:51 CET 2015


PJ,

thanks for pointing me the right direction. I googled and stumbled over 
http://unix.stackexchange.com/questions/47688/how-to-avoid-apache-reload-when-rotating-logs. 
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:

/var/log/apache2/*.log {
         weekly
         copytruncate
         missingok
         rotate 52
         compress
         delaycompress
         notifempty
         create 640 root adm
         sharedscripts
         prerotate
                 if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
                         run-parts /etc/logrotate.d/httpd-prerotate; \
                 fi; \
         endscript
}

I am not sure that this is correct. But I will let you know after next 
sunday.

Matthias


-------- Original-Nachricht --------
*Betreff: *Re: Kolab 3.3 hanging weekly
*Von: *pj at websavages.com
*An: *Matthias Albrecht <matthias.albrecht at tigerbaer.de>
*Kopie (CC): *"users at lists.kolab.org" <users at lists.kolab.org>
*Datum: *12.01.2015 13:09
> 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!
>
> Cheers PJ
>
> On 12 Jan 2015, at 09:42, Matthias Albrecht 
> <matthias.albrecht at tigerbaer.de 
> <mailto:matthias.albrecht at tigerbaer.de>> wrote:
>
>> Hi all,
>>
>> 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:
>>
>> -------- Weitergeleitete Nachricht --------
>> Betreff: 	Cron <root at kolab> test -x /usr/sbin/anacron || ( cd / && 
>> run-parts --report /etc/cron.daily )
>> Datum: 	Mon, 12 Jan 2015 06:25:07 +0100 (CET)
>> Von: 	Cron Daemon <root at tigerbaer.de>
>> An: 	root at tigerbaer.de
>>
>>
>>
>> /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.
>>
>> These warnings seem to be unrelated to ActiveSync not working. I 
>> solve the situation be rebooting.
>>
>> Can anyone please point me the right direction?
>>
>> Thanks,
>>
>> Matthias
>>
>> _______________________________________________
>> users mailing list
>> users at lists.kolab.org <mailto:users at lists.kolab.org>
>> https://lists.kolab.org/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20150112/5574d71a/attachment-0001.html>


More information about the users mailing list