=> Booting lighttpd (use 'script/server webrick' to force WEBrick)
=> Rails application started on http://0.0.0.0:443
=> Call with -d to detach (requires absolute paths in config/lighttpd.conf)
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
2007-07-21 22:29:17: (mod_fastcgi.c.980) execve failed for: public/dispatch.fcgi No such file or directory
2007-07-21 22:29:17: (mod_fastcgi.c.1006) the fastcgi-backend public/dispatch.fcgi failed to start:
2007-07-21 22:29:17: (mod_fastcgi.c.1010) child exited with status 2 public/dispatch.fcgi
2007-07-21 22:29:17: (mod_fastcgi.c.1013) 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
2007-07-21 22:29:17: (mod_fastcgi.c.1018) If this is PHP on Gentoo add fastcgi to the USE flags
2007-07-21 22:29:17: (mod_fastcgi.c.1314) [ERROR]: spawning fcgi failed.
2007-07-21 22:29:17: (server.c.828) Configuration of plugins failed. Going down.
lighttpd 1.4.8をソースからopensslつきでビルド/インストールするとOKだった。でもRails 1.1以降だと、lighttpd 1.4.9以降でないといけないらしい。
Rails 1.1で作ったアプリのscript/serverはlighttpd-1.4.8以前では動かない模様
0 件のコメント:
コメントを投稿