I’ve been banging my head for a few days, appreciate any help.
I’m not seeing login_engine starting up.
I’m on commercial host, so I don’t have the capability of upgrading
myself. But, when I call, they were happy to upgrade me to rails 1.1.4.
I’m using login_engine, which I have working on my system here in the
past with webrick. But when I install it fresh to the commercial host, I
get the following errors:
[Thu Jul 6 08:28:08 2006] [warn] FastCGI: (dynamic) server
“/home/xxx/public_html/devel/dispatch.fcgi” (uid x, gid x) started (pid
9397) [Thu Jul 6 08:28:11 2006] [warn] FastCGI: (dynamic) server
“/home/xxx/public_html/devel/dispatch.fcgi” (uid x, gid x) started (pid
9450) [Thu Jul 6 08:28:14 2006] [warn] FastCGI: (dynamic) server
“/home/xxx/public_html/devel/dispatch.fcgi” (pid 9450) termination
signaled [Thu Jul 6 08:28:14 2006] [warn] FastCGI: (dynamic) server
“/home/xxx/public_html/devel/dispatch.fcgi” (pid 9450) terminated by
calling exit with status ‘0’
I’ve also seen some fopen errors, complaining about not being able to
open a log file. I’ve changed the entire log directory to 777, but no
luck.
On the web page itself, I just get a routing error. Inside the fcgi
crash log I get
…:9397] starting
…:9450] starting
…:9450] asked to terminate immediately
…:9450] terminated by explicit exit
…:9397] asked to terminate immediately
…:9397] terminated by explicit exit
In the suexec error log (another reload so it’s later), I get
[2006-07-06 08:42:00]: info: (target/actual) uid: (xx/xx) gid: (x/x)
cmd: dispatch.fcgi
In my development log I see (seems like a general error, nothing
specific about the engine)
Processing Base#index (for x.x.x.x at 2006-07-06 08:42:01) [GET]
Session ID: xxx
Parameters: {}
ActionController::RoutingError (Recognition failed for “/”):
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in
recognition_failed' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:478:in
recognize!’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/dispatcher.rb:38:in
dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:150:in
process_request’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:54:in
process!' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in
each_cgi’
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:53:in
process!’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/fcgi_handler.rb:23:in
`process!’
dispatch.fcgi:23
Rendering
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/templates/rescues/layout.rhtml
(404 Page Not Found)
I’ve changed my .htaccess for the Rewrite. Any other recommendations on
how to troubleshoot this? It seems like login_engine isn’t starting, or
even being recognized.
The regular rails index.html works, by the way, and the unit tests for
the login_engine pass.
I’ve seen this mention about engines, but I’m not getting it started, so
something else is wrong:
ruby 1.8.4
rails 1.1.4
Apache version 1.3.36 (Unix)
mod_fastcgi 2.4.2
Note that the site was generated with 1.1.2, but 1.l.4 is running now.
I really appreciate any help.