This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: sshD fails to start as a service
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin at equate dot f9 dot co dot uk
- Cc: cygwin at cygwin dot com
- Date: Tue, 8 Jun 2004 21:57:24 -0400 (EDT)
- Subject: RE: sshD fails to start as a service
- References: <ECOWS01MTp2hFOWd8T400036825@smtp-out1.blueyonder.co.uk>
- Reply-to: cygwin at cygwin dot com
On Wed, 9 Jun 2004, cygwin wrote:
> > On Mon, Jun 07, 2004 at 11:50:40PM +0100, cygwin@XXXXXX.XX.XX.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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/