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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 21 Jan 2004 17:47:25 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Edward W. Rouse" cc: cygwin AT cygwin DOT com Subject: RE: simple newbie init question In-Reply-To: <000101c3e067$02d7db60$353d520a@EROUSE> Message-ID: References: <000101c3e067$02d7db60$353d520a AT EROUSE> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII You should already have /etc/services. Just add the "cvspserver" line. Igor On Wed, 21 Jan 2004, Edward W. Rouse wrote: > This is the result of 'inetd -d', edited for brevity. > > ADD : talk proto=udp, wait=1, user=root builtin=0 > server=/usr/sbin/in.talkd > registered /usr/sbin/in.talkd on 19 > ADD : ntalk proto=udp, wait=1, user=root builtin=0 > server=/usr/sbin/in.talkd > registered /usr/sbin/in.talkd on 20 > ADD : cvspserver proto=tcp, wait=0, user=root builtin=0 > server=/usr/bin/cvs > FREE: cvspserver proto=tcp, wait=0, user=root builtin=0 > server=/usr/bin/cvs > > For some reason it immediately frees the cvspserver after adding it. I > also find the register lines disconcerting. I know that on a normal > Linux system, inetd has port info in /etc/services, which is missing > from the cygwin install. I was assuming that it was getting that info > from somewhere else. I guess I shouldn't assume. Do I need to add > /etc/services? > Ed. > > > > -----Original Message----- > > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On > Behalf > > Of Christopher Faylor > > Sent: Wednesday, January 21, 2004 4:30 PM > > To: cygwin AT cygwin DOT com > > Subject: Re: simple newbie init question > > > > On Wed, Jan 21, 2004 at 04:25:29PM -0500, Edward W. Rouse wrote: > > >Ok. I got inetd running, thanks Larry, and netstat -a shows all of the > > >services that inetd.conf started with are running. But the line I added > > >to start pserver is not starting the service. I used the line provided > > >in my CVS pocket reference (shown with another line which works): > > > > > >telnet stream tcp nowait root /usr/sbin/in.telnetd in.telnetd > > >cvspserver stream tcp nowait root /usr/bin/cvs --allow-root=/data/cvs pserver > > > > > >I am looking thru the docs and FAQs at cvshome.org, but if someone has a > > >quick answer for this, it would be appreciated. > > > > Run inetd in debugging mode via 'inetd -d'. It should tell you what's > > going wrong. -- 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! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/