X-Spam-Check-By: sourceware.org Message-ID: <45F01742.8030000@cygwin.com> Date: Thu, 08 Mar 2007 09:01:38 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061221 Fedora/1.5.0.9-1.fc4.remi Thunderbird/1.5.0.9 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ssh-host-config on w2k References: <1173339142 DOT 22198 DOT 17 DOT camel AT mail DOT rebattu DOT fr> In-Reply-To: <1173339142.22198.17.camel@mail.rebattu.fr> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Yohann Rebattu wrote: > hello > i'm trying to run sshd as service on w2k but, when i'm running > ssh-host-config, sshd doesn't ask me if i want to run sshd as a service > as it does when i install it on a w2k3 server. > so after that i get the fallowing error runing > > cygrunsrv -S sshd > cygrunsrv: Error starting a service: StartService: Win32 error 2: > Le fichier spécifié est introuvable (which mean couldn' find specified > file) > > or > cygrunsrv -S sshd.exe > cygrunsrv: Error starting a service: OpenService: Win32 error 1060: > Le service spécifié n'existe pas en tant que service installé > (mean specified service doesn't exist as installed service) > > I precise > - i did run all these command using W2k in Terminal Server because i > can't physicly go to the server. > - i did install cygwin on e:\ instead of c:\ because no more space left > on c:\ > - i did add in windows path e:\cygwin;e:\cygwin\bin (but it doesnt > change anything) > - Neither sshd nor sshd_server user have been created. > - running /usr/sbin/sshd works fine, but of course as soon as a quit the > session sshd stops. > > i hope you can help me. Two things: 1. Do you have permission to install a service through the Terminal Server? Sounds like you don't. 2. If you ran it from the command line as you rather than SYSTEM, you'll likely find that permissions of various log and support files will now have the wrong permissions. You'll need to clean these up before the service will run correctly. Of course, this is all predicated on (1). -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/