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: init.d


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 at cygwin dot com [mailto:cygwin-owner at cygwin dot com]De la part
> de Igor Pechtchanski
> Envoye : mardi 11 mars 2003 16:29
> A : Guillaume Devoyon
> Cc : cygwin at cygwin dot 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 at 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 at cs dot nyu dot edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson dot ibm dot 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]