This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: sshD fails to start as a service


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]