delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/08/21:57:33

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 8 Jun 2004 21:57:24 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT equate DOT f9 DOT co DOT uk
cc: cygwin AT cygwin DOT com
Subject: RE: sshD fails to start as a service
In-Reply-To: <ECOWS01MTp2hFOWd8T400036825@smtp-out1.blueyonder.co.uk>
Message-ID: <Pine.GSO.4.58.0406082155020.12299@slinky.cs.nyu.edu>
References: <ECOWS01MTp2hFOWd8T400036825 AT smtp-out1 DOT blueyonder DOT co DOT uk>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Wed, 9 Jun 2004, cygwin wrote:

> > On Mon, Jun 07, 2004 at 11:50:40PM +0100, cygwin AT XXXXXX DOT XX DOT XX DOT XX wrote:
> > > sshd : PID 3576 : starting service `sshd' failed: execv: 255, error 255.
> >
> > I've encountered such problems when the binaries and
> > libraries were not
> > executable by SYSTEM. "chmod 755 /usr/sbin/* /usr/bin/*" fixed the
> > problem.
> >
> > With kind regards,
> > Baurjan.
>
> Cheers for the response, but having just attempted this, I still get the
> same error..
>
> Any further ideas?
> Anyone?
>
> It is rather annoying, especially as I can manually start sshd and it works
> fine..
>
> Chris

You have user mounts instead of system ones.  Re-mount all your mounts as
system mounts, and it should work.  Below is probably the shortest way of
doing this:

eval "`mount -m | sed 's/ -u / -s /'`"

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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