Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <000f01c487c6$555f9ba0$076ca8c0@katakis> From: "david" To: Subject: RE: sshD fails to start as a service Date: Sat, 21 Aug 2004 23:32:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at broadband.hu X-IsSubscribed: yes 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 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/