This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Errors in Exim, rebaseall, inetd.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]