Error when attempting to start inetd
René Berber
r.berber@computer.org
Wed Aug 15 01:39:00 GMT 2007
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/
More information about the Cygwin
mailing list