Having Application Error: "Rails Application failed to start properly" :(

Added by Prince Shahnawaz about 10 years ago

Application error

Rails application failed to start properly

And Inside the Apache Error Log report says ...

[Wed Feb 24 10:47:40 2010] [error] [client 127.0.0.1] (OS 3)The system can not find the path specified. : couldn't create child process: 720003: dispatch.cgi
[Wed Feb 24 10:47:40 2010] [error] [client 127.0.0.1] (OS 3)The system can not find the path specified. : couldn't spawn child process: C:/xampp/htdocs/redmine/public/dispatch.cgi

Please Help me out :(

Replies (7)

RE: Having Application Error: "Rails Application failed to start properly" :( - Added by Eric Voisard about 10 years ago

As a starter, you might have a look at this thread: http://www.redmine.org/boards/2/topics/11537

The error was different but the cause might be the same (e.g. sub-URIs and all redmine installed in htdocs). Read Felix's advice at the end...

Eric

RE: Having Application Error: "Rails Application failed to start properly" :( - Added by Prince Shahnawaz about 10 years ago

I am still facing following error messages.. :(

Application error
Rails application failed to start properly

couldn't create child process: 720003: dispatch.cgi
couldn't spawn child process: C:/tools/xampp/htdocs/redmine/public/dispatch.cgi

RE: Having Application Error: "Rails Application failed to start properly" :( - Added by Prince Shahnawaz about 10 years ago

Is there not anyone who could reply to me. I have tested many things but at finally, it wouldnt work. And I am just posting here for some expert´s help but there is no hope for it.....

RE: Having Application Error: "Rails Application failed to start properly" :( - Added by Prince Shahnawaz about 10 years ago

Now, After making some changes, i have encountering following errors on my apache log folder....

[Tue Mar 02 18:21:32 2010] [warn] module cgi_module is already loaded, skipping
[Tue Mar 02 18:21:32 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Mar 02 18:21:33 2010] [warn] module cgi_module is already loaded, skipping
[Tue Mar 02 18:21:33 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
[Tue Mar 02 18:21:34 2010] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 02 18:21:34 2010] [notice] Digest: done
[Tue Mar 02 18:21:35 2010] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Tue Mar 02 18:21:35 2010] [notice] Server built: Nov 11 2009 14:29:03
[Tue Mar 02 18:21:35 2010] [notice] Parent: Created child process 1201036
[Tue Mar 02 18:21:35 2010] [warn] module cgi_module is already loaded, skipping
[Tue Mar 02 18:21:35 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Mar 02 18:21:36 2010] [warn] module cgi_module is already loaded, skipping
[Tue Mar 02 18:21:36 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
[Tue Mar 02 18:21:37 2010] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 02 18:21:37 2010] [notice] Digest: done
[Tue Mar 02 18:21:38 2010] [notice] Child 1201036: Child process is running
[Tue Mar 02 18:21:38 2010] [notice] Child 1201036: Acquired the start mutex.
[Tue Mar 02 18:21:38 2010] [notice] Child 1201036: Starting 150 worker threads.
[Tue Mar 02 18:21:38 2010] [notice] Child 1201036: Starting thread to listen on port 443.
[Tue Mar 02 18:21:38 2010] [notice] Child 1201036: Starting thread to listen on port 80.
[Tue Mar 02 18:21:42 2010] [error] [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://localhost/redmine/public/
[Tue Mar 02 18:21:42 2010] [error] [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://localhost/redmine/public/

RE: Having Application Error: "Rails Application failed to start properly" :( - Added by Eric Voisard about 10 years ago

There is an URL redirection loop that's probably due to an alias or something in you Apache config...

First, you definitely should follow Felix advice in the other thread, that is moving the Redming directory tree out off htdocs...

RE: Having Application Error: "Rails Application failed to start properly" :( - Added by Kenan Sevindik about 9 years ago

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

Moving redmine out of /var/www to /opt did the trick, saved my day, thanks...

(1-7/7)