Welcome Guest | Login

New app: Rails application failed to start properly

I saw lot of posts and wikis and tried to follow instructions.   Any advice would be appreciated.

There is nothing in the rails logs. I edited the environment, htaccess, database.yml and routes files that were generated on the server so that all file permissions are the same and no shebang surprise.

index.html renders; it hrefs to /controller/action which fails.




06 21:30:06 2008] [notice] mod_fcgid: process /home/musicmo/public_html/dispatch.fcgi(10177) exit(communication error), terminated by calling exit(), return code: 1
[Sun Jan 06 21:30:03 2008] [notice] mod_fcgid: server /home/musicmo/public_html/dispatch.fcgi(10177) started
[Sun Jan 06 21:26:40 2008] [notice] mod_fcgid: process /home/musicmo/public_html/dispatch.fcgi(9885) exit(communication error), terminated by calling exit(), return code: 1
[Sun Jan 06 21:26:37 2008] [notice] mod_fcgid: server /home/musicmo/public_html/dispatch.fcgi(9885) started
[Sun Jan 06 21:25:40 2008] [notice] mod_fcgid: process /home/musicmo/public_html/dispatch.fcgi(9794) exit(communication error), terminated by calling exit(), return code: 1
[Sun Jan 06 21:25:37 2008] [notice] mod_fcgid: server /home/musicmo/public_html/dispatch.fcgi(9794) started
[Sun Jan 06 21:24:10 2008] [notice] mod_fcgid: process /home/musicmo/public_html/dispatch.fcgi(9627) exit(communication error), terminated by calling exit(), return code: 1
[Sun Jan 06 21:24:07 2008] [notice] mod_fcgid: server /home/musicmo/public_html/dispatch.fcgi(9627) started
[Sun Jan 06 21:22:16 2008] [notice] mod_fcgid: process /home/musicmo/public_html/dispatch.fcgi(9349) exit(communication error), terminated by calling exit(), return code: 1
[Sun Jan 06 21:22:10 2008] [notice] mod_fcgid: server /home/musicmo/public_html/dispatch.fcgi(9349) started
[Sun Jan 06 21:16:12 2008] [notice] mod_fcgid: process /home/musicmo/public_html/dispatch.fcgi(8884) exit(communication error), terminated by calling exit(), return code: 1
[Sun Jan 06 21:16:09 2008] [notice] mod_fcgid: server /home/musicmo/public_html/dispatch.fcgi(8884) started
[Sun Jan 06 21:16:01 2008] [notice] mod_fcgid: process /home/musicmo/public_html/dispatch.fcgi(8849) exit(communication error), terminated by calling exit(), return code: 1
[Sun Jan 06 21:15:58 2008] [notice] mod_fcgid: server /home/musicmo/public_html/dispatch.fcgi(8849) started
[Sun Jan 06 20:59:01 2008] [notice] mod_fcgid: process /home/musicmo/public_html/dispatch.fcgi(7514) exit(communication error), terminated by calling exit(), return code: 1
[Sun Jan 06 20:58:58 2008] [notice] mod_fcgid: server /home/musicmo/public_html/dispatch.fcgi(7514) started
[Sun Jan 06 20:58:57 2008] [info] mod_fcgid: /home/musicmo/public_html/dispatch.fcgi spawn score 10 >= 10, skip the spawn request
[Sun Jan 06 20:58:56 2008] [info] mod_fcgid: /home/musicmo/public_html/dispatch.fcgi spawn score 11 >= 10, skip the spawn request
[Sun Jan 06 20:58:55 2008] [notice] mod_fcgid: process /home/musicmo/public_html/dispatch.fcgi(7506) exit(communication error), terminated by calling exit(), return code: 1
[Sun Jan 06 20:58:55 2008] [notice] mod_fcgid: process /home/musicmo/public_html/dispatch.fcgi(7507) exit(communication error), terminated by calling exit(), return code: 1
[Sun Jan 06 20:58:55 2008] [notice] mod_fcgid: too much /home/musicmo/public_html/dispatch.fcgi process(current:2, max:2), skip the spawn request
[Sun Jan 06 20:58:54 2008] [notice] mod_fcgid: too much /home/musicmo/public_html/dispatch.fcgi process(current:2, max:2), skip the spawn request
[Sun Jan 06 20:58:53 2008] [info] mod_fcgid: /home/musicmo/public_html/dispatch.fcgi spawn score 10 >= 10, skip the spawn request
[Sun Jan 06 20:58:53 2008] [notice] mod_fcgid: server /home/musicmo/public_html/dispatch.fcgi(7507) started
[Sun Jan 06 20:58:52 2008] [info] mod_fcgid: /home/musicmo/public_html/dispatc

2008-01-06 09:43 PM

Conference about religious music in the Indian ocean. Syracuse University 2008.
Hi - Try running /usr/local/bin/ruby dispatch.fcgi from the public folder of your apps and see if you are getting any errors. Thank you

2008-01-06 10:56 PM

HostingRails Support
thanks
1. good advice  (fcgi errors come from environment.rb and routes.rb often)
2. my bad
3. thanks!  
4. documentation had everything (distributed)



2008-01-07 09:28 AM

Conference about religious music in the Indian ocean. Syracuse University 2008.
how did you solve this?

2008-06-12 04:46 AM




The way I solved this was to generate a new app on the server and look at the differences betweeen the generated code and what I had.  The new environment.rb, and routes.rb files have a working configuration in them although they may not have your custom information.   I think I made changes in the generated files until my app stopped working; then that's where my error was.


2008-06-16 09:10 AM

Conference about religious music in the Indian ocean. Syracuse University 2008.

Hello Guest! In order to post you must be an active client with us, please log in or sign up.