similar to: Service.open

Displaying 20 results from an estimated 10000 matches similar to: "Service.open"

2007 Sep 19
1
Fwd: win32-service of win32utils
Any ideas folks? Thanks, Dan ---------- Forwarded message ---------- From: Kay <serphakay at hotmail.com> Date: Sep 19, 2007 10:52 AM Subject: win32-service of win32utils To: djberg96 at gmail.com I''m writing some scripts to programmatically change the user account of running a windows service. So I downloaded one of the windows utilities, win32-service, and wrote my scripts.
2007 Sep 21
0
win32-service of win32utils
Ah, excellent. Glad you got it figured out! Regards, Dan Yuhong Liu wrote: > Hi Dan, > > I think I have figured out the problem. The issue is because of the > setting of service type. So by default the service type is set as > Service::WIN32_OWN_PROCESS | Service::INTERACTIVE_PROCESS. This means > the service is configured to interact with the desktop, you cannot >
2006 Jun 18
0
[ win32utils-Bugs-4699 ] Service dependencies are not being created properly
Bugs item #4699, was opened at 2006-06-07 19:21 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4699&group_id=85 Category: win32-service Group: Code >Status: Closed >Resolution: Accepted Priority: 3 Submitted By: Scott Harper (sharperct) Assigned to: Park Heesob (phasis68) Summary: Service dependencies are not being created properly Initial
2005 May 14
4
Problems with custom service and webrick
Hi all, Windows XP Pro Ruby 1.8.2 I''m having a couple of problems with the following service. The first issue is that the code in service_start doesn''t seem to fire off. The second problem is that any attempt to do ''require "webrick"'' within webrick_daemon.rb causes the service to fail on start. Any ideas? # webrickctl.rb
2004 Apr 09
2
Issues with win32-service Daemon
Hi all, I wrote a little echo client to run as a service. I have a couple of problems with this. First, any time I try to define anything in "initialize", the service fails to start. Any idea why? Also, this service runs for a while, then just quits for no reason that I can see. The Event Log merely says, "The Abba service terminated unexpectedly". Any ideas on
2007 Nov 03
2
Service.services bug (pure Ruby version)
Hi all, I''ve hit a curious bug in the Service.services method. This is in the pure Ruby version in CVS. Check it out and run this snippet: Service.services{ |s| p s.service_name p s.display_name } That will segfault after about 14 entries for me. It appears to be a problem with memcpy on line 658, but I couldn''t tell you why. The interesting thing is that the more I
2008 Jul 07
0
[ win32utils-Support Requests-11344 ] Can''t user win32-service inside of a Rails application
Support Requests item #11344, was opened at 2007-06-04 03:21 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=11344&group_id=85 Category: win32-service Group: None Status: Open Resolution: None Priority: 3 Submitted By: Roberto V. A. (robo) Assigned to: Nobody (None) Summary: Can''t user win32-service inside of a Rails application Initial
2007 Dec 27
3
[ win32utils-Bugs-16648 ] Cannot find the file specified with Service.services
Bugs item #16648, was opened at 2007-12-27 13:58 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=16648&group_id=85 Category: win32-service Group: Code Status: Open Resolution: None Priority: 4 Submitted By: Daniel Berger (djberg96) Assigned to: Park Heesob (phasis68) Summary: Cannot find the file specified with Service.services Initial Comment:
2005 Oct 12
1
[ win32utils-Support Requests-2614 ] warning: redefining constant Struct::Win32ServiceStatus
Support Requests item #2614, was opened at 2005-10-12 10:23 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=2614&group_id=85 Category: win32-service Group: None Status: Open Resolution: None Priority: 3 Submitted By: Scott Harper (sharperct) Assigned to: Nobody (None) Summary: warning: redefining constant Struct::Win32ServiceStatus Initial
2006 May 15
0
FW: [Mongrel] Broken win32 service support for lastest mongrels.
Hi all, I''ve forwarded this from the Mongrel mailing list to see if anyone has any thoughts. In summary, Luis is hitting broken pipe errors on occasion when he tries to stop a service. In a later email Luis mentions that simply ignoring them might not always be the best idea, since sometimes the service seems to no longer respond, even though it still appears to be running fine. Dan
2005 Jul 11
2
[ win32utils-Bugs-2093 ] unable to open existing shortcut
Bugs item #2093, was opened at 2005-07-08 04:43 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=2093&group_id=85 Category: win32-shortcut Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: unable to open existing shortcut Initial Comment: # ## My RUBY version # C:\>ruby -v ruby
2007 Jun 04
0
[ win32utils-Support Requests-11344 ] Can''t user win32-service inside of a Rails application
Support Requests item #11344, was opened at 2007-06-04 10:21 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=11344&group_id=85 Category: win32-service Group: None Status: Open Resolution: None Priority: 3 Submitted By: Roberto V. A. (robo) Assigned to: Nobody (None) Summary: Can''t user win32-service inside of a Rails application Initial
2006 Jun 19
2
win32-service cvs - potential issue with Service.services
Hi all, I''m preparing win32-service for an 0.5.1 release. I''ve made a couple minor changes and altered the test suite a bit. It passes on my box here, except that about half the time I get this error: 1) Error: test_services(TC_Win32Service): Win32::ServiceError: OpenService() call failed: The handle is invalid. test/tc_service.rb:227:in `services''
2005 Dec 10
1
win32 service
Hi Ernest, I''m cc''ing the win32utils-devel mailing list in case anyone has any ideas. --- Ernest Ellingson <erne at powernav.com> wrote: > Daniel Berger wrote: > > >Hi Ernest, > > > >Me again. I just realized that it''s just a bug in > my > >documentation (duh). You can pass arguments to the > >Service.start method.
2006 Jun 21
4
Yet another data structure + pack/unpack question (win32-service)
Hi all, If you take a look at the service.rb file in the win32-service repository (the new one in the toplevel repository path), I''ve got this bit of code, which succeeds, but I can''t seem to unpack the data structure properly. Did I pack it wrong to begin with? I should know this but I''m spacing out. proc_status =
2007 Dec 11
0
[ win32utils-Bugs-16211 ] win32-service will not install/build corectly if the system has VC8
Bugs item #16211, was opened at 2007-12-10 15:40 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=16211&group_id=85 Category: win32-service Group: Packaging Status: Closed Resolution: Rejected Priority: 3 Submitted By: Sorin Sbarnea (intersol) Assigned to: Daniel Berger (djberg96) Summary: win32-service will not install/build corectly if the system
2006 Oct 26
2
The win32-service patch is committed - and now, some questions
Hi all, I *finally* committed the patch from Patrick Hurley (you know, the one he submitted way back in June). Looks like it works. I''ve also revamped the code under the examples directory. There''s now a tdaemon.rb (the test daemon) and tdaemon_ctl.rb (the test daemon controller). Before I release this into the wild I want to make sure I document how to use it properly.
2007 Nov 24
5
Service.start arguments failing or causing segfault
Hi, Unless I''m mistaken the final arguments to Service.start should be passed to the Daemon''s service_main method. Correct? I modified the Service.start method (now in CVS) to look something like this: def self.start(service, host=nil, *args) ... num_args = args.length if args.empty? args = nil else args.unshift(service) # Necessary?
2006 Jun 28
3
[Fwd: [ruby] win32-service : RegisterServiceCtrlHandlerEx]
Thoughts? -------------- next part -------------- An embedded message was scrubbed... From: "Romuald du Song" <rdusong at gmail.com> Subject: [ruby] win32-service : RegisterServiceCtrlHandlerEx Date: Mon, 26 Jun 2006 00:02:10 +0200 Size: 2587 Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060628/8f12e8f1/attachment-0001.mht
2008 Jun 07
2
Unraveling a protoent struct
I''m spacing - how do I unravel a protent struct pointer? require ''win32/api'' include Win32 getprotobyname = API.new(''getprotobyname'', ''P'', ''P'', ''ws2_32'') ptr = getprotobyname.call(''tcp'') puts "Name: " + # ??? puts "Aliases: " + # ??? puts "Number: "