CcC
2005-Oct-15 10:22 UTC
[Instantrails-users] If I close the DOS window, it does not work
First of all, my congrats for your awesome app. But I get an error when I start Instant Rails I had added the line in hosts file and save it (winXP SP2 running as admin) I am connected without proxies. I start the "cookbok" app checking the box and pushing "start SCGI" It opens a DOS window, which says: D:\Archivos\IRails\rails_apps\cookbook>..\..\ruby\bin\ruby.exe script\scgi_rails start -p 9999 -e production -D ERROR: Could not setup a SIGHUP handler. You won''t be able to get status. Listening for connections on 127.0.0.1:9999 (D:\Archivos\IRails is the path where I had installed Instant Rails) If I don''t close neither the DOS window nor the "Rails Applications" window it works correctly, just going to www.mycookbook.com in my browser (Firefox) But if I close either one of this two windows, when I go to www.mycookbook.com my browser shows a error message: 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 And if I return to "Rail Applications" window, I find the box of "cookbook" unchecked. I''d read the posts in the mail list (particullary the first thread of september) and I am not running no web server before installing Instant Rails in my PC. Am I missing something or doing something wrong? Just saying that I am just plain newbie with all this and I want learn. Sorry for my bad english. Cheers from Spain. Un saludo
Ken Barker
2005-Oct-15 13:42 UTC
[Instantrails-users] If I close the DOS window, it does not work
The command window must remain open because SCGI is running. I believe Curt is targeting moving this off into a windows service so you it could be started, stopped, restarted like Apache and MySQL, via windows services. Ken On 10/15/05, CcC <cervezaconcafe at gmail.com> wrote:> > First of all, my congrats for your awesome app. > > But I get an error when I start Instant Rails > > I had added the line in hosts file and save it (winXP SP2 running as > admin) > I am connected without proxies. > I start the "cookbok" app checking the box and pushing "start SCGI" > It opens a DOS window, which says: > > D:\Archivos\IRails\rails_apps\cookbook>..\..\ruby\bin\ruby.exe > script\scgi_rails > start -p 9999 -e production -D > ERROR: Could not setup a SIGHUP handler. You won''t be able to get status. > Listening for connections on 127.0.0.1:9999 <http://127.0.0.1:9999> > > (D:\Archivos\IRails is the path where I had installed Instant Rails) > If I don''t close neither the DOS window nor the "Rails Applications" > window > it works correctly, just going to www.mycookbook.com<http://www.mycookbook.com>in my browser (Firefox) > > But if I close either one of this two windows, when I go to > www.mycookbook.com <http://www.mycookbook.com> > my browser shows a error message: > > 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 > > And if I return to "Rail Applications" window, I find the box of > "cookbook" unchecked. > > I''d read the posts in the mail list (particullary the first thread of > september) and > I am not running no web server before installing Instant Rails in my PC. > > Am I missing something or doing something wrong? > Just saying that I am just plain newbie with all this and I want learn. > > Sorry for my bad english. Cheers from Spain. Un saludo > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051015/c68e1e85/attachment.htm
CcC
2005-Oct-15 15:32 UTC
[Instantrails-users] If I close the DOS window, it does not work
Thank you Ken for your quick answer. OK, I MUST leave the command (ah!, DOS ;) window opened. I suppose the message "ERROR: Could not setup a SIGHUP handler" it is not important and it is correct. And I was wrong, because if I close the "Rail Applications" window, the page www.mycookbook.com seems to work correctly and is reached by my web browser. Thanks again and cheers. Un saludo. On 10/15/05, Ken Barker <ken.barker at gmail.com> wrote:> The command window must remain open because SCGI is running. I believe Curt > is targeting moving this off into a windows service so you it could be > started, stopped, restarted like Apache and MySQL, via windows services. > > Ken > > > On 10/15/05, CcC <cervezaconcafe at gmail.com> wrote: > > > > First of all, my congrats for your awesome app. > > > > But I get an error when I start Instant Rails > > > > I had added the line in hosts file and save it (winXP SP2 running as > admin) > > I am connected without proxies. > > I start the "cookbok" app checking the box and pushing "start SCGI" > > It opens a DOS window, which says: > > > > > D:\Archivos\IRails\rails_apps\cookbook>..\..\ruby\bin\ruby.exe > script\scgi_rails > > start -p 9999 -e production -D > > ERROR: Could not setup a SIGHUP handler. You won''t be able to get status. > > Listening for connections on 127.0.0.1:9999 > > > > (D:\Archivos\IRails is the path where I had installed Instant Rails) > > If I don''t close neither the DOS window nor the "Rails Applications" > window > > it works correctly, just going to www.mycookbook.com in my browser > (Firefox) > > > > But if I close either one of this two windows, when I go to > www.mycookbook.com > > my browser shows a error message: > > > > 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 > > > > And if I return to "Rail Applications" window, I find the box of > > "cookbook" unchecked. > > > > I''d read the posts in the mail list (particullary the first thread of > > september) and > > I am not running no web server before installing Instant Rails in my PC. > > > > Am I missing something or doing something wrong? > > Just saying that I am just plain newbie with all this and I want learn. > > > > Sorry for my bad english. Cheers from Spain. Un saludo > > > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > > >
Curt Hibbs
2005-Oct-15 15:34 UTC
[Instantrails-users] If I close the DOS window, it does not work
Yes, Kevin is correct. The SCGI server for the Rails application is running in that DOS box and when you close it you are terminating the app. This is temporrary. The goal is to get it running in the bacground. Curt On 10/15/05, Ken Barker <ken.barker at gmail.com> wrote:> > The command window must remain open because SCGI is running. I believe > Curt is targeting moving this off into a windows service so you it could be > started, stopped, restarted like Apache and MySQL, via windows services. > > Ken > > On 10/15/05, CcC <cervezaconcafe at gmail.com> wrote: > > > > First of all, my congrats for your awesome app. > > > > But I get an error when I start Instant Rails > > > > I had added the line in hosts file and save it (winXP SP2 running as > > admin) > > I am connected without proxies. > > I start the "cookbok" app checking the box and pushing "start SCGI" > > It opens a DOS window, which says: > > > > D:\Archivos\IRails\rails_apps\cookbook>..\..\ruby\bin\ruby.exe > > script\scgi_rails > > start -p 9999 -e production -D > > ERROR: Could not setup a SIGHUP handler. You won''t be able to get > > status. > > Listening for connections on 127.0.0.1:9999 <http://127.0.0.1:9999> > > > > (D:\Archivos\IRails is the path where I had installed Instant Rails) > > If I don''t close neither the DOS window nor the "Rails Applications" > > window > > it works correctly, just going to www.mycookbook.com<http://www.mycookbook.com>in my browser (Firefox) > > > > But if I close either one of this two windows, when I go to > > www.mycookbook.com <http://www.mycookbook.com> > > my browser shows a error message: > > > > 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 > > > > And if I return to "Rail Applications" window, I find the box of > > "cookbook" unchecked. > > > > I''d read the posts in the mail list (particullary the first thread of > > september) and > > I am not running no web server before installing Instant Rails in my PC. > > > > > > Am I missing something or doing something wrong? > > Just saying that I am just plain newbie with all this and I want learn. > > > > Sorry for my bad english. Cheers from Spain. Un saludo > > > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051015/849af2b3/attachment-0001.htm
Curt Hibbs
2005-Oct-15 15:35 UTC
[Instantrails-users] If I close the DOS window, it does not work
Yes the error line is not important. Its refering to an SCGI Rails Runner feature that only works on Linux. Curt On 10/15/05, Curt Hibbs <curt.hibbs at gmail.com> wrote:> > Yes, Kevin is correct. The SCGI server for the Rails application is > running in that DOS box and when you close it you are terminating the app. > This is temporrary. The goal is to get it running in the bacground. > > Curt > > On 10/15/05, Ken Barker <ken.barker at gmail.com> wrote: > > > > The command window must remain open because SCGI is running. I believe > > Curt is targeting moving this off into a windows service so you it could be > > started, stopped, restarted like Apache and MySQL, via windows services. > > > > Ken > > > > On 10/15/05, CcC <cervezaconcafe at gmail.com> wrote: > > > > > > First of all, my congrats for your awesome app. > > > > > > But I get an error when I start Instant Rails > > > > > > I had added the line in hosts file and save it (winXP SP2 running as > > > admin) > > > I am connected without proxies. > > > I start the "cookbok" app checking the box and pushing "start SCGI" > > > It opens a DOS window, which says: > > > > > > D:\Archivos\IRails\rails_apps\cookbook>..\..\ruby\bin\ruby.exe > > > script\scgi_rails > > > start -p 9999 -e production -D > > > ERROR: Could not setup a SIGHUP handler. You won''t be able to get > > > status. > > > Listening for connections on 127.0.0.1:9999 <http://127.0.0.1:9999> > > > > > > (D:\Archivos\IRails is the path where I had installed Instant Rails) > > > If I don''t close neither the DOS window nor the "Rails Applications" > > > window > > > it works correctly, just going to www.mycookbook.com<http://www.mycookbook.com>in my browser (Firefox) > > > > > > But if I close either one of this two windows, when I go to > > > www.mycookbook.com <http://www.mycookbook.com> > > > my browser shows a error message: > > > > > > 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 > > > > > > And if I return to "Rail Applications" window, I find the box of > > > "cookbook" unchecked. > > > > > > I''d read the posts in the mail list (particullary the first thread of > > > september) and > > > I am not running no web server before installing Instant Rails in my > > > PC. > > > > > > Am I missing something or doing something wrong? > > > Just saying that I am just plain newbie with all this and I want > > > learn. > > > > > > Sorry for my bad english. Cheers from Spain. Un saludo > > > > > > _______________________________________________ > > > Instantrails-users mailing list > > > Instantrails-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > > > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051015/2f372ae0/attachment.htm
CcC
2005-Oct-15 15:36 UTC
[Instantrails-users] If I close the DOS window, it does not work
Thanks Curt, your application rocks! :D Cheers. Un saludo. On 10/15/05, Curt Hibbs <curt.hibbs at gmail.com> wrote:> Yes, Kevin is correct. The SCGI server for the Rails application is running > in that DOS box and when you close it you are terminating the app. This is > temporrary. The goal is to get it running in the bacground. > > Curt > > On 10/15/05, Ken Barker <ken.barker at gmail.com> wrote: > > > > The command window must remain open because SCGI is running. I believe > Curt is targeting moving this off into a windows service so you it could be > started, stopped, restarted like Apache and MySQL, via windows services. > > > > Ken > > > > > > On 10/15/05, CcC <cervezaconcafe at gmail.com> wrote: > > > > > First of all, my congrats for your awesome app. > > > > > > But I get an error when I start Instant Rails > > > > > > I had added the line in hosts file and save it (winXP SP2 running as > admin) > > > I am connected without proxies. > > > I start the "cookbok" app checking the box and pushing "start SCGI" > > > It opens a DOS window, which says: > > > > > > > D:\Archivos\IRails\rails_apps\cookbook>..\..\ruby\bin\ruby.exe > script\scgi_rails > > > start -p 9999 -e production -D > > > ERROR: Could not setup a SIGHUP handler. You won''t be able to get > status. > > > Listening for connections on 127.0.0.1:9999 > > > > > > (D:\Archivos\IRails is the path where I had installed Instant Rails) > > > If I don''t close neither the DOS window nor the "Rails Applications" > window > > > it works correctly, just going to www.mycookbook.com in my browser > (Firefox) > > > > > > But if I close either one of this two windows, when I go to > www.mycookbook.com > > > my browser shows a error message: > > > > > > 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 > > > > > > And if I return to "Rail Applications" window, I find the box of > > > "cookbook" unchecked. > > > > > > I''d read the posts in the mail list (particullary the first thread of > > > september) and > > > I am not running no web server before installing Instant Rails in my PC. > > > > > > Am I missing something or doing something wrong? > > > Just saying that I am just plain newbie with all this and I want learn. > > > > > > Sorry for my bad english. Cheers from Spain. Un saludo > > > > > > _______________________________________________ > > > Instantrails-users mailing list > > > Instantrails-users at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > > > > > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > > >