Displaying 7 results from an estimated 7 matches for "win32service".
2005 Dec 10
1
win32 service
...____________________________________________
> >Do You Yahoo!?
> >Tired of spam? Yahoo! Mail has the best spam
> protection around
> >http://mail.yahoo.com
> >
> >
> Thanks for the response.
> I still can''t get things operating properly with
> win32service.
> I have been able to get plink.exe running as a
> service with winserv.exe
> Here is the command line for setting up the service
> using winserve.exe
>
> winserv install secureWebProxy -displayname "Secure
> Web Proxy"
> -description "Tunnel through min.po...
2004 Feb 01
2
test_services test case
...my Win2k box.
Quick review - this is the test case from tc_service.rb
def test_services
assert_nothing_raised{ Service.services{ } }
assert_raises(NotImplementedError){ Service.services } # no non-block
a = []
Service.services{ |s| a.push(s) }
assert_kind_of(Struct::Win32Service,a.first)
end
I added some more information to the error messages, and it turns out that
the failure is caused by the call to OpenSCManager() in the services()
function in service.c. As far as I can tell, the only reason for this to
happen would have something to do with the way TestUnit calls...
2005 Feb 28
3
test/unit error report for win32-service
...hedule service. This is harmless unless you are actually
using these services at the moment you run this test. Is it OK to
proceed? (y/N)
y
This will take a few seconds. Be patient...
Loaded suite tc_service
Started
.....F.............tc_service.rb:134: warning: redefining constant
Struct::Win32Service
..E.tc_service.rb:199: warning: redefining constant
Struct::Win32ServiceStatus
.F
Finished in 7.481 seconds.
1) Failure:
test_create_delete(TC_Win32Service) [tc_service.rb:164]:
Exception raised:
Class: <Win32::ServiceError>
Message: <"The specified service already exists.">...
2006 Dec 04
9
mongrel install on win32 XP problems
I can''t get mongrel installed on a Win XP. I keep getting some unknown
error with this "win32-service-0.5.2". While it states results are
logged, the file is empty - not much help. I even tried complete
uninstall of ruby and reinstalled ruby 1.8.5-21. But no luck.
Oddly, I had no problem installing earlier on a Win 2K machine. Is
there something special about XP?
here
2008 Jul 07
0
[ win32utils-Support Requests-11344 ] Can''t user win32-service inside of a Rails application
...side of a Rails application
Initial Comment:
Hi,
I''m trying to get win32-service to work on Rails.
When I open up a console and do the following it works:
require "win32/service"
include Win32
@services = Service.services
puts @services.first
=> => #<struct Struct::Win32Service service_name="Abiosdsk", display_name="Abiosdsk", service_type="kernel driver", current
_state="stopped", controls_accepted=nil, win32_exit_code=1077, service_specific_exit_code=0, check_point=0, wait_hint=0,
binary_path_name=nil, start_type="disabled&q...
2007 Jun 04
0
[ win32utils-Support Requests-11344 ] Can''t user win32-service inside of a Rails application
...side of a Rails application
Initial Comment:
Hi,
I''m trying to get win32-service to work on Rails.
When I open up a console and do the following it works:
require "win32/service"
include Win32
@services = Service.services
puts @services.first
=> => #<struct Struct::Win32Service service_name="Abiosdsk", display_name="Abiosdsk", service_type="kernel driver", current
_state="stopped", controls_accepted=nil, win32_exit_code=1077, service_specific_exit_code=0, check_point=0, wait_hint=0,
binary_path_name=nil, start_type="disabled&q...
2004 Feb 02
4
Hooks for win32-service
Just trying to come up with hooks for win32-service. It looks like
Perl''s Win32::Daemon defines these:
start....................The service is starting.
pause....................The service is entering a paused state.
continue.................The service is resuming from a paused state.
stop.....................The service is stopping
running..................The service is running