Project

General

Profile

I have installed the redmine application on my linux shared hosting its not working. most of the time giving me the 505 internal server error.

Added by ali shan almost 12 years ago

I have successfully installed the redmine application on my linux shared hosting its not working properly. most of the time giving me the 505 internal server error.

my application url is
http://www.myvoiceclip.com/updates/public/

My fastcgi.crash.log file result
[26/Feb/2012:18:11:33 :: 1674] starting
[26/Feb/2012:18:12:19 :: 1674] asked to stop immediately
[26/Feb/2012:18:12:19 :: 1674] stopping after explicit exit
[26/Feb/2012:18:49:43 :: 28395] starting
[26/Feb/2012:18:50:34 :: 28395] asked to stop immediately
[26/Feb/2012:18:50:34 :: 28395] stopping after explicit exit
[26/Feb/2012:18:52:36 :: 2427] starting
[26/Feb/2012:18:53:28 :: 2427] asked to stop immediately
[26/Feb/2012:18:53:28 :: 2427] stopping after explicit exit
[26/Feb/2012:19:09:49 :: 20895] starting
[26/Feb/2012:19:10:29 :: 20895] asked to stop immediately
[26/Feb/2012:19:10:29 :: 20895] stopping after explicit exit

Pleas help me i am very upset :(
some time its giving me the issue 505 internal server error.and some time its working fine :( i dont understand what's happening

My production.log file size is 8mb that is why i just show you the little part.

Processing TimelogController#details (for 66.249.73.28 at 2012-07-05 10:43:33) [GET]
Session ID: db90e272a81859aebf462e38c2484098
Parameters: {"sort_key"=>"user_id", "action"=>"details", "project_id"=>"urbanroots", "controller"=>"timelog", "format"=>"csv", "issue_id"=>"2", "sort_order"=>"desc"}
Sending data timelog.csv
Completed in 0.38962 (2 reqs/sec) | Rendering: 0.00012 (0%) | DB: 0.00000 (0%) | 200 OK [http://www.myvoiceclip.com/updates/public/projects/urbanroots/timelog/details?format=csv&issue_id=2&sort_key=user_id&sort_order=desc]

Processing TimelogController#details (for 66.249.73.28 at 2012-07-05 10:44:40) [GET]
Session ID: 74e3634f2ba265c0f93ea9bdf4562b7d
Parameters: {"sort_key"=>"user_id", "action"=>"details", "controller"=>"timelog", "sort_order"=>"asc", "project_id"=>"urbanroots", "per_page"=>"50"}
Rendering template within layouts/base
Rendering timelog/details
Completed in 1.78775 (0 reqs/sec) | Rendering: 0.42645 (23%) | DB: 0.00000 (0%) | 200 OK [http://www.myvoiceclip.com/updates/public/projects/urbanroots/timelog/details?per_page=50&sort_key=user_id&sort_order=asc]

Processing TimelogController#details (for 66.249.73.28 at 2012-07-05 10:45:24) [GET]
Session ID: 27fdffbd2c539961cb8d115c022f21d4
Parameters: {"sort_key"=>"spent_on", "action"=>"details", "controller"=>"timelog", "sort_order"=>"asc", "project_id"=>"urbanroots", "per_page"=>"100"}
Rendering template within layouts/base
Rendering timelog/details
Completed in 0.05402 (18 reqs/sec) | Rendering: 0.02611 (48%) | DB: 0.00000 (0%) | 200 OK [http://www.myvoiceclip.com/updates/public/projects/urbanroots/timelog/details?per_page=100&sort_key=spent_on&sort_order=asc]

Processing TimelogController#details (for 66.249.73.28 at 2012-07-05 10:46:25) [GET]
Session ID: bc3be10a641d29d9747603e604fa8a44
Parameters: {"project_id"=>"urbanroots", "sort_key"=>"hours", "sort_order"=>"asc", "action"=>"details", "controller"=>"timelog", "per_page"=>"50"}
Rendering template within layouts/base
Rendering timelog/details
Completed in 1.73586 (0 reqs/sec) | Rendering: 0.22094 (12%) | DB: 0.00000 (0%) | 200 OK [http://www.myvoiceclip.com/updates/public/projects/urbanroots/timelog/details?per_page=50&sort_key=hours&sort_order=asc]

Processing TimelogController#details (for 66.249.73.28 at 2012-07-05 10:47:22) [GET]
Session ID: 2d4faa51a6b3366bdf7ab1baa64c6291
Parameters: {"per_page"=>"100", "action"=>"details", "controller"=>"timelog", "project_id"=>"urbanroots", "sort_key"=>"issue_id", "sort_order"=>"desc"}
Rendering template within layouts/base
Rendering timelog/details
Completed in 0.99810 (1 reqs/sec) | Rendering: 0.24741 (24%) | DB: 0.00000 (0%) | 200 OK [http://www.myvoiceclip.com/updates/public/projects/urbanroots/timelog/details?per_page=100&sort_key=issue_id&sort_order=desc]

Processing TimelogController#details (for 66.249.73.28 at 2012-07-05 10:48:16) [GET]
Session ID: 359a32dc105ff0065432c317b4fe51cc
Parameters: {"per_page"=>"100", "action"=>"details", "controller"=>"timelog", "format"=>"csv", "project_id"=>"urbanroots"}
Sending data timelog.csv
Completed in 0.08642 (11 reqs/sec) | Rendering: 0.00012 (0%) | DB: 0.00000 (0%) | 200 OK [http://www.myvoiceclip.com/updates/public/projects/urbanroots/timelog/details?format=csv&per_page=100]

Processing TimelogController#details (for 66.249.73.28 at 2012-07-05 10:49:14) [GET]
Session ID: 4f1a168743b03426e81fd76c36c05165
Parameters: {"per_page"=>"50", "action"=>"details", "controller"=>"timelog", "project_id"=>"urbanroots", "sort_key"=>"projects.name", "sort_order"=>"asc"}
Rendering template within layouts/base
Rendering timelog/details
Completed in 0.10365 (9 reqs/sec) | Rendering: 0.02497 (24%) | DB: 0.00000 (0%) | 200 OK [http://www.myvoiceclip.com/updates/public/projects/urbanroots/timelog/details?per_page=50&sort_key=projects.name&sort_order=asc]

Processing TimelogController#details (for 66.249.73.28 at 2012-07-05 10:50:28) [GET]
Session ID: 0c0259cadd60dc57f266eee1dab156c7
Parameters: {"controller"=>"timelog", "sort_key"=>"activity_id", "project_id"=>"urbanroots", "per_page"=>"100", "issue_id"=>"2", "sort_order"=>"desc", "action"=>"details"}

NoMethodError (undefined method `[]' for nil:NilClass):
/app/models/setting.rb:61:in `value='
/vendor/rails/activerecord/lib/active_record/base.rb:2117:in `send'
/vendor/rails/activerecord/lib/active_record/base.rb:2117:in `attributes='
/vendor/rails/activerecord/lib/active_record/base.rb:2116:in `each'
/vendor/rails/activerecord/lib/active_record/base.rb:2116:in `attributes='
/vendor/rails/activerecord/lib/active_record/base.rb:1926:in `initialize'
/app/models/setting.rb:123:in `new'
/app/models/setting.rb:123:in `find_or_default'
/app/models/setting.rb:68:in `[]'
/app/models/setting.rb:101:in `login_required?'
/app/controllers/application.rb:58:in `check_if_login_required'
/vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `send!'
/vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `call'
/vendor/rails/actionpack/lib/action_controller/filters.rb:441:in `run'
/vendor/rails/actionpack/lib/action_controller/filters.rb:716:in `run_before_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:695:in `call_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in `perform_action_without_caching'
/vendor/rails/actionpack/lib/action_controller/caching.rb:678:in `perform_action'
/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
/vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
/vendor/rails/actionpack/lib/action_controller/caching.rb:677:in `perform_action'
/vendor/rails/actionpack/lib/action_controller/base.rb:524:in `send'
/vendor/rails/actionpack/lib/action_controller/base.rb:524:in `process_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
/vendor/rails/actionpack/lib/action_controller/session_management.rb:123:in `process'
/vendor/rails/actionpack/lib/action_controller/base.rb:388:in `process'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:171:in `handle_request'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch'
/vendor/rails/railties/lib/fcgi_handler.rb:101:in `process_request'
/vendor/rails/railties/lib/fcgi_handler.rb:149:in `with_signal_handler'
/vendor/rails/railties/lib/fcgi_handler.rb:99:in `process_request'
/vendor/rails/railties/lib/fcgi_handler.rb:77:in `process_each_request'
/usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.8/lib/fcgi.rb:612:in `each_cgi'
/usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.8/lib/fcgi.rb:117:in `session'
/usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.8/lib/fcgi.rb:104:in `each_request'
/usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.8/lib/fcgi.rb:36:in `each'
/usr/lib64/ruby/gems/1.8/gems/fcgi-0.8.8/lib/fcgi.rb:609:in `each_cgi'
/vendor/rails/railties/lib/fcgi_handler.rb:76:in `process_each_request'
/vendor/rails/railties/lib/fcgi_handler.rb:50:in `process!'
/vendor/rails/railties/lib/fcgi_handler.rb:24:in `process!'
dispatch.fcgi:24

Rendering /home3/myvoice3/public_html/updates/public/500.html (500 Internal Server Error)

Processing TimelogController#details (for 66.249.73.28 at 2012-07-05 10:51:09) [GET]
Session ID: 1e950b64d2fed64718f203a3ddc30e0c
Parameters: {"sort_order"=>"asc", "project_id"=>"urbanroots", "per_page"=>"100", "controller"=>"timelog", "action"=>"details", "sort_key"=>"projects.name"}
Rendering template within layouts/base
Rendering timelog/details
Completed in 2.11292 (0 reqs/sec) | Rendering: 0.59478 (28%) | DB: 0.00000 (0%) | 200 OK [http://www.myvoiceclip.com/updates/public/projects/urbanroots/timelog/details?per_page=100&sort_key=projects.name&sort_order=asc]

Processing IssuesController#index (for 66.249.73.28 at 2012-07-05 10:52:23) [GET]
Session ID: 7bc883b82a361388f7828995c7cb5036
Parameters: {"action"=>"index", "assigned_to_id"=>"1", "controller"=>"issues", "project_id"=>"urbanroots", "set_filter"=>"1", "per_page"=>"25"}
Rendering template within layouts/base
Rendering issues/index.rhtml
Completed in 2.69055 (0 reqs/sec) | Rendering: 0.34806 (12%) | DB: 0.00000 (0%) | 200 OK [http://www.myvoiceclip.com/updates/public/projects/urbanroots/issues?assigned_to_id=1&per_page=25&set_filter=1]


Replies (6)

RE: I have installed the redmine application on my linux shared hosting its not working. most of the time giving me the 505 internal server error. - Added by William Roush almost 12 years ago

Hmm from what I understand looking into it, fastcgi is causing the crash.

http://stackoverflow.com/questions/9474973/redmine-stopping-after-explicit-exit

http://serverfault.com/questions/85952/fastcgi-crash-asked-to-stop-immediately

https://groups.google.com/group/rubyonrails-talk/browse_thread/thread/e6ed9149d15900d8

Is there a chance you can run with a different setup such as passenger? It seems like an easy way to eliminate the problem instead of trying to find out why Rails is causing fastcgi to die.

    (1-6/6)