delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/31/09:49:06

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
Message-ID: <4315B545.50AE935D@dessent.net>
Date: Wed, 31 Aug 2005 06:48:53 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Help me to get xinetd/inetd working.
References: <431471D8 DOT 30106 AT ti DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0508301055200 DOT 27062 AT slinky DOT cs DOT nyu DOT edu> <431479FA DOT 4040306 AT ti DOT com> <4314F259 DOT 1040009 AT ti DOT com> <4315A8AB DOT 6030704 AT ti DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Ramasubramanian Ramesh wrote:

> Thank you for raising the important point of services. I am not much of
> an expert in windows and thus did not even know about "services" package
> or its need. I also do not know much about SYSTEM/ntsec and how win xp
> works. Thus I expected setup.exe to  install services or anything else
> needed by deafult when I choose inetd/xinetd. Thus I did not know that I
> need to run the daemons any different.

Setup does not install services because they can often contain
configuration decisions that the user needs to make.  Most packages that
are meant to be run as a service come with some kind of install script
that you can run to take care of the details.  In the case of xinetd
though, its config script (/usr/bin/xinetd-config) does not install a
service.  I'm not sure why that is the case, but it seems that the
packager expects you to run it from the sysvinit manager instead.

Regardless, it's simple to install with cygrunsrv which is the Cygwin
tool for dealing with services.

cygrunsrv --install xinetd --path /usr/sbin/xinetd --disp "Cygwin xinetd
daemon"
cygrunsrv --start xinetd

Note that if you've previously run xinetd as a normal user, the
permissions on the logfile (default /var/log/servicelog) will be
incorrect and the service won't start.  If this is the case you'll need
to either delete the file or set the permissions correctly.

> My fault in not reading /usr/share/doc/Cygwin/login.README is due to the
> way I looked for docs. In Linux the docs are placed under
> /usr/share/doc/<command_name>. Thus I looked for /usr/share/doc/login...
> I should have done a find. I will be more careful next time.

In the Cygwin packaging scheme, /usr/share/doc/Cygwin/*package* contains
Cygwin-specific package information, and /usr/share/doc/*package*
contains the upstream documentation for the package.  Some older
packages still use /usr/doc instead of /usr/share/doc, so there can be a
number of places to look.  A shortcut is just to run "cygcheck -l
package" which will show you all of the files associcated with the
package.

Brian

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