I am trying to start lighttpd 1.4.11 with ROR 1.1.6 but I get this error message every time, I use lighttpd.conf that was provided by ROR in config/ directory: [root@localhost ~]# 2006-09-06 03:07:46: (mod_fastcgi.c.1048) the fastcgi-backend /home/administrator/py/PythonTestingFramework/lib/pyton_website/public/dispatch.fcgi failed to start: 2006-09-06 03:07:46: (mod_fastcgi.c.1052) child exited with status 0 /home/administrator/py/PythonTestingFramework/lib/pyton_website/public/dispatch.fcgi 2006-09-06 03:07:46: (mod_fastcgi.c.1055) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version. You can find out if it is the right one by executing ''php -v'' and it should display ''(cgi-fcgi)'' in the output, NOT (cgi) NOR (cli) For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program 2006-09-06 03:07:46: (mod_fastcgi.c.1060) If this is PHP on Gentoo add fastcgi to the USE flags 2006-09-06 03:07:46: (mod_fastcgi.c.1356) [ERROR]: spawning fcgi failed. 2006-09-06 03:07:46: (server.c.834) Configuration of plugins failed. Going down. Running ruby public/dispatch.fcgi results in this: Status: 500 Internal Server Error Content-Type: text/html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <body> <h1>Application error (Apache)</h1> <p>Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html</p> </body> </html> When I use webrick everything works fine. I can''t figure out what''s worng with my setup. Thanks in advance, Mike Mikolajczyk -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 5 Sep 2006, at 22:13, Mike Mikolajczyk wrote:> > I am trying to start lighttpd 1.4.11 with ROR 1.1.6 but I get this > error > message every time, I use lighttpd.conf that was provided by ROR in > config/ directory:I can''t remember the precise error message that you''d get, but you do need to make sure that dispatch.fcgi is executable, and that the first line points to wherever you''ve actually installed ruby. Can you run ./public/dispatch.fcgi from the command line? Ben -- Ben Blaukopf - Director Airsource Ltd Tel: 01223 708370 / 07786 916043 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Ben Blaukopf wrote in post #135180:> On 5 Sep 2006, at 22:13, Mike Mikolajczyk wrote: > >> >> I am trying to start lighttpd 1.4.11 with ROR 1.1.6 but I get this >> error >> message every time, I use lighttpd.conf that was provided by ROR in >> config/ directory: > > I can''t remember the precise error message that you''d get, but you do > need to make sure that dispatch.fcgi is executable, and that the > first line points to wherever you''ve actually installed ruby. Can you > run ./public/dispatch.fcgi from the command line? > > Ben > > > -- > Ben Blaukopf - Director > Airsource Ltd > Tel: 01223 708370 / 07786 916043Hello.when I go to "myapp/public/" and "./dispatch", I got the errors as follow: -------------------- home/qyx/.rvm/gems/ruby-1.9.2-p290/gems/require_all-1.2.1/lib/require_all.rb:80:in `rescue in require_all'': no such file to load -- lib/usr/data_process/*.rb (LoadError) from /home/qyx/.rvm/gems/ruby-1.9.2-p290/gems/require_all-1.2.1/lib/require_all.rb:57:in `require_all'' from /home/qyx/www/cl/config/application.rb:8:in `<top (required)>'' from <internal:lib/rubygems/custom_require>:29:in `require'' from <internal:lib/rubygems/custom_require>:29:in `require'' from /home/qyx/www/cl/config/environment.rb:3:in `<top (required)>'' from ./rails3_fcgi.fcgi:3:in `require_relative'' from ./rails3_fcgi.fcgi:3:in `<main>'' -------------------- How to fix it ? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.