This is the mail archive of the cygwin@cygwin.com 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: inetd fails to start services


On Mon, 20 Jan 2003, Kirschner, Paul E.        UTRC wrote:

> I cannot get inetd services to start even after following the README. I've
> got win2000, the latest cygwin and inetutils-1.3.2-20 installed.
>
> I added "CYGWIN=binmode tty ntsec" and "d:\cygwin\bin" to the path for the
> system variables.
> Did the "/usr/sbin/inetd --install-as-service" and "net start inetd". (inetd
> uses LocalSystem as the login account.) inetd seems to start OK...
>
> net start inetd
> The CYGWIN inetd service is starting.
> The CYGWIN inetd service was started successfully.
>
> However, "netstat -a" shows no services. In the application event viewer is
> the error message...
>
> "The description for Event ID ( 0 ) in Source ( inetd ) cannot be found. The
> local computer may not have the necessary registry information or message
> DLL files to display messages from a remote computer. The following
> information is part of the event: inetd : Win32 Process Id = 0x2B8 : Cygwin
> Process Id = 0x2B8 : /etc/inetd.conf: No such file or directory."
>
> BUT inetd.conf IS there...
>
> ls -al /etc/in*
> -rwxrwxrwx    1 Administ Administ     1973 Jan 20 10:10 /etc/inetd.conf
>
> I tried different owners to no avail.
>
> I followed these same instructions on two other machines and it worked!
>
> Why can't inetd find inetd.conf?
>
> Any Help? thanks...
>
> Paul Kirschner

Paul,

First off, make sure your /etc is executable by all (this is needed for
SYSTEM to access any file in that directory).
Secondly, did you perhaps install "For yourself only"?  In that case, you
will be missing the mount table for the user SYSTEM, and it won't know
where /etc is.  To fix this, remount "/", "/usr/bin", and "/usr/lib" as
system mounts instead of user mounts.

Had you included the output of "cygcheck -svr", as per
<http://cygwin.com/bugs.html>, this would have been a more informed
opinion, rather than the guesswork that it is.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]