init.d

Igor Pechtchanski pechtcha@cs.nyu.edu
Tue Mar 11 17:32:00 GMT 2003


Oh, good, so I guessed correctly -- you *are* using Win2k.  It's usually a
good idea to include this information (as well as the output of "cygcheck
-svr" as an attachment) in your original query (as per
<http://cygwin.com/bugs.html>).

You have tried "cygrunsrv -S webmin", right?  What is the *exact* error
you get from that (if any)?

If (and *only* if) the above didn't work, I have a *guess* as to what
could be wrong.  IIRC, cygrunsrv expects the program it's starting to fork
itself and exit with an appropriate return code within a certain time
window.  Otherwise it times out and says "the service could not be started
proprely".  sshd and httpd (and some others as well) have an option to
fork and exit -- see if webmin has one as well.
	Igor

On Tue, 11 Mar 2003, Guillaume Devoyon wrote:

> thank you..
> i'll have a look because i've done cygrunsrv -I webmin -p /etc/webmin/start
> and my w2000 won't run this service..
> i'll have a look further..
>
> Guillaume
>
> -----Message d'origine-----
> De : cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]De la part
> de Igor Pechtchanski
> Envoye : mardi 11 mars 2003 16:29
> A : Guillaume Devoyon
> Cc : cygwin@cygwin.com
> Objet : Re: init.d
>
> On Tue, 11 Mar 2003, Guillaume Devoyon wrote:
>
> > hello world .
> >
> > does anyone could tell me where i can find info in order to start
> > automatically my webmin under cygwin@the boot of the computer ??
> >
> > Guillaume Devoyon
>
> "cygrunsrv --help".  Also search this mailing list for gotchas and
> problems/solutions.
>         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/



More information about the Cygwin mailing list