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

Dear Guys!

I have the same problem, I have XP Pro. The portmap starts fine, but the
nfsd and the mountd give this error:

cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

I run these commands but the problem still exists.
chmod 755 /usr/sbin/* /usr/bin/*
eval "`mount -m | sed 's/ -u / -s /'`"

I don't know what happened with the XP or the Cygwin, I used the nfsd and
mountd without problems earlier.

Thanks a lot!


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