delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/30/09:13:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
X-Received: by 10.14.216.70 with SMTP id f46mr15588585eep.12.1359555205366; Wed, 30 Jan 2013 06:13:25 -0800 (PST)
In-Reply-To: <1359549388.9218.YahooMailNeo@web162704.mail.bf1.yahoo.com>
References: <1359486853591-95750 DOT post AT n5 DOT nabble DOT com> <51082B30 DOT 3020303 AT prager DOT ws> <51082C6E DOT 5020409 AT gmail DOT com> <1359549388 DOT 9218 DOT YahooMailNeo AT web162704 DOT mail DOT bf1 DOT yahoo DOT com>
Date: Wed, 30 Jan 2013 15:13:25 +0100
Message-ID: <CAPUpn4j=AkJovtKvwcPwcdEruYUAENvsLiQZaYwaxu+2Mo-2UQ@mail.gmail.com>
Subject: Re: sshd service will not start on Windows 7
From: David Carricajo <david DOT carricajo 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 Wed, Jan 30, 2013 at 1:36 PM, misterblinky <misterblinky AT yahoo DOT com> wrote:
>
> So ... a) cyg_server *is* in the Administrator group in Windows; and b) I ran the editrights commands just in case. Same deal. "CYGWIN sshd service could not be started".
>
> Oddly, "groups cyg_server" returns "None root" -- cygwin doesn't think it's in the administrator group.
>
> thanks for your thoughts ... any further suggestions?
>

The mmc "Event viewer" under the label System should give you more
information about the offending service. If you installed cygwin and
then created the user cyg_server, then you should check if it's
available in /etc/passwd (most probably it's there). Can you start the
process by issuing the command '/usr/sbin/sshd'?, the problem with
/var/empty is because of this
http://cygwin.com/ml/cygwin/2008-02/msg00437.html, you need to change
permissions to all those folders.

Also, you don't need to reinstall sshd at every attempt, you may use
"cygrunsrv --remove sshd"

Regards

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