X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <dd3cefac0806231334x23ce467bqd5a7ba569432f99e@mail.gmail.com>
Date: Mon, 23 Jun 2008 21:34:44 +0100
From: "Adam Thompson" <adwulf@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Error starting sshd: "Win32 error 1069"
In-Reply-To: <485DEDF5.3080503@eburg.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <485DEDF5.3080503@eburg.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

2008/6/22 Gordon Messmer <yinyang@eburg.com>:
> I'm having trouble starting sshd on a host running Windows Server 2003, SP1.
>  It was working several days ago, and then stopped for no reason that I can
> determine.
>
> I tried starting the service by hand, and got:
>
> $ cygrunsrv.exe -S sshd
> cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
> The service has not been started.
>

Did you try:
net helpmsg 1069

This will tell you: The service did not start due to a logon failure.

It may be that the sshd service account password is wrong - or more
likely - the password has expired.  Have a look in the security log of
the machine, and you should see a failure audit.

Check in lusrmgr.msc for the sshd user account and check that the
password is set to never expire, and that it hasn't been
disabled/locked out.

-- 
AdamT
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." - Nietzsche

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

