delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.8 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 |
In-Reply-To: | <AANLkTik1cX2e5RHK0HK0xzwCwANhGdHTYRBimHqAMAvM@mail.gmail.com> |
References: | <AANLkTik1cX2e5RHK0HK0xzwCwANhGdHTYRBimHqAMAvM AT mail DOT gmail DOT com> |
Date: | Fri, 25 Jun 2010 09:27:04 -0500 |
Message-ID: | <AANLkTinvK9bDKFvOEY3kMY_FyZtnxJYOaS1bj5KXHofJ@mail.gmail.com> |
Subject: | Re: 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-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Fri, Jun 25, 2010 at 12:30 AM, Terry <td3201 AT gmail DOT com> wrote: > Hello, > > I have a windows service that execs the ssh command to build a reverse > SSH tunnel. =A0It works great. =A0However, I want to build logic in that > if, for any reason, the service fails, it recovers. =A0For example, I > killed the ssh process on the remote side and I get an event in the > local app log that says: > > Event Type: =A0 =A0Information > Event Source: =A0 =A0sshservice > Event Category: =A0 =A0None > Event ID: =A0 =A00 > Date: =A0 =A0 =A0 =A06/25/2010 > Time: =A0 =A0 =A0 =A012:11:16 AM > User: =A0 =A0 =A0 =A0foo > Computer: =A0 =A0server > 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=3D 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. =A0The service stays stopped. =A0What do I > have to do? > > Thanks! > Sorry for wasting bits. I guess this is the whole point of autossh. :) I'm new to the ssh port forwarding world. -- 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 |