Project

General

Profile

occur 500 error every night

Added by ww yhy over 13 years ago

I have installed Redmine to Linux. But it is occur 500 error every night. I don't know why?
Who can give me some suggestion?
Below is my Redmine infomation:

OS: RHEL5.2 64bit
Redmine: 0.9.3,0.9.4,0.9.5 (I try this three version. I got the same result)
Ruby:1.8.7
Rails:2.3.5
MySQL:5.1.X

Who can give me some suggestion?
Thanks!

BR,wwyhy


Replies (8)

RE: occur 500 error every night - Added by Toshi MARUYAMA over 13 years ago

I think cron.daily restart apache.

RE: occur 500 error every night - Added by ww yhy over 13 years ago

I have not use the Apache.

every day. i need to kill the ruby process and restart the redmine. and then it is work fine.

I don't know if the reson is ruby version. My ruby version is 1.8.7.

Thanks!

Br,wwyhy

RE: occur 500 error every night - Added by Neil K over 13 years ago

How you are starting redmine? Please provide the exact command you are using.

RE: occur 500 error every night - Added by ww yhy over 13 years ago

I use "ruby script/server webrick -e production" command to start my Redmine.

-----
[root@localhost redmine-0.9.5]# RAILS_ENV=production script/about
./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.6
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /usr/local/redmine-0.9.5
Environment production
Database adapter mysql
Database schema version 20100221100219

RE: occur 500 error every night - Added by Neil K over 13 years ago

So, I think you are using "ruby script/server webrick -e production" on a shell prompt and exits that shell when leaving? Anyway, use "-d" switch with the command to start redmine (ruby script/server webrick -e production -d) which may solve your issue.

RE: occur 500 error every night - Added by ww yhy over 13 years ago

I have try to use (ruby script/server webrick -e production -d) to start my Redmine. But i also got the 500 error next day.

RE: occur 500 error every night - Added by xuemei yang over 13 years ago

I have the same problem.
And i can't find why this happened.
There's no error log.

RE: occur 500 error every night - Added by Chinakite Zhang over 13 years ago

I have the same problem.
Who can give me some suggestion?

    (1-8/8)