public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Problems with Cygwin Inetd.exe
@ 2001-03-12 10:03 Bob Heckel
  2001-03-13  0:02 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Heckel @ 2001-03-12 10:03 UTC (permalink / raw)
  To: cygwin; +Cc: wkassebaum

I think I have the answer to Will's question regarding
inetd's inability to start as a Service.

Here was the similar message that I was receiving:
  "Could not start the CYGWIN inetd service on Local
  Computer.  Error 1053: The service did not respond to the
  start or control request in a timely fashion." ...

Here's what I found to be the solution:
  Make sure /usr/sbin (i.e. c:\cygwin\usr\sbin) is on
  Administrator's path.


The inetd documentation in
/usr/doc/Cygwin/inetutils-1.3.2.README is excellent but I'm
not sure it is clear enough about the path requirements.

Corinna, would it be worth changing line 112 to something
like this?:

  - The Win32 Administrator's environment variable PATH 
    must contain the path to the directory which contains 
    the cygwin1.dll as well as the inetd.exe executable 
    (inetd.exe is usually installed to c:\cygwin\usr\sbin).

Please correct me if I've misunderstood anything; please
disregard if this issue has already been resolved.


Bob Heckel
bheckel@excite.com


On 2000-07-27 16:40:28, William R. Kassebaum wrote:
> 
> ...snip...
> 
> I then installed the inetd.exe as a service from
> a cygwin bash prompt:
> $ /usr/sbin/inetd.exe --install-as-service
> 
> and then started it manually:
> $ net start inetd
> 
> It immediately produces an application error dialog:
> " The application failed to initialize properly 
> (0xc0000022).  Click OK to terminate "
> 
> The event viewer says:
> "The CYGWIN inetd service failed to start due to the
> following error:
> The service did not respond to the start of control 
> request in a timely fashion."
> 
> ...snip...





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problems with Cygwin Inetd.exe
  2001-03-12 10:03 Problems with Cygwin Inetd.exe Bob Heckel
@ 2001-03-13  0:02 ` Corinna Vinschen
  0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2001-03-13  0:02 UTC (permalink / raw)
  To: cygwin

On Mon, Mar 12, 2001 at 10:02:32AM -0800, Bob Heckel wrote:
> Here's what I found to be the solution:
>   Make sure /usr/sbin (i.e. c:\cygwin\usr\sbin) is on
>   Administrator's path.
> [...]
>   - The Win32 Administrator's environment variable PATH 
>     must contain the path to the directory which contains 
>     the cygwin1.dll as well as the inetd.exe executable 
>     (inetd.exe is usually installed to c:\cygwin\usr\sbin).
> 
> Please correct me if I've misunderstood anything; please
> disregard if this issue has already been resolved.

I'm a bit surprised that that should have helped you for
anything. It's not needed to have /usr/sbin in the PATH
since the full path to inetd is registered in the, um,
registry (better, the inetd service entry). I'm using inetd
as well, started from LocalSystem account. There's only
C:\cygwin\bin in my PATH.

Btw, it's not the Administrator's PATH you're talking about
but the system PATH. That's the PATH in the system environment
which all processes share even the services started by the SCM.
They are saved in the registry in the key
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment.
The Administrator has it's own user defined PATH as all users
have.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Problems with Cygwin Inetd.exe
@ 2000-07-27  9:40 William R. Kassebaum
  0 siblings, 0 replies; 3+ messages in thread
From: William R. Kassebaum @ 2000-07-27  9:40 UTC (permalink / raw)
  To: cygwin

Corinna et. al.;

I am currently using the latest cygwin 1.1.2 net release
including the latest 1.3.2-4 release of inetutils. 

I installed the tools as local administrator and gave
administrator the 4 additional rights :
"Act as part of the operating system" 
"Replace process level token" 
"Increase quotas" 
"Logon as a service" 
 
I then installed the inetd.exe as a service from
a cygwin bash prompt:
$ /usr/sbin/inetd.exe --install-as-service

and then started it manually:
$ net start inetd

It immediately produces an application error dialog:
" The application failed to initialize properly (0xc0000022). Click OK to terminate "

The event viewer says:
"The CYGWIN inetd service failed to start due to the following error:
The service did not respond to the start of control request in a timely
fashion."

I have read the instructions very carefully. Have I missed
something obvious??

I am running NT4.0/SP5 on a Dell GX110 800Mhz PIII.

Let me know if I can provide any other debugging help in this
regard.

-Will


-- 
William R. Kassebaum  Software Project Engineer, OpenGlobe
6325 Digital Way Indianapolis, IN 46278
mailto:WKassebaum@Escient.Com ,  http://www.Escient.Com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-03-13  0:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-12 10:03 Problems with Cygwin Inetd.exe Bob Heckel
2001-03-13  0:02 ` Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2000-07-27  9:40 William R. Kassebaum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).