delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/06/05:31:22

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
Date: Sat, 6 Nov 2004 11:30:57 +0100
From: Walter Garcia-Fontes <walter DOT garcia AT upf DOT edu>
To: cygwin AT cygwin DOT com
Subject: Re: Cannot start sshd service
Message-ID: <20041106103057.GA4052@upf.edu>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20041105123015 DOT GB3024 AT upf DOT edu> <418B87BC DOT 2000807 AT familiehaase DOT de> <20041105180701 DOT GB3784 AT upf DOT edu> <Pine DOT GSO DOT 4 DOT 61 DOT 0411051340110 DOT 6120 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.61.0411051340110.6120@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4i
X-URL: http://puna.upf.edu
X-imss-version: 2.8
X-imss-result: Passed
X-imss-approveListMatch: *@upf.edu
X-IsSubscribed: yes

* Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> [041105 19:54]:
> On Fri, 5 Nov 2004, Walter Garcia-Fontes wrote ([snip]ped):
> 
> > Here I answer to all the suggestions of Gerrit and Igor:
> >
> > Igor Pechtchanski <pechtcha at cs dot nyu dot edu> [041105 10:23]:
> > > On Thu, 4 Nov 2004, Walter Garcia-Fontes wrote:
> > >
> > > > I'd appreciate any hint to solve the following problem:
> > > >
> > > > I get the "Could not start sshd service on Local Computer. Error 1067:
> > > > The process terminated unexpectedly." I've seen some reports on this
> > > > in the archives, but none of the solutions suggested worked for me.Here
> > > > is the status of my installation:
> > > >[snip]
> 
> Wrong log ("system"?).  Look in the "application" log...
> 

Chapeau Igor! Here was the problem. I checked the "application log"
and found:

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. The
following information is part of the event: sshd : PID 3468 : starting
service `a' failed: redirect_fd: open (1, /var/log/sshd.log): 13,
Permission denied.

So I went to /var/log and saw that sshd.log belonged to the SYSTEM
account, but was not writable. Making it writable solved the problem. 

Cheers!

-- 
Walter Garcia-Fontes               
Barcelona


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