This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Errors in Exim, rebaseall, inetd.
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: cygwin at cygwin dot com
- Date: Fri, 17 Dec 2010 09:22:23 -0500
- Subject: Re: Errors in Exim, rebaseall, inetd.
- References: <1292583706.6437.ezmlm@cygwin.com> <4D0B4DA5.8060800@rosshemail.com>
On 12/17/2010 6:46 AM, Ross Hemingway wrote:
> 4/ inetd.exe: This is not an error, but a big inconvenience. When
> this inetd is installed as a service (cygrunsrv -I), and then started as
> a service (net start inetd), it does not keep a Services.msc presence.
> Hence you cannot stop it (net stop inetd). The only way to stop it is
> with a force kill process on the inetd.exe.
Do you add "-D" to the arguments passed on to inetd by cygrunsrv? E.g.
cygrunsrv -I inetd -d "CYGWIN inetd" -p /usr/sbin/inetd -a "-D" ...
^^^^^^^
Without -D, inetd will "daemonize" which means fork a new copy of
itself, and the old copy exits. Since cygrunsrv only knows about the old
copy...it exits too.
This is why the "iu-config" script is provided...to install inetd
"correctly" by taking care of these details.
--
Chuck
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple