delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/16/11:19:37

X-Spam-Check-By: sourceware.org
Message-ID: <45FAC377.8020808@cygwin.com>
Date: Fri, 16 Mar 2007 12:19:03 -0400
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.0.9) Gecko/20061221 Fedora/1.5.0.9-1.fc4.remi Thunderbird/1.5.0.9 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: can't run cygrunsrv -S sshd : win32 error 1058
References: <1174057385 DOT 4613 DOT 67 DOT camel AT yohann-desktop>
In-Reply-To: <1174057385.4613.67.camel@yohann-desktop>
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

Yohann Rebattu wrote:
> The service cannot be started, either because it is disabled or because
> it has no enabled devices associated with it.The service cannot be
> started, either because it is disabled or because it has no enabled
> devices associated with it.
> 
> to get here i fallowed the aboves steps:
> 
> run ms-dos command line windows
> type: change user /install
> 
> install cygwin with all admin tools, openssh openssl tcp wrapper, vim,
> rsync.
> 
> then run ssh-host-config.
> 
> here i notice the fisrt odd thing: the sshd user is created but
> disabled.
> the cygwin ssh service is created.
> 
> then i run cygrunsrv -S sshd
> and i got the error.
> 
> i didn't dare just activate sshd user because:
> 1) last time i did this it didn't correct the error
> 2) i just reinstall cygwin, "from scratch" (i ran cygrunsrv -R sshd,
> then i deleted the entire e:\cygwin directory, and i deleted the entries
> HKEY-LOCAL-MACHINE/Software cygnus solution and
> HKEY/local-user/software/cygnus solution before to reinstall cygwin)
> 
> and so i still get the error.
> please help me, i really don't know what to do more know, 
> is there a spécial way to activate the user sshd?
> doe someone know why the sshd user have been created disabled?
> 
> i'm a bit disapointed because since my first installation where i didn't
> know what to do to set the ssh server up, i did install cygwin on 3
> other servers with no problem, and on this particular one it doesn't
> seems to work, could it be because it is a W2k server and the others
> were W2k3 windows server?


Maybe.  I suggest enabling the sshd user first.  If that doesn't work,
modify the ssh-host-config script to create a user to run 'sshd' as,
which is what happens on W2K3.


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

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