Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Cant" Subject: Re: starting apache as a service Date: Tue, 15 Apr 2003 10:30:58 +0200 Lines: 40 Message-ID: References: X-Complaints-To: usenet AT main DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 uhm sure i guess... so i would use $ cygrunsrv -I httpd -p /usr/sbin/httpd -a -k ? i tried it and something was wrong it did the same thing over and over again i even tried without the -a -k, same thing, and what event log? and where would i find it? Uzytkownik "Igor Pechtchanski" napisal w wiadomosci news:Pine DOT GSO DOT 4 DOT 44 DOT 0304141528050 DOT 26381-100000 AT slinky DOT cs DOT nyu DOT edu... > On Mon, 14 Apr 2003, Cant wrote: > > > $ cygrunsrv -I httpd -p /usr/sbin/apachectl -a start > > $ cygrunsrv -S httpd > > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: > > Usuga nie zostaa uruchomiona. > > > > $ > > > > uhm... why is it saying this? > > Does the event log say anything? IIRC, you need to give the -k option to > httpd to avoid detaching from the terminal, but I hope someone will > correct me if I'm wrong. Also, why are you starting apache through > apachectl if you already have cygrunsrv to do it? Wouldn't it make more > sense to start httpd directly? > 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! > > Knowledge is an unending adventure at the edge of uncertainty. > -- Leto II > > -- 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/