Manfred Usselmann
2005-Dec-17 16:42 UTC
[Instantrails-users] preview7 application error 500
Hi, I installed the latest InstantRails version and configured it using the instructions on the web site. Unfortunately I get both for typo and cookbook the following error: ----------------------------------------------- Application error (Apache) Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html ----------------------------------------------- The Apache error log contains ----------------------------------------------- [Sat Dec 17 17:07:13 2005] [error] [client 127.0.0.1] (10061)Unknown error: scgi: connecting to server ----------------------------------------------- This problem seems to result from the fact that the DOS box from ''Start SCGI-Server'' disappears after a few seconds. It contains some text but there is not enough time to read it. Any idea what could be the problem? Does Start SCGI-Server use a command file where I could add a pause, so that I can see if there is any error message displayed? Thanks, Manfred
On 12/17/05, Manfred Usselmann <usselmann.m at icg-online.de> wrote:> > > This problem seems to result from the fact that the DOS box from ''Start > SCGI-Server'' disappears after a few seconds. It contains some text but > there is not enough time to read it. > > Any idea what could be the problem? > Does Start SCGI-Server use a command file where I could add a pause, so > that I can see if there is any error message displayed? >Definitely, the SCGI server has some problem that is causing it to crash or not start up in the first place. Two things to try... First, check the scgi.log file to see if there''s any useful info in there. You''ll find it at: rails_apps\typo-2.6.0\log\scgi.log Second, as you suggested, you can start the SCGI server manually by: 1) Opening a Ruby command window using "Rails Applications >> Open Ruby Console Window" 2) Move into the typo subdirectory: "cd typo-2.6.0" 3) Run the command "ruby ..\..\ruby\bin\scgi_service" Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051217/b44663d3/attachment.htm
I noticed that also. Try this: In each app, add a log folder. Inside that create a ''development.log'' file. This worked for me. rails_app/cookbook/log/development.log rails_app/typo2.6.0/log/development.log Now the SCGI dox window should stay open with no errors. It probably won''t resolve the ''apache 500'' error though. --Larry On 12/17/05, Manfred Usselmann <usselmann.m at icg-online.de> wrote:> > Hi, > > I installed the latest InstantRails version and configured it using the > instructions on the web site. > > Unfortunately I get both for typo and cookbook the following error: > > ----------------------------------------------- > Application error (Apache) > > Change this error message for exceptions thrown outside of an action > (like in Dispatcher setups or broken Ruby code) in public/500.html > ----------------------------------------------- > > The Apache error log contains > ----------------------------------------------- > [Sat Dec 17 17:07:13 2005] [error] [client 127.0.0.1] (10061)Unknown > error: scgi: connecting to server > ----------------------------------------------- > > This problem seems to result from the fact that the DOS box from ''Start > SCGI-Server'' disappears after a few seconds. It contains some text but > there is not enough time to read it. > > Any idea what could be the problem? > Does Start SCGI-Server use a command file where I could add a pause, so > that I can see if there is any error message displayed? > > Thanks, > Manfred > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >-- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051217/c5319640/attachment-0001.htm
Manfred Usselmann
2005-Dec-17 18:29 UTC
[Instantrails-users] preview7 application error 500
Curt Hibbs <curt.hibbs at gmail.com> schrieb am Sat, 17 Dec 2005 11:01:01 -0600:> On 12/17/05, Manfred Usselmann <usselmann.m at icg-online.de> wrote: > > > > > > This problem seems to result from the fact that the DOS box from > > ''Start SCGI-Server'' disappears after a few seconds. It contains > > some text but there is not enough time to read it. > > > > Any idea what could be the problem? > > Does Start SCGI-Server use a command file where I could add a > > pause, so that I can see if there is any error message displayed? > > > > Definitely, the SCGI server has some problem that is causing it to > crash or not start up in the first place. Two things to try... > > First, check the scgi.log file to see if there''s any useful info in > there. You''ll find it at: > > rails_apps\typo-2.6.0\log\scgi.logThis file did not exist. Probably because the log directory did not exist at all. I did as Larry suggested and created rails_apps\typo-2.6.0\log\development.log and rails_apps\cookbook\log\development.log This solved my problems. I have the scgi.log now as well, but it does not contain any error. ;-) So it looks like ..\log\development.log should be part of the installation. At least the log directory. Maybe this this would be sufficient, but I did not try it.> Second, as you suggested, you can start the SCGI server manually by: > > 1) Opening a Ruby command window using "Rails Applications >> Open > Ruby Console Window" > > 2) Move into the typo subdirectory: "cd typo-2.6.0" > > 3) Run the command "ruby ..\..\ruby\bin\scgi_service"Ah, OK. Manfred -- ________________________________________________________________________ Manfred Usselmann usselmann.m at icg-online.de
Manfred Usselmann
2005-Dec-17 18:29 UTC
[Instantrails-users] preview7 application error 500
Hi Larry, Larry Kelly <larry at tellinkltd.com> schrieb am Sat, 17 Dec 2005 09:16:45 -0800:> I noticed that also. Try this: > > In each app, add a log folder. Inside that create a > ''development.log'' file. This worked for me. > > rails_app/cookbook/log/development.log > > rails_app/typo2.6.0/log/development.log > > Now the SCGI dox window should stay open with no errors. It probably > won''t resolve the ''apache 500'' error though.It did! Adding the log folder and creating an empty development.log file made the DOS box stay and the apps working. Thanks! Manfred> > On 12/17/05, Manfred Usselmann <usselmann.m at icg-online.de> wrote: > > > > Hi, > > > > I installed the latest InstantRails version and configured it using > > the instructions on the web site. > > > > Unfortunately I get both for typo and cookbook the following error: > > > > ----------------------------------------------- > > Application error (Apache) > > > > Change this error message for exceptions thrown outside of an action > > (like in Dispatcher setups or broken Ruby code) in public/500.html > > ----------------------------------------------- > > > > The Apache error log contains > > ----------------------------------------------- > > [Sat Dec 17 17:07:13 2005] [error] [client 127.0.0.1] (10061)Unknown > > error: scgi: connecting to server > > ----------------------------------------------- > > > > This problem seems to result from the fact that the DOS box from > > ''Start SCGI-Server'' disappears after a few seconds. It contains > > some text but there is not enough time to read it. > > > > Any idea what could be the problem? > > Does Start SCGI-Server use a command file where I could add a > > pause, so that I can see if there is any error message displayed? > > > > Thanks, > > Manfred > >
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Manfred Usselmann wrote:> It did! Adding the log folder and creating an empty development.log > file made the DOS box stay and the apps working.what about adding the log folder but not the development.log? I really don''t want to have log files themselves under revision management. - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDpIC7SIxC85HZHLMRArFZAJ48Qwlcwp3t954w60gx2wmXIBvxTwCgiEj7 zgoNKUL4O6l3RV9bnyavrAk=zwRP -----END PGP SIGNATURE-----