List Info

Thread: instiki and lighttpd




instiki and lighttpd
user name
2007-03-06 11:53:21
Hi All,
 ; I'm unable to run instiki with lighttpd.  I need to do this as I host collaboa on the same server as well. ; I receive the following error when lighttpd starts

tarting lighttpd: 2007-03-05 08:07:28: (mod_fastcgi.c.988) execve

failed for: /srv/rails/instiki/public/dispatch.fcgi No such file or
directory
[ OK ]
[rootpm instiki]# 2007-03-05 08:07:28: (mod_fastcgi.c.1014) the
fastcgi-backend /srv/rails/instiki/public/dispatch.fcgi failed to start:
2007-03-05 08:07:28: (mod_fastcgi.c.1018) child exited with status 2
/srv/rails/instiki/public/dispatch.fcgi
2007-03-05 08:07:28: (mod_fastcgi.c.1021) 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-03-05 08:07:28: (mod_fastcgi.c.1026) If this is PHP on Gentoo add
fastcgi to the USE flags
2007-03-05 08:07:28: (mod_fastcgi.c.1322) [ERROR]: spawning fcgi failed.
2007-03-05 08:07:28: (server.c.848) Configuration of plugins failed.
Going down.
Here is my lighttpd config file.

Here is my configuration
$HTTP["host"] =~ "^(wiki.mydomain.com)$" {

server.document-root = "/srv/rails/instiki/public"


fastcgi.server = ( ".fcgi" =>
( "localhost" =>
(
"socket" => "/tmp/instiki.fcgi.socket",
"bin-path" => server.document-root +"/dispatch.fcgi",
"bin-environment" => ( "RAILS_ENV" =>";production" )
)
)
)
}

Note that the standalone server does run.  Any help would be greatly appreciated.

Thanks,
Todd

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )