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 Reply-To: From: "Hua Wang" To: , Subject: RE: can user add his own service in cygwin inetd? Date: Tue, 10 Dec 2002 17:11:01 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <114780-2200212210223354486@M2W062.mail2web.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 See if I can make my question clear -- if cygwin inetd can launch a perl (as a daemon) program? I can launch a .exe program without problem. If I move my perl program to a linux machine, it runs fine. I suspect that cygwin inetd just like exceed inetd -- couldn't launch a perl program, but I want someone to verify. Also I couldn't find any error message in Event viewer when it failed. Do you have any idea where I can find a log file? Sorry to bother you again, but I didn't get any other response. Thanks millions Hua > -----Original Message----- > From: lhall AT pop DOT ma DOT ultranet DOT com [mailto:lhall AT pop DOT ma DOT ultranet DOT com] > Sent: Tuesday, December 10, 2002 3:34 PM > To: hua AT compasdb DOT dr DOT avaya DOT com; lhall AT rfk DOT com; cygwin AT cygwin DOT com > Subject: RE: can user add his own service in cygwin inetd? > > > Well, I'm assuming the program you're trying to launch is created > to run as a service/daemon. If it's not, that would be a big part > of the problem. If it is, beyond the obvious task of making > sure that the environment is correct for the program in question, > I can't offer any insights to your problem. Sorry. You may be > stuck with a debugging task. > > Larry > > Original Message: > ----------------- > From: Hua Wang hua AT compasdb DOT dr DOT avaya DOT com > Date: Tue, 10 Dec 2002 15:08:11 -0700 > To: lhall AT rfk DOT com, cygwin AT cygwin DOT com > Subject: RE: can user add his own service in cygwin inetd? > > > Larry, > Thanks for your help. After I add new service in etc/services and > inetd.conf, inetd seems trying to launch the service I just > added. But it > got "Connection closed by foreign host" msg immediately. > What I tried to do is launch a perl program. Exceed couldn't > do it, that is > why I am seeking something to replace exceed inetd which could > launch a perl > program on windows. Do you know if cygwin inetd can launch a > perl program? > Thanks again for your help. > Hua > > > -----Original Message----- > > From: lhall AT pop DOT ma DOT ultranet DOT com [mailto:lhall AT pop DOT ma DOT ultranet DOT com] > > Sent: Tuesday, December 10, 2002 1:50 PM > > To: hua AT compasdb DOT dr DOT avaya DOT com; cygwin AT cygwin DOT com > > Subject: RE: can user add his own service in cygwin inetd? > > > > > > I'd recommend looking at the documentation for inetd (i.e. > > 'man inetd'). > > It's also woth reviewing /usr/doc/Cygwin/inetutils-1.3.2.README. > > This should give you the information you need. > > > > Larry > > > > > > Original Message: > > ----------------- > > From: Hua Wang hua AT compasdb DOT dr DOT avaya DOT com > > Date: Tue, 10 Dec 2002 13:41:27 -0700 > > To: cygwin AT cygwin DOT com > > Subject: can user add his own service in cygwin inetd? > > > > > > Does any one know if one can add own service in cygwin inetd > > like exceed > > does? if it does, how to do it? > > > > Any help are great appreciated. > > > > Hua > > > > > > -- > > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > Bug reporting: http://cygwin.com/bugs.html > > Documentation: http://cygwin.com/docs.html > > FAQ: http://cygwin.com/faq/ > > > > > > > -------------------------------------------------------------------- > > mail2web - Check your email from the web at > > http://mail2web.com/ . > > > > > -------------------------------------------------------------------- > mail2web - Check your email from the web at > http://mail2web.com/ . > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/