delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/17/12:36:37

X-Spam-Check-By: sourceware.org
Message-ID: <a13d15de0611170936hc9ba47euc62bb1fccfe2f97f@mail.gmail.com>
Date: Fri, 17 Nov 2006 12:36:16 -0500
From: "Tom Mount" <tmountjr AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.21-1: sshd occasionally fails to start
In-Reply-To: <Pine.GSO.4.63.0611171018040.20455@access1.cims.nyu.edu>
MIME-Version: 1.0
References: <a13d15de0611162014p595a440fkdef64998b37bf8b6 AT mail DOT gmail DOT com> <455D3B62 DOT 2000904 AT cygwin DOT com> <a13d15de0611170658o5576538er955a77e1e0bf82ed AT mail DOT gmail DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0611171018040 DOT 20455 AT access1 DOT cims DOT nyu DOT edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 11/17/06, Igor Peshansky <> wrote:
> Ugh, top-posting...  Reformatted.
>
> On Fri, 17 Nov 2006, Tom Mount wrote:
>
> > On 11/16/06, Larry Hall (Cygwin) <reply-to-list-only-lh AT XXXXXX DOT XXX> wrote:
>
> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.
>
> > > Tom Mount wrote:
> > > > How did you come up with that directory name? I searched through the
> > > > output file I posted and couldn't find it. I also ran a search on
> > > > that computer for any and all cygwin1.dll files - I probably should
> > > > have mentioned right off the bat that that's the first thing I do
> > > > when I can't start the sshd service. I can't find
> > > > c:/tools/foundstone, and I can't find any other cygwin1.dll files on
> > > > the system.
> > >
> > > Hm, I guess that's why it looked *so* familiar.  Yours didn't
> > > overwrite the last one I viewed. :-(
> > >
> > > Are you sure tcpip is starting up in a timely manner?  If it's not,
> > > 'sshd' won't either.
> >
> > For kicks I shut down the sshd process and attempted to start it right
> > back up. No dice. Here's the output from my bash window:
> >
> > Tmount AT CS8664 ~
> > $ cygrunsrv -Q tcpip
> > Service             : tcpip
> > Display name        : TCP/IP Protocol Driver
> > Description         : TCP/IP Protocol Driver
> > Current State       : Running
> > Controls Accepted   : Stop
> >
> > Tmount AT CS8664 ~
> > $ net start sshd
> > The CYGWIN sshd service is starting.
> > The CYGWIN sshd service could not be started.
> >
> > A system error has occurred.
> >
> > System error 1067 has occurred.
> >
> > The process terminated unexpectedly.
> >
> >
> > Tmount AT CS8664 ~
> > $ cygrunsrv -S sshd
> > cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
> > The service has not been started.
>
> Do you have any extra information in the Event Log or in
> /var/log/sshd.log?
>         Igor
> --
>                                 http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_            pechtcha@ | igor@
> ZZZzz /,`.-'`'    -.  ;-;;,_            Igor Peshansky, Ph.D. (name changed!)
>      |,4-  ) )-,_. ,\ (  `'-'           old name: Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
> "But no -- you are no fool; you call yourself a fool, there's proof enough in
> that!" -- Rostand, "Cyrano de Bergerac"
>

sshd.log is empty. 0 bytes. In the even log I have errors like "The
CYGWIN sshd service terminated unexpectedly.  It has done this 15
time(s)." These errors follow information entries like "The CYGWIN
sshd service was successfully sent a start control." Earlier in the
morning before I started messing with this, I got the following
information entry: "The system detected that network adapter
\DEVICE\TCPIP_{84D85DA7-3BDE-4091-9024-B1AA02CDDEB5} was connected to
the network, and has initiated normal operation over the network
adapter." I point that out because the source was "Tcpip."

I'm wondering why sshd.log would be empty and if that means anything
for this problem. The SYSTEM user is the owner of the file, and it's
got full control minus execute permissions. The service is being run
by the local system account, so it should be able to interact with
that log file, right?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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