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 Date: Sun, 29 Aug 2004 09:41:25 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Marcin Lewandowski cc: cygwin AT cygwin DOT com Subject: Re: cygrunsrv xinetd problem In-Reply-To: <001501c48db4$059224f0$3601010a@plas> Message-ID: References: <001501c48db4$059224f0$3601010a AT plas> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Sun, 29 Aug 2004, Marcin Lewandowski wrote: > Hi, > > I'm new to cygwin, and at the beginning I have a problem > running xinetd service. Again, the advice below is very generic, and has to do with services in general, not xinetd in particular. First off, see (and follow) the Cygwin problem reporting guidelines at , particularly the part about providing the output of "cygcheck -svr" as an uncompressed text *attachment*. > When I execute the following: > $ cygrunsrv -S xinetd > i get: > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062 > Usluga nie zostala uruchomiona. $ net helpmsg 1062 The service has not been started. > the same when running > $ net start xinetd > ... > System error 1067 has occured. > ... $ net helpmsg 1067 The process terminated unexpectedly. The weird part is that "net start" and "cygrunsrv -S" give different errors, but maybe that's expected. What does the Windows Event Log show? > When I run xinetd manually, it starts normally, but since I run it as a > normal user, Bingo. Here's a guess (pending the output of "cygcheck -svr"): you installed Cygwin for "Just Me" instead of "All Users". Therefore, the SYSTEM user doesn't see your mounts, and can't find the files. Re-mount all your mounts as system mounts (Google for "cygwin remount system" for a recipe) and try starting your service again. > it hasn't got enough privileges and I get setuid error when trying to > telnet onto the server. > /var/log/xinetd.log contains nothing. As said above, look in the Event Log, but I suspect that remounting your mounts as system mounts will do the trick. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing." -- Dr. Jubal Harshaw -- 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/