delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/29/17:13:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 17:13:09 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Marcin Lewandowski <lewandom AT op DOT pl>
cc: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv xinetd problem
In-Reply-To: <004101c48e09$eab88e70$3601010a@plas>
Message-ID: <Pine.GSO.4.61.0408291707520.17405@slinky.cs.nyu.edu>
References: <001501c48db4$059224f0$3601010a AT plas> <Pine DOT GSO DOT 4 DOT 61 DOT 0408290934290 DOT 14676 AT slinky DOT cs DOT nyu DOT edu> <002801c48dd2$8a76b320$3601010a AT plas> <Pine DOT GSO DOT 4 DOT 61 DOT 0408291227350 DOT 14676 AT slinky DOT cs DOT nyu DOT edu> <004101c48e09$eab88e70$3601010a AT plas>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Sun, 29 Aug 2004, Marcin Lewandowski wrote:

> > Which is the actual message from xinetd, and is *very* helpful.  This
> > basically says that the service manager couldn't execute the xinetd
> > program when running as SYSTEM.  Check the permissions on both
> > /usr/sbin/xinetd and /bin/cygwin1.dll (and whatever other DLLs the xinetd
> > program depends on -- see the output of "cygcheck /usr/sbin/xinetd.exe").
> > Make sure all of them are executable by SYSTEM.
>
> Well, still doesn't work. That's what I did:
> First, I checked normal windows permissions - SYSTEM has all rights
> to c:\cygwin dir and subdirs, inherited from permissions to whole drive.
> Next, I checked 'linux' permissions displayed by 'ls -al', and changed
> them to 755, since user 'Marcin' owns both files.

Did you also check the permissions on all the programs that xinetd tries
to invoke (e.g., /usr/sbin/ftpd.exe, if you enabled ftp)?

> However, I still get the same message when I try to run the service.

Make sure you've deleted the log files before attempting to start the
service (see <http://cygwin.com/ml/cygwin/2004-08/msg01222.html>).

> The printout from cygcheck /usr/sbin/xinetd.exe shows only these two
> files listed + some files in System32 dir.

Try opening a SYSTEM-owned shell (see the recent thread,
<http://cygwin.com/ml/cygwin/2004-08/msg01132.html>), and run xinetd
directly from the command line in that shell.  If it runs there, compare
the environment settings for the service with the environment settings in
that shell.  If it doesn't run there, the errors you get should be helpful
in diagnosing the problem and experimenting.
	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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019