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: Error when attempting to start inetd


Michael Grand wrote:

> It appears as though "inetd --install-as-service" is either bugged or I
> somehow used it incorrectly (although I can't see how that would have
> happened, it's pretty straight forward).  I reinstalled inetutils and
> instead of running "inetd --install-as-service" I ran this command:
> 'cygrunsrv -I inetd -p /usr/sbin/inetd -d "CYGWIN inetd"' and I can now
> start the inetd service.  However, inetd now stops automatically after 7
> seconds.

You are missing (at least) one parameter:

cygrunsrv -I inetd -p /usr/sbin/inetd --args "-D" -d "CYGWIN inetd"

If you don't tell inetd to run in the foreground it will run as a daemon, which
is not what cygrunsrv expects (unless you also use -x).
-- 
René Berber


--
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/


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