delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.9 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Fri, 25 Jun 2010 00:30:49 -0500 |
Message-ID: | <AANLkTik1cX2e5RHK0HK0xzwCwANhGdHTYRBimHqAMAvM@mail.gmail.com> |
Subject: | recovery for cygrunsrv service |
From: | Terry <td3201 AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hello, I have a windows service that execs the ssh command to build a reverse SSH tunnel. It works great. However, I want to build logic in that if, for any reason, the service fails, it recovers. For example, I killed the ssh process on the remote side and I get an event in the local app log that says: Event Type: Information Event Source: sshservice Event Category: None Event ID: 0 Date: 6/25/2010 Time: 12:11:16 AM User: foo Computer: server Description: The description for Event ID ( 0 ) in Source ( sshservice ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: sshservice: PID 976: `sshservice' service stopped, exit status: 255. I configured the basic recovery options in the service tab but they aren't working in this case. The service stays stopped. What do I have to do? Thanks! -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |