Sudden problems with using dispatch.fcgi with an old rails application

JamesFJ

New Member
I'm maintaining an old rails application that was working just fine until recently. I believe it uses fcgi and lighttpd on Debian for deployment.Normally when release a new version, I restart lighttpd and everything is fine. Today for the first time I got the following error message when trying to restartI don't know what any of this means, especially since I don't use PHP, I'm using this with a rails application.Also, the last two times this happened. I stopped lighttpd and waiting 5 minutes when I restarted, it seems to work fine. But currently I don't want to risk do that again since this is a production machine!Any ideas what is going on? Also is fcgi an outdated method of deploying applications, should I be using Phusian Passenger instead? Any good articles on converting from one to the other?\[code\]2010-09-28 05:05:44: (mod_fastcgi.c.1042) the fastcgi-backend /var/dei/rails/current/public/dispatch.fcgi failed to start:2010-09-28 05:05:44: (mod_fastcgi.c.1046) child exited with status 1 /var/dei/rails/current/public/dispatch.fcgi2010-09-28 05:05:44: (mod_fastcgi.c.1049) 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-program2010-09-28 05:05:44: (mod_fastcgi.c.1351) [ERROR]: spawning fcgi failed.2010-09-28 05:05:44: (server.c.849) Configuration of plugins failed. Going down.\[/code\]Also, these problems seem to have started after I installed the paperclip gem and updated rubygems on the system. Not sure if that has anything to do with these problems.\[code\] > gem1.8 install paperclipSuccessfully installed activesupport-3.0.0Successfully installed paperclip-2.3.3Successfully installed i18n-0.4.1Successfully installed activemodel-3.0.0Successfully installed arel-1.0.1Successfully installed tzinfo-0.3.236 gems installedInstalling ri documentation for activesupport-3.0.0...Installing ri documentation for paperclip-2.3.3...Installing ri documentation for i18n-0.4.1...Installing ri documentation for activemodel-3.0.0...Installing ri documentation for arel-1.0.1...Installing ri documentation for tzinfo-0.3.23...Installing RDoc documentation for activesupport-3.0.0...Installing RDoc documentation for paperclip-2.3.3...Installing RDoc documentation for i18n-0.4.1...Installing RDoc documentation for activemodel-3.0.0...Installing RDoc documentation for arel-1.0.1...Installing RDoc documentation for tzinfo-0.3.23...\[/code\]
 
Back
Top