On 5/11/06, Gabriel Falkenberg <[EMAIL PROTECTED]> wrote: [snip] > Nice suggestion Luis, I hadn't thought about that. It seems like there is > something wrong with the services part cause even a fresh rails app which > runs perfectly using just "mongrel_rails start" fails to start as a service > with the same error message: > > There was a problem starting the service: > The service did not respond to the start or control request in a timely > fashion. > > I guess my question is, has anyone succeeded in running mongrel as a service > (or any service using win32/service) using windows 2000? >
Excelent question Gabriel!, we just need to figure this out ;-) win2k you're talking about, is Pro or Server? Also, inside the win32-service gem (C:\Ruby\lib\ruby\gems\1.8\gems\win32-service-0.5.0-mswin32) there is a file called daemon_test.rb in examples folder. We will use that to trace the root of the problem: In a console, chdir to that folder and do: >ruby daemon_test.rb install That is supposed to install a AbbaSvc test service (later you could remove it). Now, try starting it using the ruby command (ruby daemon_test.rb start) and also "net start abbasvc" If it fails, something is wrong (or different) in how services work under win2k. If not fails, that means something is wrong with my brain and need to fix it ;-) In that case, I'll doing a rewrite of the win32 service stuff for mongrel to solve other issues too, targeting 0.4 release (as Zed annouced this monday). I'll like have you as test user if you could/want so we also could mark win2k as compatible/tested platform. Later, _______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
