Forum: Rails deployment dispatch.fcgi won't work

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8ae23fa3c1ece67c87d1f69ee4b35321?d=identicon&s=25 Bartek Puzoń (bartek)
on 2007-07-31 23:55
Here's what's going on:

(23:51)bartek@ariel:~/dev/rails/scores$ ruby script/server
=> Booting lighttpd (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
2007-07-31 23:52:52: (mod_fastcgi.c.998) execve failed for:
/home/bartek/dev/rails/scores/public/dispatch.fcgi Permission denied
2007-07-31 23:52:52: (mod_fastcgi.c.1024) the fastcgi-backend
/home/bartek/dev/rails/scores/public/dispatch.fcgi failed to start:
2007-07-31 23:52:52: (mod_fastcgi.c.1028) child exited with status 13
/home/bartek/dev/rails/scores/public/dispatch.fcgi
2007-07-31 23:52:52: (mod_fastcgi.c.1031) 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...
2007-07-31 23:52:52: (mod_fastcgi.c.1333) [ERROR]: spawning fcgi failed.
2007-07-31 23:52:52: (server.c.849) Configuration of plugins failed.
Going down.
Exiting
Couldn't find any pid file in '/home/bartek/dev/rails/scores/tmp/pids'
matching 'dispatch.[0-9]*.pid'
(also looked for processes matching
"/home/bartek/dev/rails/scores/public/dispatch.fcgi")
(23:52)bartek@ariel:~/dev/rails/scores$

I tried to downgrade lighttpd. Then I tried to get and install the
newest php and compile it according to hints in the link. Php -v shows
me "cli" only. Dispatch.fcgi has perms 755, and group "lighttpd".

What could be wrong?
This topic is locked and can not be replied to.