I’ve run into an issue that I can’t seem to track down. I had Catalyst set up and running with a “Hello World” script, and everything seemed to be in order for me to go on to something a little more in-depth. This was Friday evening, so I left it alone after getting that running. Last night (Saturday, 10/18) I decided to take a look at it, but now I just get a “500” error when I go to my site, and when I look at the error log there’s just a lot of this:
[Sun Oct 19 00:04:55 2008] [error] [client 18.104.22.168] FastCGI: comm with (dynamic) server "/home/war2d2/www/ms.zombiezone.net/test/script/dispatch.fcgi" aborted: (first read) idle timeout (60 sec)
[Sun Oct 19 00:04:55 2008] [error] [client 22.214.171.124] FastCGI: incomplete headers (0 bytes) received from server "/home/war2d2/www/ms.zombiezone.net/test/script/dispatch.fcgi"
(I have all my subdomains split up in a www directory)
I didn’t change anything, and my .htaccess and dispatch.fcgi seem, to me at least, to be in order. Here’s my .htaccess:
AddHandler fastcgi-script .fcgi
RewriteRule ^(test/script/dispatch.fcgi/.)$ - [L]
RewriteRule ^(.)$ test/script/dispatch.fcgi/$1 [PT,L]
And the dispatch.fcgi is just the Catalyst-generated test_fastcgi.pl renamed. Also, I did “include local::lib;” in both the dispatch.fcgi and test_cgi.pl, to have it point to my local CPAN install dir.
Have you run into any issues like this? I’ve tried blowing away the “test” directory and the .htaccess and redoing the setup, but get the same errors. When I do a ps -ef the only processes I see are ssh, ps, and bash.
I have an email in to DreamHost’s tech support, but if history is any indicator it’ll be a week before I hear back from them.
Any help you could give me would be great.