Internal Error after installation from scratch
Added by Lennart K about 16 years ago
Hi everybody,
I get an "Internal Error" after I installed 0.7.1 on an Apache 2.2 server using mongrel_rails... the production-log tells me
Processing Base#index (for 212.1.47.60 at 2008-06-10 14:01:28) [GET]
Session ID: b808d93738c238c7af057712cfbe49ea
Parameters: {"action"=>"index", "controller"=>"welcome"}
LoadError (Expected /var/httpd/servers/redminetest.next.jvm.de/htdocs/app/controllers/welcome_controller.rb to define WelcomeController):
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:249:in `load_missing_constant'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in `const_missing'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:465:in `const_missing'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/inflector.rb:257:in `constantize'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/string/inflections.rb:148:in `constantize'
/vendor/rails/actionpack/lib/action_controller/routing.rb:1426:in `recognize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:170: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'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:159:in `process_client'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `each'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `process_client'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `initialize'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `new'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `initialize'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `new'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:282:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `each'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
/opt/ruby/bin/mongrel_rails:16:in `load'
/opt/ruby/bin/mongrel_rails:16
Rendering /var/httpd/servers/redminetest.next.jvm.de/htdocs/public/500.html (500 Internal Server Error)
But when I open welcome_controller.rb, it looks normal to me:
class WelcomeController < ApplicationController
layout 'base'
def index
@news = News.latest User.current
@projects = Project.latest User.current
end
end
Any suggestions? TIA!
Replies (17)
RE: Internal Error after installation from scratch
-
Added by Mat Schaffer about 16 years ago
This this path correct?
/var/httpd/servers/redminetest.next.jvm.de/htdocs/app/controllers/welcome_controller.rb
And have you tried running it with just ./script/server to verify that everything is working there? That's usually the simplest way to get a rails app running, so it's good to start there.
RE: Internal Error after installation from scratch
-
Added by Thomas Lecavelier about 16 years ago
Please provide usual script/about informations: http://www.redmine.org/boards/2/topics/show/667
RE: Internal Error after installation from scratch
-
Added by Lennart K about 16 years ago
Hi,
sorry for the late reply, it's kind of busy here
Yes, the path is correct - as I would hope, as I do not call it by myself, I just open the web site!
What is meant by "And have you tried running it with just ./script/server"? Where's this directory supposed to be?
Thanks,
Lennart
RE: RE: Internal Error after installation from scratch
-
Added by Thomas Lecavelier about 16 years ago
It's suppose to be in your redmine directory...
Don't forget to dump here the script/about result.
RE: Internal Error after installation from scratch
-
Added by Lennart K about 16 years ago
./script/server
/usr/bin/env: No such file or directory
but:
ls -l /usr/bin/env
-r-xr-xr-x 2 root bin 5780 Jan 23 2005 /usr/bin/env
I'm not to sure about what this tells me - seems there's something not properly installed or registered? Reminds me of trying to start a Java-app without correct classpath-settings....
The same message occurs when I try to get the about-information:
RAILS_ENV=test script/about
/usr/bin/env: No such file or directory
rails --version
Rails 2.1.0
ruby -v
ruby 1.8.6 (2007-09-23 patchlevel 110) [i386-solaris2.10]
gem list
- LOCAL GEMS ***
actionmailer (2.1.0, 1.3.5)
Service layer for easy email delivery and testing.
actionpack (2.1.0, 1.13.5)
Web-flow and rendering framework putting the VC in MVC.
actionwebservice (1.2.5)
Web service support for Action Pack.
activerecord (2.1.0, 1.15.5)
Implements the ActiveRecord pattern for ORM.
activeresource (2.1.0)
Think Active Record for web resources.
activesupport (2.1.0, 1.4.4)
Support and utility classes used by the Rails framework.
cgi_multipart_eof_fix (2.5.0)
Fix an exploitable bug in CGI multipart parsing.
daemons (1.0.10, 1.0.9)
A toolkit to create and control daemons in different ways
fastthread (1.0.1)
Optimized replacement for thread.rb primitives
fcgi (0.8.7)
FastCGI library for Ruby.
gem_plugin (0.2.3)
A plugin system based on rubygems that uses dependencies only
mongrel (1.1.5, 1.1.1)
A small fast HTTP library and server that runs Rails, Camping, Nitro
and Iowa apps.
mongrel_cluster (1.0.5)
Mongrel plugin that provides commands and Capistrano tasks for
managing multiple Mongrel processes.
rails (2.1.0, 1.2.5)
Web-application framework with template engine, control-flow layer,
and ORM.
rake (0.8.1, 0.7.3)
Ruby based make-like utility.
sources (0.0.1)
This package provides download sources for remote gem installation
uname -a
SunOS managedroot090 5.10 Generic_118855-19 i86pc i386 i86pc
mysql -V
mysql Ver 14.12 Distrib 5.0.27, for pc-solaris2.10 (i386) using readline 5.0
RE: Internal Error after installation from scratch
-
Added by Thomas Lecavelier about 16 years ago
Solaris ^^;
So, start by freezing a supported rails version. From your redmine directory:
rake rails:freeze:edge TAG=rel_2-0-2
Restart your server. Should work better, but I havn't tested on a solaris...
RE: Internal Error after installation from scratch
-
Added by Lennart K about 16 years ago
"Internal Error" - obviously generated by Redmine ("contact your redMine administrator"), but without any log-file to search for reasons :-(
RE: Internal Error after installation from scratch
-
Added by Thomas Lecavelier about 16 years ago
So... Is there here an other Solaris user who could test it on an other solaris box?
RE: Internal Error after installation from scratch
-
Added by Lennart K about 16 years ago
Hi,
first of all: Maybe I will have another, more standard-conform server in the next days.. what would be the required "perfect" environment?
then: I started the mongrel server in a separate Shell to see it's output, and, voila:
MissingSourceFile (no such file to load -- coderay):
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
/lib/redmine/wiki_formatting.rb:19
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:104:in `require_or_load'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:248:in `load_missing_constant'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:453:in `const_missing'
/app/helpers/application_helper.rb:19
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:104:in `require_or_load'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:60:in `depend_on'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:442:in `require_dependency'
/vendor/rails/actionpack/lib/action_controller/helpers.rb:176:in `default_helper_module!'
/vendor/rails/actionpack/lib/action_controller/helpers.rb:191:in `send!'
/vendor/rails/actionpack/lib/action_controller/helpers.rb:191:in `inherited_without_api'
/vendor/plugins/actionwebservice/lib/action_web_service/container/action_controller_container.rb:84:in `inherited_without_action_controller'
/vendor/plugins/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:32:in `inherited'
/app/controllers/application.rb:18
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:104:in `require_or_load'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:60:in `depend_on'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:442:in `require_dependency'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:141:in `prepare_application'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:178:in `send!'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:178:in `run_callbacks'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:175:in `each'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:175:in `send!'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:175:in `run_callbacks'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:114: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'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
/vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load'
/vendor/rails/railties/lib/commands/servers/mongrel.rb:64
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
/vendor/rails/railties/lib/commands/server.rb:39
script/server:3:in `require'
script/server:3
And for whatever reason the log-file re-appeared:
/opt/ruby-1.8.6/lib/ruby/1.8/i386-solaris2.10/iconv.so: ld.so.1: ruby: fatal: libiconv.so.2: open failed: No such file or directory - /opt/ruby-1.8.6/lib/ruby/1.8/i386-solaris2.10/iconv.so (LoadError)
from /opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /var/httpd/servers/redminetest.next.jvm.de/htdocs/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require'
from /var/httpd/servers/redminetest.next.jvm.de/htdocs/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
from /var/httpd/servers/redminetest.next.jvm.de/htdocs/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require'
from /var/httpd/servers/redminetest.next.jvm.de/htdocs/vendor/plugins/gloc-1.1.0/lib/gloc-internal.rb:3
from /opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /var/httpd/servers/redminetest.next.jvm.de/htdocs/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require'
... 32 levels...
from /opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
from /opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
from /opt/ruby/bin/mongrel_rails:16:in `load'
from /opt/ruby/bin/mongrel_rails:16
Seems there's something missing in the Classpath or whereever - BUT: I received this error before, when I've been starting the server, and I resolved it by exporting LD_LIBRARY_PATH=/opt/local/lib/
Now the server is starting, but the error message mentioned is given in the log-file instead... sorry, but this is the first ruby-software I try
Thaanks a lot!
Lennart
RE: Internal Error after installation from scratch
-
Added by Mat Schaffer about 16 years ago
That first line
MissingSourceFile (no such file to load -- coderay):
Would seem to indicate that you're missing the coderay gem. Running 'sudo gem install coderay' should fix that assuming your rubygems is working.
-Mat
RE: Internal Error after installation from scratch
-
Added by Lennart K about 16 years ago
I did that, and now the error is
NameError (uninitialized constant ApplicationController):
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:266:in `load_missing_constant'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in `const_missing'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:465:in `const_missing'
/app/controllers/welcome_controller.rb:18
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/opt/ruby-1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:104:in `require_or_load'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:248:in `load_missing_constant'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in `const_missing'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:465:in `const_missing'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/inflector.rb:257:in `constantize'
/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/string/inflections.rb:148:in `constantize'
/vendor/rails/actionpack/lib/action_controller/routing.rb:1426:in `recognize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:170: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'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:159:in `process_client'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `each'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `process_client'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `initialize'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `new'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `initialize'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `new'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:282:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `each'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
/opt/ruby-1.8.6/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
/opt/ruby/bin/mongrel_rails:16:in `load'
/opt/ruby/bin/mongrel_rails:16
neverending story? :-/
RE: Internal Error after installation from scratch
-
Added by Mat Schaffer about 16 years ago
Again, the first line is the real error:
NameError (uninitialized constant ApplicationController):
But that really shouldn't happen... Does this happen when you start with ./script/server from the application's root as well?
RE: Internal Error after installation from scratch
-
Added by Lennart K about 16 years ago
Still the same error as 5 days ago: "/usr/bin/env: No such file or directory"
A note: I am looking for a different server right now, with better root-access and (more important) a standard environment like Fedora, Debian, whatever. Any special requirements I have to keep in mind while doing that?
Thanks,
Lennart
RE: Internal Error after installation from scratch
-
Added by Mat Schaffer about 16 years ago
use:
ruby script/server
RE: Internal Error after installation from scratch
-
Added by Lennart K about 16 years ago
I tried that before, see above
But never mind, I will find myself a Ruby-Hoster, and try again. Thanks though!
Lennart
RE: Internal Error after installation from scratch
-
Added by Lennart K about 16 years ago
Hi,
the server's admin managed to solve the problem - he told me that the gem "ruby-debug" was missing... does that make sense?
RE: Internal Error after installation from scratch
-
Added by Denis Ivanov about 16 years ago
Hello,
Exactly the same thing happened to me after install on FreeBSD 6.1/Apache 2.2/ Mongrel/
- script/about
About your application's environment
Ruby version 1.8.6 (i386-freebsd6)
RubyGems version 1.1.1
Rails version 2.0.2
Active Record version 2.0.2
Action Pack version 2.0.2
Active Resource version 2.0.2
Action Mailer version 2.0.2
Active Support version 2.0.2
Application root /usr/home/lakehouse/data/www/rm.lakehouse.ru
Environment development
Database adapter mysql
@
@Processing Base#index (for 79.120.53.248 at 2008-07-30 22:57:47) [GET]
Session ID: 2e3d8514a470e1fb65cbbc3ce6b98c51
Parameters: {"action"=>"index", "controller"=>"welcome"}
LoadError (Expected /usr/home/lakehouse/data/www/rm.lakehouse.ru/app/controllers/welcome_controller.rb to define WelcomeController):
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:249:in `load_missing_constant'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:465:in `const_missing'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/inflector.rb:257:in `constantize'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/string/inflections.rb:148:in `constantize'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1426:in `recognize'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:159:in `process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:158:in `each'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:158:in `process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:282:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:281:in `each'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:281:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb:212:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281
Rendering /usr/home/lakehouse/data/www/rm.lakehouse.ru/public/500.html (500 Internal Server Error)
@
Can any one help me to install that magic app?
P.S. "ruby-debug" installation doesn't help