View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001865 | SOGo | Packaging (Debian) | public | 2012-07-09 13:30 | 2012-07-25 15:40 |
Reporter | maxb | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Product Version | 1.3.16 | ||||
Target Version | 1.3.17 | Fixed in Version | 1.3.17 | ||
Summary | 0001865: daily log rotation stops sogo due to old process taking too long to exit | ||||
Description | I have recently switched from a manual installation of SOGo to using the provided Debian packages on Debian squeeze. Since switching, most days, SOGo stops and fails to restart when cron runs logrotate. The logrotate executes "/etc/init.d/sogo restart", but usually the old process still has the listening tcp socket open when the new one tries to start, so it exits after 5 tries to open the socket. | ||||
Additional Information | Old (rotated) file: Jul 09 06:22:21 sogod [4722]: |SOGo| starting method 'REPORT' on uri '/SOGo/dav/mdyson/Calendar/personal/' New log file: Jul 09 06:25:23 sogod [5967]: version 1.3.16 (build @vizzini.inverse.ca 201206071319) -- starting | ||||
Tags | No tags attached. | ||||
Just to confirm we are experiencing the same problem with Debian(squeeze). |
|
Thanks for reporting this, this behavior was fixed long ago in the rpm packages by using copytruncate to avoid restarting sogo, but we were not using the same logrotate script for debian packages. This is now fixed and will be available in the next release. Meanwhile, you might want to fix the logrotate file:
|
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-09 13:30 | maxb | New Issue | |
2012-07-20 08:00 | axelr | Note Added: 0004182 | |
2012-07-23 12:40 | ludovic | Status | new => assigned |
2012-07-23 12:40 | ludovic | Assigned To | => jraby |
2012-07-23 17:49 |
|
Note Added: 0004208 | |
2012-07-23 17:49 |
|
Status | assigned => resolved |
2012-07-23 17:49 |
|
Resolution | open => fixed |
2012-07-23 18:01 | ludovic | Fixed in Version | => 1.3.17 |
2012-07-25 15:40 | francis | Target Version | => 1.3.17 |