Hi, I tried to install the win32 service for mongrel with the following commands:> gem install win32-service (win32-service 0.5.2 mswin32) > gem install mongrel_service (mongrel_service 0.3.2 (mswin32)>mongrel_rails service::install -N appname -c c:\appdir -p 3000 - e developmentThe service is installed. I can see the service in the service console in windows (windows vista). When I try to start the service from the service console or I get the following message: The appname service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs. When I use net start to start the service the response I get is: The appname service is starting. The appname service could not be started. The service did not report an error. Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Stefan> The appname service on Local Computer started and then stopped. Some > services stop automatically if they are not in use by other services > or programs.cch: I had come accross this message before when I first started to use mongrel_service. Check your path and make sure your appdir is a valid rails apps. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I have its running just fine. So it does work. On Oct 22, 6:51 pm, CCH <c...-Z/Eug3sLCsSPzdAsCNHSEg@public.gmane.org> wrote:> Hi Stefan > > > The appname service on Local Computer started and then stopped. Some > > services stop automatically if they are not in use by other services > > or programs. > > cch: I had come accross this message before when I first started to > use mongrel_service. > Check your path and make sure your appdir is a valid rails apps.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
99% of the time it''s because your app is misconfigured or that port is in use. Start up your app like this from the website root: mongrel_rails start -e production -p 4003 Then hit up http://localhost:4003 Test your app. Then install the service mongrel_rails service::install -n my_app_on_4003 -e production -p 4003 Then see if it starts mongrel_rails service::start -n my_app_on_4003 Let us know what you find. On 10/22/07, Stefan <sj1007-RmnjTkgVEzH89q2Ess3Jaw@public.gmane.org> wrote:> > > Hi, > I tried to install the win32 service for mongrel with the following > commands: > > gem install win32-service (win32-service 0.5.2 mswin32) > > gem install mongrel_service (mongrel_service 0.3.2 (mswin32) > > >mongrel_rails service::install -N appname -c c:\appdir -p 3000 - e > development > > The service is installed. > I can see the service in the service console in windows (windows > vista). > When I try to start the service from the service console or I get the > following message: > > The appname service on Local Computer started and then stopped. Some > services stop automatically if they are not in use by other services > or programs. > > When I use net start to start the service the response I get is: > The appname service is starting. > The appname service could not be started. > > The service did not report an error. > > Any ideas? > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---