Forum: Ruby-Forum.com apache (vhost) + ruby on rails = problems

D126c963acd4b35d8eb2b1a85ec267d4?d=identicon&s=25 Fahq Fahq (fahq)
on 2006-01-06 02:14
Web error:
Application error
Rails application failed to start properly"


Log File:
[Wed Jan  4 16:38:52 2006] [error] [client 192.168.20.81] FastCGI: comm
with server "/usr/home/mhale/hieraki-1.0.2/public/dispatch.fcgi"
aborted: idle timeout (60 sec)
[Wed Jan  4 16:38:52 2006] [error] [client 192.168.20.81] FastCGI:
incomplete headers (0 bytes) received from server
"/usr/home/mhale/hieraki-1.0.2/public/dispatch.fcgi"
[Wed Jan  4 16:39:06 2006] [error] [client 192.168.20.81] FastCGI: comm
with server "/usr/home/mhale/hieraki-1.0.2/public/dispatch.fcgi"
aborted: idle timeout (60 sec)
[Wed Jan  4 16:39:06 2006] [error] [client 192.168.20.81] FastCGI:
incomplete headers (0 bytes) received from server
"/usr/home/mhale/hieraki-1.0.2/public/dispatch.fcgi"
[Wed Jan  4 16:42:00 2006] [error] [client 192.168.20.81] FastCGI: comm
with server "/usr/home/mhale/hieraki-1.0.2/public/dispatch.fcgi"
aborted: idle timeout (60 sec)
[Wed Jan  4 16:42:00 2006] [error] [client 192.168.20.81] FastCGI:
incomplete headers (0 bytes) received from server
"/usr/home/mhale/hieraki-1.0.2/public/dispatch.fcgi"


If anyone has a fix for this error please help.  If you need more
information please ask.

thanks
D126c963acd4b35d8eb2b1a85ec267d4?d=identicon&s=25 Fahq Fahq (fahq)
on 2006-01-06 02:56
update:

I upgraded to hieraki-2.0.1.

now it seems that there is a header problem:

[Thu Jan  5 19:37:12 2006] [error] (2)No such file or directory: exec of
/usr/home/mhale/hieraki-2.0.1/public/dispatch.cgi failed
[Thu Jan  5 19:37:12 2006] [error] [client 192.168.20.81] Premature end
of script headers: /usr/home/mhale/hieraki-2.0.1/public/dispatch.cgi
[Thu Jan  5 19:38:00 2006] [error] (2)No such file or directory: exec of
/usr/home/mhale/hieraki-2.0.1/public/dispatch.cgi failed
[Thu Jan  5 19:38:00 2006] [error] [client 192.168.20.81] Premature end
of script headers: /usr/home/mhale/hieraki-2.0.1/public/dispatch.cgi
[Thu Jan  5 19:41:57 2006] [error] (2)No such file or directory: exec of
/usr/home/mhale/hieraki-2.0.1/public/dispatch.cgi failed
[Thu Jan  5 19:41:57 2006] [error] [client 192.168.20.81] Premature end
of script headers: /usr/home/mhale/hieraki-2.0.1/public/dispatch.cgi
3c2761770469e46f9d4d90ab06d11758?d=identicon&s=25 Richard Croxford (croxmeister)
on 2006-04-05 17:44
check the interpreter decleration on the first line, if you were
developing on windows it may be set to #!c:\ruby\bin\rails or likewise

its should be something like
#!/usr/local/bin/ruby

check where it is on yor system by running
$> whereis ruby

from a command line
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.