Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <1DB8BA4BAC88D3118B2300508B5A552CD9257D@mail.fitlinxx.com> From: David Bolen To: Cygwin Mailing List Subject: RE: inetd doesn't work until stopped and restarted Date: Tue, 6 Jun 2000 20:41:31 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Charles Wilson [cwilson AT ece DOT gatech DOT edu] writes: > This probably has to do with the order in which Windows System services > are started. e.g. if inetd depends on, say, 'windows socket services'(*) > then if inetd is started at bootup *before* WSS, it'll fail. However, > once the machine is running, then you can restart inetd and it'll work > because WSS is up. > > I seem to remember some article in the Microsoft Knowledge Base about > this, and how to resolve it -- but no specifics. Hunt around at > support.microsoft.com. > > (*) 'WSS' is an imaginary service I made up. But you get the idea. A good dependency might be the TDI (transport driver interface) group, which should ensure it starts up once all the base networking support is operational. This is the same group that MS's workstation and server services depend on. If you have the MS SDK, there's a convenient utility, 'sc', there that can be used: sc config inetd dependencies= +tdi (The + means group) I don't know if sc can be downloaded directly from the MS site or not. Or, if you don't mind plugging away at registry entries, the dependencies can be found at: Key: HKLM\System\CurrentControlSet\Services\inetd Value: DependOnGroup (REG_MULTI_SZ) Data: TDI The value probably won't be present if there aren't any dependencies, so just create the value. You should be able to use regtool with: regtool -m set 'HKLM\System\CurrentControlSet\Services\inetd\DependOnGroup' TDI -- David /-----------------------------------------------------------------------\ \ David Bolen \ E-mail: db3l AT fitlinxx DOT com / | FitLinxx, Inc. \ Phone: (203) 708-5192 | / 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \ \-----------------------------------------------------------------------/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com