delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/19/02:32:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: Eli Barzilay <eli AT barzilay DOT org>
MIME-Version: 1.0
Message-ID: <17116.40546.768442.498799@tulare.cs.cornell.edu>
Date: Tue, 19 Jul 2005 02:32:02 -0400
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: ssh problems
In-Reply-To: <6.2.1.2.0.20050718233351.03cd2b18@pop.prospeed.net>
References: <17099 DOT 10669 DOT 464228 DOT 125667 AT tulare DOT cs DOT cornell DOT edu> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050705221013 DOT 08cdd6b0 AT pop DOT prospeed DOT net> <17099 DOT 18679 DOT 819770 DOT 637448 AT tulare DOT cs DOT cornell DOT edu> <200507091454 DOT 38902 DOT lhall AT rfk DOT com> <17105 DOT 47620 DOT 419723 DOT 654228 AT tulare DOT cs DOT cornell DOT edu> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050710223821 DOT 03cd7140 AT 127 DOT 0 DOT 0 DOT 1> <17106 DOT 15844 DOT 889622 DOT 893399 AT tulare DOT cs DOT cornell DOT edu> <Pine DOT GSO DOT 4 DOT 61 DOT 0507110927320 DOT 6749 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT GSO DOT 4 DOT 61 DOT 0507102317520 DOT 9496 AT slinky DOT cs DOT nyu DOT edu> <17114 DOT 65208 DOT 516047 DOT 93257 AT tulare DOT cs DOT cornell DOT edu> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050717223532 DOT 05671008 AT pop DOT prospeed DOT net> <17115 DOT 11978 DOT 668163 DOT 72702 AT tulare DOT cs DOT cornell DOT edu> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050718233351 DOT 03cd2b18 AT pop DOT prospeed DOT net>

On Jul 18, Larry Hall wrote:
> At 12:23 AM 7/18/2005, you wrote:
> >On Jul 17, Larry Hall wrote:
> >> [...]
> >> You'll need to change some permissions.  Try this:
> >> 
> >> chown eli /etc/ssh*
> >> chown eli /var/log/sshd.log
> >> 
> >> Then start the service:
> >> 
> >> cygrunsrv --start sshd
> >> 
> >> With any luck, that will run.  Note - I haven't tried this myself
> >> but it should be a pretty complete guide.  You'll be the final judge
> >> (and test) though. ;-)
> >
> >I followed all this, and ended up with:
> >
> >  $ cygrunsrv --start sshd
> >  cygrunsrv: Error starting a service: StartService:  Win32 error 1069:
> >  The service did not start due to a logon failure.
> >
> >Following the advice at
> >  http://sources.redhat.com/ml/cygwin/2001-05/msg00909.html
> >I added my username to "Local Security Settings/User Rights
> >Assignment/Log on as a service".  After that I got a
> >
> >  $ cygrunsrv --start sshd
> >  cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1053:
> >  The service did not respond to the start or control request in a timely fashion.
> >
> >and now I can't even stop or remove it -- in both cases I get
> >
> >  $ cygrunsrv --remove sshd
> >  cygrunsrv: Error removing a service: ControlService:  Win32 error 1061:
> >  The service cannot accept control messages at this time.
> 
> 
> Yeah, that's true.  You can kill the outstanding cygrunsrv process though
> and that will take care of the problem though.
> 
> Forgot two things.  First, your user must be a member of the local 
> Administrators group.  Second, 'chown eli /var/empty'.  That should do 
> it.  It did for me.

I did the additional chown, and my username is a mamber of the
administrators group, but I'm still getting the same error (1053).  Is
there any log file or something that will hint at the problem?  The
event viewer is not helping --

  The description for Event ID ( 0 ) in Source ( sshd ) 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: sshd : PID 812 : starting service
  `sshd' failed: execv: 1, Operation not permitted.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

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