delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/21/23:43:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B592CF0.1050704@cygwin.com>
Date: Thu, 21 Jan 2010 23:43:28 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problems starting sshd as a service on cygwin 1.7.1
References: <234360 DOT 35947 DOT qm AT web111406 DOT mail DOT gq1 DOT yahoo DOT com>
In-Reply-To: <234360.35947.qm@web111406.mail.gq1.yahoo.com>
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

On 01/21/2010 11:15 PM, Myron Flickner wrote:
> On one of my upgraded 1.7.1 system sshd quit running as a service and would not restart.  I tried a few things
> but never could make it work so I decided to reinstall.
>
> I uninstalled cygwin per the FAQ and a posting on removing sshd
>
> http://www.cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all
> http://chinese-watercolor.com/LRP/printsrv/remove-cygwin.html

:-(  We typically frown on using external sources of Cygwin information and 
then
asking here about problems that could be caused by using information from these
sites.  In this case, I don't see anything misleading at the site you 
reference but
obviously we can't say that for all time or in general.

> I reinstalled cygwin choosing defaults options.   Then I added openssh to this install.
> Ran ssh-host-config  answered all the questions yes and set CYGWIN to "tty ntsec".

These aren't necessary, though they aren't harming anything.

> After this "cygrunsrv -S  sshd" fails. most of the time - although I've seen it work a few times.
> An example session is below.
>
> Any suggestions on a work around or how to trace this ?

Have you looked at the logs?  Clearly the setup is OK if it starts sometimes.
Something is getting in the way.  The logs might give you a clue.  Or it could
be <http://cygwin.com/acronyms/#BLODA>.

If you need to follow-up with this list on this issue, please provide the 
cygcheck
output as requested by <http://cygwin.com/problems.html>.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019