search for: service_stopped

Displaying 20 results from an estimated 24 matches for "service_stopped".

2006 May 22
9
win32/service... still with problems.
Hello list, In my quest to get Mongrel working as service for win32, found some problems with win32/service that make it impossible to solve. Attached is the simplest service script I could do with ruby, which depends on win32/service. I found that doing anything complex in service_stop (killing threads, doing file handling, even sleeping for 0.25 seconds). crash the service with backtraces (of
2006 Feb 20
1
Fwd: Win32::Daemon, Problems with service_stop
Anyone want to take a stab at this? I''ve brought it up before but it''s been a while. Dan Note: forwarded message attached. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An embedded message was scrubbed... From: "Luis
2006 Dec 07
0
Fwd: win32-service problems with patch
...for hStop && normal processing wait for ruby threads wait for hStopCompleted schedule service_stop thread wait for ruby threads wait for hStopCompleted exit set hStopCompleted wait for hStopCompleted wait for Thred 2 to exit set SERVICE_STOPPED && exit close hStopEvent && exit http://www.systemware.com/ ? service_c.patch Index: lib/win32/service.c =================================================================== RCS file: /var/cvs/win32utils/win32utils/win32-service/lib/win32/service.c,v retrieving revision 1.67 dif...
2005 Dec 01
1
service_cli.rb
Hi, I just got done using win32/service to run a very small/hack-ish "Riki" WEBrick service. Very cool stuff. Thanks. So, in the process, I noticed a lot of the "control" start/install/etc. command line parser stuff looked a bit boilerplate, so I pulled it out into a helper function "service_cli" (for lack of a better name). Its simple, but it allows me to do away
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...t any required variables. - // Be sure to periodically call ReportSvcStatus() with + // TO_DO: Declare and set any required variables. + // Be sure to periodically call ReportSvcStatus() with // SERVICE_START_PENDING. If initialization fails, call // ReportSvcStatus with SERVICE_STOPPED. // Create an event. The control handler function, SvcCtrlHandler, // signals this event when it receives the stop control code. - ghSvcStopEvent = CreateEvent ( - NULL, - TRUE, - FALSE, - NULL - ); + ghSvcStopEvent = CreateEvent ( + NULL, + TRUE, + FALSE,...
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...t any required variables. - // Be sure to periodically call ReportSvcStatus() with + // TO_DO: Declare and set any required variables. + // Be sure to periodically call ReportSvcStatus() with // SERVICE_START_PENDING. If initialization fails, call // ReportSvcStatus with SERVICE_STOPPED. // Create an event. The control handler function, SvcCtrlHandler, // signals this event when it receives the stop control code. - ghSvcStopEvent = CreateEvent ( - NULL, - TRUE, - FALSE, - NULL - ); + ghSvcStopEvent = CreateEvent ( + NULL, + TRUE, + FALSE,...
2006 May 21
0
Mongrel as win32-service, round3.
Hello lists! This is not spam, but included the 2 lists (mongrel-users and win32utils-devel) because the both are involved. Attached is the 3rd version of a simple http_service script used previously to get the things right for the mongrel Rails service. With the modifications Zed implemented the past days (into the beta gem, 0.3.13). Now the service part works better. Still, a few things must
2006 Jun 20
1
Portable Daemon
I am wrapping up work on a "PortableDaemon" gem. It is pure Ruby and wraps win32-service and the daemons gems. Allowing users to write against a common interface (pretty much the win32-service call back structure). Under Linux it captures a couple signals to support the service_stop (TERM) and service_paramchange (USR1). It also adds a "run" feature to the win32 implementation
2017 Oct 27
0
Fwd: Network interface regression on F26 VM after 4.13/4.12 kernel update
I did not hear back on this posting so I figured I was addressing the wrong audience. Maybe someone on the host-side better understands how the 4.12 kernel is interacting with KVM. Thanks, -Philip > Begin forwarded message: > > From: Philip Prindeville <philipp_subx at redfish-solutions.com> > Subject: Network interface regression on F26 VM after 4.13/4.12 kernel update
2014 Aug 23
2
CTDB 50.samba: ERROR: smb.conf cache create failed
Ubuntu 14.04, ctdb 2.5.1 from the ubuntu package. samba 4.1.11 with cluster support from source. Error upon startup only. Restarting ctdb on that node clears the error. The other node with the same config is OK. Any ideas? Cheers, Steve smb.conf [global] workgroup = ALTEA realm = ALTEA.SITE security = ADS kerberos method = secrets and keytab netbios name = SMBCLUSTER disable netbios = Yes
2005 Sep 08
11
Stopping services
I''m back to getting stuff to run as a Windows service, and am running in to a problem. My service (a Daemon ruby class) installs and starts fine, but when I try to stop it, I get: C:\workspaces\default\tahoe>ruby script\service stop script/service:77:in `stop'': An exception occurred in the service when handling the control request. (Win32::ServiceError) from
2014 Jul 18
1
ctdb do not start nmbd if serving AD
ctdb 2.5.3 dual node file server with 4.1.9 serving AD domain Hi We have enabled the script at: /etc/cdb/events.d/50.samba but when we are the enabled node, it starts not only smbd but also nmbd. This doesn't make sense in an AD domain. I've tried disabling nmbd starting under openSUSE's systemd but ctdb overrides that, I've had a look at the script but can't decipher the bit
2007 Aug 07
0
[ win32utils-Bugs-12881 ] Cannot wait on Process - service_daemon/service_main
Bugs item #12881, was opened at 2007-08-07 19:17 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=12881&group_id=85 Category: win32-service Group: None Status: Open Resolution: None Priority: 3 Submitted By: John Leake (ozwaldtwistle) Assigned to: Nobody (None) Summary: Cannot wait on Process - service_daemon/service_main Initial Comment: First of
2004 Feb 06
0
Daemon method name changes
All, At the risk of annoying you all to death with seemingly trivial things, I was thinking that we should change a couple method names. I know that I myself had suggested "on_stop", "on_pause", etc, for the event hooks in the Daemon class. However, I think I will change those to "service_stop", "service_pause", etc. This isn''t a major issue,
2004 Feb 10
0
Daemon help
I''m having some trouble separating the Daemon class stuff from the Service Control stuff. I have a "daemon.rb" file in ''C:\''. I also have a daemonctrl.rb script in another directory. It installs fine, but I can never start it successfully. What am I doing wrong? Dan # daemon.rb in ''C:\'' require "win32/service" include Win32
2011 Dec 21
1
Deleting active MRSW lock, expect failure
In recent wine I have started to get these frequently, when I exit different applications. err:ntdll:RtlDeleteResource Deleting active MRSW lock (0x112034), expect failure It doesn't happen always and I have just ignored it, because it doesn't seem to cause problems. But it's annoying Anyone else have this?
2014 Aug 15
1
ctdb event script 50.samba does not start smbd
Ubuntu 14.04. 2 node ctdb in an 4.1.11 AD domain with 4.1.11 member servers on each node. winbindd is present but nss and pam are controlled by sssd. All OK, except that the event script which starts samba is not working. smb.conf [global] workgroup = ALTEA realm = ALTEA.SITE security = ADS kerberos method = secrets and keytab netbios name = SMBCLUSTER clustering = Yes ctdbd socket =
2013 Dec 20
0
Wine release 1.7.9
...ctions. server: Set process start time a bit later. Detlef Riekenberg (1): tools: make_authors is no longer used. Dmitry Timoshkov (10): msiexec: Make service thread do nothing by waiting for the kill event instead of using an empty loop. msiexec: MSI service should report SERVICE_STOPPED when appropriate. include: Add taskschd.idl. msiexec: Make sure that SERVICE_STOPPED status is really sent to SCM. crypt32: Add support for decoding serial number property in the certificate attributes. include: Add more Task Scheduler interface definitions. secur32/te...
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
2015 Dec 04
0
Wine release 1.8-rc3
...with CoGetMalloc(). Olivier F. R. Dierick (2): shlwapi: SHFreeShared returns TRUE when passed NULL handle. shlwapi/tests: Test SHFreeShared with NULL handle. Piotr Caban (2): comctl32: Set listview focus in WM_LBUTTONDOWN. msiexec: Avoid broken pipe error caused by setting SERVICE_STOPPED state twice. Qian Hong (3): ntdll/tests: Add SIMD exception test for floating point invalid operation fault. ntdll: Silence useless fixme message when handling SIMD floating point invalid operation exception. ntdll/tests: Restore old value in a more context independent way. Seba...