https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-05-09T14:22:23ZRedmineRedmine - Defect #8315: Unexplained breakagehttps://www.redmine.org/issues/8315?journal_id=287492011-05-09T14:22:23ZJames Byrne
<ul></ul><p>This does not appear to be a Redmine problem but a Phusion Passenger (Rails module for Apache) difficulty. I would try their support list on google groups first (<a class="external" href="https://groups.google.com/group/phusion-passenger">https://groups.google.com/group/phusion-passenger</a>). Their primary web site is: <a class="external" href="http://www.modrails.com/">http://www.modrails.com/</a></p> Redmine - Defect #8315: Unexplained breakagehttps://www.redmine.org/issues/8315?journal_id=287502011-05-09T14:37:26ZScot Wilcoxon
<ul></ul><p>The problem went away after I updated Redmine. I hope the new version is more robust and has better error reporting.</p> Redmine - Defect #8315: Unexplained breakagehttps://www.redmine.org/issues/8315?journal_id=291662011-05-24T14:17:09ZAndreas Bosch
<ul></ul><p>I had the same problem here. It seems to be related to the log rotation which may be configured in "[REDMINE_DIR]/config/additional_environment.rb":</p>
<p><code>config.logger = Logger.new(config.log_path, 2, 1000000)</code></p>
<p>I had the idea because this was the only change that had been made for the past few weeks. When I saw that a new log file had been created at the time the error occurred, I was quite sure that this is the problem.</p>
<p>After some googling I found out that the reason is most probably that the new log file is still locked by a process and may not be accessed by Redmine/Ruby/whatever. In my case, I have three Mongrel services running. Now, if one of these services creates the new log file, the other two may not be allowed to access it for some reason/bug. This assumption was confirmed when I stopped two Mongrel services because the problem no longer occurred.</p>
<p>However, I have now removed the log rotation from my configuration and everything works fine again. I do not know if there is a better solution for this problem.</p> Redmine - Defect #8315: Unexplained breakagehttps://www.redmine.org/issues/8315?journal_id=291672011-05-24T14:35:03ZEtienne Massip
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>It may be a Rails issue, but definitively not a Redmine one.</p>
<p>Using <code>logrotate</code> under Unix is the preferred way to solve it, according to the web (<a class="external" href="http://blog.seqmedia.com/?p=216">http://blog.seqmedia.com/?p=216</a>).</p>