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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 10, 2002 3:34 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] > 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 [EMAIL PROTECTED] > Date: Tue, 10 Dec 2002 15:08:11 -0700 > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, December 10, 2002 1:50 PM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > 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 [EMAIL PROTECTED] > > Date: Tue, 10 Dec 2002 13:41:27 -0700 > > To: [EMAIL PROTECTED] > > 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/