I tried upgrading to the newest version of Rails, but ever since I did, I cannot get my app to run anymore. I keep getting "Application Error" and when I view my error logs on Apache, I see the following in my virtual host error: [Tue Jul 12 09:47:10 2005] [error] [client 24.46.0.7 <http://24.46.0.7>] FastCGI: comm with (dynamic) server " /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" aborted: (first read) idle t imeout (30 sec) [Tue Jul 12 09:47:10 2005] [error] [client 24.46.0.7 <http://24.46.0.7>] FastCGI: incomplete headers (0 bytes) received from server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" and this in the apache main error log: [Tue Jul 12 10:01:03 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" started (pid 6686) /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for class `Class'' (NameError) from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 [Tue Jul 12 10:01:06 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6686) terminated by calling exit with status ''1'' [Tue Jul 12 10:01:08 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" restarted (pid 6688) [Tue Jul 12 10:01:10 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" started (pid 6689) /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for class `Class'' (NameError) from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 [Tue Jul 12 10:01:11 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6688) terminated by calling exit with status ''1'' /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for class `Class'' (NameError) from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 [Tue Jul 12 10:01:12 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6689) terminated by calling exit with status ''1'' [Tue Jul 12 10:01:15 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" restarted (pid 6690) /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for class `Class'' (NameError) from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 [Tue Jul 12 10:01:17 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6690) terminated by calling exit with status ''1'' [Tue Jul 12 10:01:17 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:19 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:22 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:22 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:25 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:25 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:28 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:28 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:31 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:31 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:34 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:34 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:37 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:37 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds My local gems: actionmailer (1.0.1, 0.9.1) actionpack (1.9.1, 1.8.1) actionwebservice (0.8.1, 0.7.1) activerecord (1.11.1, 1.10.1) activesupport (1.1.1, 1.0.4) db_structure (1.0.2) localization_generator (1.0.7) needle (1.2.0) net-ssh (1.0.1, 1.0.0) postgres-pr (0.4.0) rails (0.13.1, 0.12.1) rake (0.5.4) RedCloth (3.0.3) ri18n (0.0.3) salted_login_generator (1.0.9) sources (0.0.1) I appreciate any help ... thank you. -- - Ramin http://www.getintothis.com/blog _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Andrew Stuart
2005-Jul-12 02:13 UTC
Re: problems with fcgi after upgrade to 0.13.0 / 0.13.1
could you please post your dispatch.fcgi thanks andrew ----- Original Message ----- From: Ramin To: RubyOnRails List Sent: Tuesday, July 12, 2005 12:09 PM Subject: [Rails] problems with fcgi after upgrade to 0.13.0 / 0.13.1 I tried upgrading to the newest version of Rails, but ever since I did, I cannot get my app to run anymore. I keep getting "Application Error" and when I view my error logs on Apache, I see the following in my virtual host error: [Tue Jul 12 09:47:10 2005] [error] [client 24.46.0.7] FastCGI: comm with (dynamic) server " /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" aborted: (first read) idle t imeout (30 sec) [Tue Jul 12 09:47:10 2005] [error] [client 24.46.0.7] FastCGI: incomplete headers (0 bytes) received from server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" and this in the apache main error log: [Tue Jul 12 10:01:03 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" started (pid 6686) /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for class `Class'' (NameError) from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 [Tue Jul 12 10:01:06 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6686) terminated by calling exit with status ''1'' [Tue Jul 12 10:01:08 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" restarted (pid 6688) [Tue Jul 12 10:01:10 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" started (pid 6689) /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for class `Class'' (NameError) from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 [Tue Jul 12 10:01:11 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6688) terminated by calling exit with status ''1'' /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for class `Class'' (NameError) from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 [Tue Jul 12 10:01:12 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6689) terminated by calling exit with status ''1'' [Tue Jul 12 10:01:15 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" restarted (pid 6690) /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for class `Class'' (NameError) from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in `module_eval'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in `require'' from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 [Tue Jul 12 10:01:17 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6690) terminated by calling exit with status ''1'' [Tue Jul 12 10:01:17 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:19 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:22 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:22 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:25 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:25 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:28 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:28 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:31 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:31 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:34 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:34 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:37 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds [Tue Jul 12 10:01:37 2005] [warn] FastCGI: (dynamic) server "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 att empts, its restart interval has been backed off to 600 seconds My local gems: actionmailer (1.0.1, 0.9.1) actionpack (1.9.1, 1.8.1) actionwebservice (0.8.1, 0.7.1) activerecord (1.11.1, 1.10.1) activesupport (1.1.1, 1.0.4) db_structure (1.0.2) localization_generator (1.0.7) needle (1.2.0) net-ssh (1.0.1, 1.0.0) postgres-pr (0.4.0) rails (0.13.1, 0.12.1) rake (0.5.4) RedCloth (3.0.3) ri18n (0.0.3) salted_login_generator (1.0.9) sources (0.0.1) I appreciate any help ... thank you. -- - Ramin http://www.getintothis.com/blog ------------------------------------------------------------------------------ _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
forgot to hit "reply to all" -------------------------------------- contents of my dispatch.fcgi : require File.dirname(__FILE__) + "/../config/environment" require ''fcgi_handler'' RailsFCGIHandler.process! ''/var/log/httpd/yaram_fcgi _crash.log'' On 7/11/05, Andrew Stuart <andrew.stuart-TWq/lk6o2i4FZYWR8B6FNDvXrrhHudLZEK66K81epY8@public.gmane.org> wrote:> > could you please post your dispatch.fcgi > thanks > andrew > > ----- Original Message ----- > *From:* Ramin <i8ramin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > *To:* RubyOnRails List <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > *Sent:* Tuesday, July 12, 2005 12:09 PM > *Subject:* [Rails] problems with fcgi after upgrade to 0.13.0 / 0.13.1 > > I tried upgrading to the newest version of Rails, but ever since I did, I > cannot get my app to run anymore. I keep getting "Application Error" and > when I view my error logs on Apache, I see the following in my virtual host > error: > > [Tue Jul 12 09:47:10 2005] [error] [client 24.46.0.7 <http://24.46.0.7>] > FastCGI: comm with (dynamic) server " > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" aborted: > (first read) idle t > imeout (30 sec) > [Tue Jul 12 09:47:10 2005] [error] [client 24.46.0.7 <http://24.46.0.7>] > FastCGI: incomplete headers (0 bytes) > received from server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > > > and this in the apache main error log: > > [Tue Jul 12 10:01:03 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" started (pid > 6686) > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for > class `Class'' > (NameError) > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'' > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in > `require'' > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > `require'' > from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > [Tue Jul 12 10:01:06 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6686) > terminated by calling exit with status ''1'' > [Tue Jul 12 10:01:08 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" restarted > (pid 6688) > [Tue Jul 12 10:01:10 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" started (pid > 6689) > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for > class `Class'' > (NameError) > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'' > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in > `require'' > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > `require'' > from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > [Tue Jul 12 10:01:11 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6688) > terminated by calling exit with status ''1'' > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for > class `Class'' > (NameError) > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'' > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in > `require'' > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > `require'' > from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > [Tue Jul 12 10:01:12 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6689) > terminated by calling exit with status ''1'' > [Tue Jul 12 10:01:15 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" restarted > (pid 6690) > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for > class `Class'' > (NameError) > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'' > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in > `require'' > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > `require'' > from /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > [Tue Jul 12 10:01:17 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" (pid 6690) > terminated by calling exit with status ''1'' > [Tue Jul 12 10:01:17 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:19 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:22 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:22 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:25 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:25 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:28 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:28 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:31 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:31 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:34 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:34 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:37 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > [Tue Jul 12 10:01:37 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" has failed > to remain running for 30 seconds given 3 att > empts, its restart interval has been backed off to 600 seconds > > > > My local gems: > > actionmailer (1.0.1, 0.9.1) > actionpack (1.9.1, 1.8.1) > actionwebservice (0.8.1, 0.7.1) > activerecord (1.11.1, 1.10.1) > activesupport (1.1.1, 1.0.4) > db_structure (1.0.2) > localization_generator (1.0.7) > needle (1.2.0) > net-ssh (1.0.1, 1.0.0) > postgres-pr (0.4.0) > rails (0.13.1, 0.12.1) > rake (0.5.4) > RedCloth (3.0.3) > ri18n (0.0.3) > salted_login_generator (1.0.9) > sources (0.0.1) > > > I appreciate any help ... thank you. > -- > - Ramin > http://www.getintothis.com/blog > > ------------------------------ > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >-- - Ramin http://www.getintothis.com/blog _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Tobias Luetke
2005-Jul-12 02:40 UTC
Re: problems with fcgi after upgrade to 0.13.0 / 0.13.1
you should update the handler with the 0.13.1 version of it. Run "rails ." in your projects directory and overwrite all files you haven''t changed. On 7/11/05, Ramin <i8ramin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> forgot to hit "reply to all" > -------------------------------------- > > contents of my dispatch.fcgi : > > require File.dirname(__FILE__) + "/../config/environment" > require ''fcgi_handler'' > > RailsFCGIHandler.process! ''/var/log/httpd/yaram_fcgi > _crash.log'' > > > On 7/11/05, Andrew Stuart > <andrew.stuart-TWq/lk6o2i4FZYWR8B6FNDvXrrhHudLZEK66K81epY8@public.gmane.org> wrote: > > > > could you please post your dispatch.fcgi > > > > thanks > > > > andrew > > > > > > ----- Original Message ----- > > From: Ramin > > To: RubyOnRails List > > Sent: Tuesday, July 12, 2005 12:09 PM > > Subject: [Rails] problems with fcgi after upgrade to 0.13.0 / 0.13.1 > > > > I tried upgrading to the newest version of Rails, but ever since I did, I > cannot get my app to run anymore. I keep getting "Application Error" and > when I view my error logs on Apache, I see the following in my virtual host > error: > > > > > > [Tue Jul 12 09:47:10 2005] [error] [client 24.46.0.7] FastCGI: comm with > (dynamic) server " > > > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > aborted: (first read) idle t > > imeout (30 sec) > > [Tue Jul 12 09:47:10 2005] [error] [client 24.46.0.7] FastCGI: incomplete > headers (0 bytes) > > received from server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > > > > > > > and this in the apache main error log: > > > > [Tue Jul 12 10:01:03 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > started (pid 6686) > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for > class `Class'' > > (NameError) > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > > from > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > `require__'' > > from > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > `require'' > > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in > `require'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > > from > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > `require'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > > [Tue Jul 12 10:01:06 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > (pid 6686) terminated by calling exit with status ''1'' > > [Tue Jul 12 10:01:08 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > restarted (pid 6688) > > [Tue Jul 12 10:01:10 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > started (pid 6689) > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for > class `Class'' > > (NameError) > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > > from > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > `require__'' > > from > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > `require'' > > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in > `require'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > > from > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > `require'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > > [Tue Jul 12 10:01:11 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > (pid 6688) terminated by calling exit with status ''1'' > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for > class `Class'' > > (NameError) > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > > from > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > `require__'' > > from > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > `require'' > > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in > `require'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > > from > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > `require'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > > [Tue Jul 12 10:01:12 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > (pid 6689) terminated by calling exit with status ''1'' > > [Tue Jul 12 10:01:15 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > restarted (pid 6690) > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' for > class `Class'' > > (NameError) > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > `module_eval'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > > from > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > `require__'' > > from > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > `require'' > > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in > `require'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > > from > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > `require'' > > from > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > > [Tue Jul 12 10:01:17 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > (pid 6690) terminated by calling exit with status ''1'' > > [Tue Jul 12 10:01:17 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:19 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:22 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:22 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:25 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:25 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:28 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:28 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:31 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:31 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:34 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:34 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:37 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > [Tue Jul 12 10:01:37 2005] [warn] FastCGI: (dynamic) server > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > has failed to remain running for 30 seconds given 3 att > > empts, its restart interval has been backed off to 600 seconds > > > > > > > > My local gems: > > > > actionmailer (1.0.1, 0.9.1) > > actionpack (1.9.1, 1.8.1) > > actionwebservice (0.8.1, 0.7.1) > > activerecord (1.11.1, 1.10.1) > > activesupport (1.1.1, 1.0.4) > > db_structure (1.0.2) > > localization_generator (1.0.7) > > needle (1.2.0) > > net-ssh (1.0.1, 1.0.0) > > postgres-pr (0.4.0) > > rails (0.13.1, 0.12.1) > > rake (0.5.4) > > RedCloth (3.0.3) > > ri18n (0.0.3) > > salted_login_generator (1.0.9) > > sources (0.0.1) > > > > > > I appreciate any help ... thank you. > > -- > > - Ramin > > http://www.getintothis.com/blog > > > > ________________________________ > > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > > -- > - Ramin > http://www.getintothis.com/blog > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Tobi http://www.snowdevil.ca - Snowboards that don''t suck http://typo.leetsoft.com - Open source weblog engine http://blog.leetsoft.com - Technical weblog
I did that also... I think the errors I was getting were related to the salted_login_generator and/or the localization_generator. I removed all files from my project relating to those two generators and my app seems to be *working* again. By working, I mean the page is showing up again, but I now lack user login and registration. I''m hoping salted_login_generator was in fact the real problem and that the author of it will have a look at it. Meanwhile, I''ll just have to do w/o a User system. On 7/11/05, Tobias Luetke <tobias.luetke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > you should update the handler with the 0.13.1 version of it. Run > "rails ." in your projects directory and overwrite all files you > haven''t changed. > > On 7/11/05, Ramin <i8ramin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > forgot to hit "reply to all" > > -------------------------------------- > > > > contents of my dispatch.fcgi : > > > > require File.dirname(__FILE__) + "/../config/environment" > > require ''fcgi_handler'' > > > > RailsFCGIHandler.process! ''/var/log/httpd/yaram_fcgi > > _crash.log'' > > > > > > On 7/11/05, Andrew Stuart > > <andrew.stuart-TWq/lk6o2i4FZYWR8B6FNDvXrrhHudLZEK66K81epY8@public.gmane.org> wrote: > > > > > > could you please post your dispatch.fcgi > > > > > > thanks > > > > > > andrew > > > > > > > > > ----- Original Message ----- > > > From: Ramin > > > To: RubyOnRails List > > > Sent: Tuesday, July 12, 2005 12:09 PM > > > Subject: [Rails] problems with fcgi after upgrade to 0.13.0 / 0.13.1 > > > > > > I tried upgrading to the newest version of Rails, but ever since I > did, I > > cannot get my app to run anymore. I keep getting "Application Error" and > > when I view my error logs on Apache, I see the following in my virtual > host > > error: > > > > > > > > > [Tue Jul 12 09:47:10 2005] [error] [client 24.46.0.7<http://24.46.0.7>] > FastCGI: comm with > > (dynamic) server " > > > > > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > aborted: (first read) idle t > > > imeout (30 sec) > > > [Tue Jul 12 09:47:10 2005] [error] [client 24.46.0.7<http://24.46.0.7>] > FastCGI: incomplete > > headers (0 bytes) > > > received from server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > > > > > > > > > > > and this in the apache main error log: > > > > > > [Tue Jul 12 10:01:03 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > started (pid 6686) > > > > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' > for > > class `Class'' > > > (NameError) > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > > `module_eval'' > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > > > from > > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `require__'' > > > from > > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `require'' > > > from > > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1 > /lib/active_support/dependencies.rb:200:in > > `require'' > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > > > from > > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > > `require'' > > > from > > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > > > [Tue Jul 12 10:01:06 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > (pid 6686) terminated by calling exit with status ''1'' > > > [Tue Jul 12 10:01:08 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > restarted (pid 6688) > > > [Tue Jul 12 10:01:10 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > started (pid 6689) > > > > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' > for > > class `Class'' > > > (NameError) > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > > `module_eval'' > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > > > from > > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `require__'' > > > from > > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `require'' > > > from > > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1 > /lib/active_support/dependencies.rb:200:in > > `require'' > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > > > from > > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > > `require'' > > > from > > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > > > [Tue Jul 12 10:01:11 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > (pid 6688) terminated by calling exit with status ''1'' > > > > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' > for > > class `Class'' > > > (NameError) > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > > `module_eval'' > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > > > from > > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `require__'' > > > from > > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `require'' > > > from > > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1 > /lib/active_support/dependencies.rb:200:in > > `require'' > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > > > from > > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > > `require'' > > > from > > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > > > [Tue Jul 12 10:01:12 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > (pid 6689) terminated by calling exit with status ''1'' > > > [Tue Jul 12 10:01:15 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > restarted (pid 6690) > > > > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > > `module_eval'': (eval):3:in `module_eval'': undefined method `render_body'' > for > > class `Class'' > > > (NameError) > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82:in > > `module_eval'' > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/..//lib/localization.rb:82 > > > from > > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `require__'' > > > from > > /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in > > `require'' > > > from > > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1 > /lib/active_support/dependencies.rb:200:in > > `require'' > > > from > > > /home/ramin/projects/rails/sandbox/yaram/public/../config/environment.rb:77 > > > from > > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21:in > > `require'' > > > from > > /home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi:21 > > > [Tue Jul 12 10:01:17 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > (pid 6690) terminated by calling exit with status ''1'' > > > [Tue Jul 12 10:01:17 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:19 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:22 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:22 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:25 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:25 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:28 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:28 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:31 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:31 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:34 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:34 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:37 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > [Tue Jul 12 10:01:37 2005] [warn] FastCGI: (dynamic) server > > "/home/ramin/projects/rails/sandbox/yaram/public/dispatch.fcgi" > > has failed to remain running for 30 seconds given 3 att > > > empts, its restart interval has been backed off to 600 seconds > > > > > > > > > > > > My local gems: > > > > > > actionmailer (1.0.1, 0.9.1) > > > actionpack (1.9.1, 1.8.1) > > > actionwebservice (0.8.1, 0.7.1) > > > activerecord (1.11.1, 1.10.1) > > > activesupport (1.1.1, 1.0.4) > > > db_structure (1.0.2) > > > localization_generator (1.0.7) > > > needle (1.2.0) > > > net-ssh (1.0.1, 1.0.0) > > > postgres-pr (0.4.0) > > > rails (0.13.1, 0.12.1) > > > rake (0.5.4) > > > RedCloth (3.0.3) > > > ri18n (0.0.3) > > > salted_login_generator (1.0.9) > > > sources (0.0.1) > > > > > > > > > I appreciate any help ... thank you. > > > -- > > > - Ramin > > > http://www.getintothis.com/blog > > > > > > ________________________________ > > > > > > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > > > > > > > > > -- > > - Ramin > > http://www.getintothis.com/blog > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > -- > Tobi > http://www.snowdevil.ca - Snowboards that don''t suck > http://typo.leetsoft.com - Open source weblog engine > http://blog.leetsoft.com - Technical weblog >-- - Ramin http://www.getintothis.com/blog _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Stoyan Zhekov
2005-Jul-12 05:01 UTC
Re: problems with fcgi after upgrade to 0.13.0 / 0.13.1
On 7/12/05, Ramin <i8ramin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I did that also... I think the errors I was getting were related to the > salted_login_generator and/or the localization_generator.We''re having the same problems too. We temporary solved them with downgrading rails to 0.12 (put exact gem versions in config/environment.rb).
Andrew Stuart
2005-Jul-12 05:11 UTC
Re: problems with fcgi after upgrade to 0.13.0 / 0.13.1
I had similar problems and they disappeared when I commented this line out of my dispatch.fcgi #RailsFCGIHandler.process! ''/var/www/html/frr/log/fcgi_crash.log'' But I''m only 99% sure that was the fix. the problem solving process lead me to uninstall, upgrade and reinstall everything a couple of times over including the bugtrack demo application. Andrew ----- Original Message ----- From: "Stoyan Zhekov" <stoyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> To: <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> Sent: Tuesday, July 12, 2005 3:01 PM Subject: Re: [Rails] problems with fcgi after upgrade to 0.13.0 / 0.13.1 On 7/12/05, Ramin <i8ramin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I did that also... I think the errors I was getting were related to the > salted_login_generator and/or the localization_generator.We''re having the same problems too. We temporary solved them with downgrading rails to 0.12 (put exact gem versions in config/environment.rb). _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
I found out that my problems were definitely related to the salted_login_generator and/or the localization_generator. Apparently there is a fix for this problem and it is documented on the Wiki. http://wiki.rubyonrails.com/rails/show/SaltedHashLoginGenerator scroll down to the comments ... On 7/12/05, Andrew Stuart <andrew.stuart-TWq/lk6o2i4FZYWR8B6FNDvXrrhHudLZEK66K81epY8@public.gmane.org> wrote:> > I had similar problems and they disappeared when I commented this line out > of my dispatch.fcgi > > #RailsFCGIHandler.process! ''/var/www/html/frr/log/fcgi_crash.log'' > > But I''m only 99% sure that was the fix. the problem solving process lead > me > to uninstall, upgrade and reinstall everything a couple of times over > including the bugtrack demo application. > > Andrew > > > ----- Original Message ----- > From: "Stoyan Zhekov" <stoyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > To: <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> > Sent: Tuesday, July 12, 2005 3:01 PM > Subject: Re: [Rails] problems with fcgi after upgrade to 0.13.0 / 0.13.1 > > > On 7/12/05, Ramin <i8ramin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > I did that also... I think the errors I was getting were related to the > > salted_login_generator and/or the localization_generator. > > We''re having the same problems too. We temporary solved them with > downgrading rails to 0.12 (put exact gem versions in > config/environment.rb). > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- - Ramin http://www.getintothis.com/blog _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On Jul 11, 2005, at 11:11 PM, Andrew Stuart wrote:> I had similar problems and they disappeared when I commented this > line out > of my dispatch.fcgi > > #RailsFCGIHandler.process! ''/var/www/html/frr/log/fcgi_crash.log''Commenting out that line would cause your application to no longer run at all. That''s the line that actually starts the FCGI process and dispatches requests to your application code. - Jamis
Andrew Stuart
2005-Jul-12 21:16 UTC
Re: problems with fcgi after upgrade to 0.13.0 / 0.13.1
Thanks Jamis that makes sense. The flounderings of a newbie. Here''s a few more lines of my dispatch.fcgi. I assume either that commenting that line out fixed it because there was a problem with the custom log location, or because I had two lines that said RailsFCGIHandler.process! #RailsFCGIHandler.process! ''/var/www/html/frr/log/fcgi_crash.log'' # require File.dirname(__FILE__) + "/../config/environment" require ''fcgi_handler'' RailsFCGIHandler.process! ----- Original Message ----- From: "Jamis Buck" <jamis-uHoyYlH2B+GakBO8gow8eQ@public.gmane.org> To: "Andrew Stuart" <andrew.stuart-TWq/lk6o2i4FZYWR8B6FNDvXrrhHudLZEK66K81epY8@public.gmane.org>; <rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> Sent: Wednesday, July 13, 2005 12:07 AM Subject: Re: [Rails] problems with fcgi after upgrade to 0.13.0 / 0.13.1 On Jul 11, 2005, at 11:11 PM, Andrew Stuart wrote:> I had similar problems and they disappeared when I commented this > line out > of my dispatch.fcgi > > #RailsFCGIHandler.process! ''/var/www/html/frr/log/fcgi_crash.log''Commenting out that line would cause your application to no longer run at all. That''s the line that actually starts the FCGI process and dispatches requests to your application code. - Jamis