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 22:52:38 +0200 Lines: 120 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 well thanks for the tip but here is what it says: 2003-4-15 22:35:43 Nie mozna znalezc opisu dla identyfikatora zdarzenia ( 0 ) w zródle ( httpd ). Byc moze komputer lokalny nie ma wymaganych informacji rejestru lub plików DLL potrzebnych do wyswietlania komunikatów z komputera zdalnego. Mozesz uzyc flagi /AUXSOURCE= do pobrania tego opisu; wiecej informacji mozna znalezc w Pomocy i obsludze technicznej. Nastepujace informacje sa czescia zdarzenia: httpd : PID 2144 : `httpd' service started. 2003-4-15 22:35:44 Nie mozna znalezc opisu dla identyfikatora zdarzenia ( 0 ) w zródle ( httpd ). Byc moze komputer lokalny nie ma wymaganych informacji rejestru lub plików DLL potrzebnych do wyswietlania komunikatów z komputera zdalnego. Mozesz uzyc flagi /AUXSOURCE= do pobrania tego opisu; wiecej informacji mozna znalezc w Pomocy i obsludze technicznej. Nastepujace informacje sa czescia zdarzenia: httpd : PID 2144 : `httpd' service stopped. now why does it say this... (if that part in the polish is needed-which i dont think it is, you can see what it means by the end all is obvious, i mean i cant understand the polish either-i can translate it, hopefully) and plus this ~/blah $ wget http://me.at.my.house.pl/ --22:29:53-- http://me.at.my.house.pl/ => `index.html' Resolving me.at.my.house.com... done. Connecting to me.at.my.house.pl[482.69.13.420]:80... connected. HTTP request sent, awaiting response... 404 Not Found 22:36:55 ERROR 404: Not Found. ~/blah $ (This is from a remote host somewhere not.at.my.house.pl) $ cygrunsrv -S httpd $ wget http://me.at.my.house.pl/ --22:43:01-- http://me.at.my.house.pl/ => `index.html' Resolving me.at.my.house.pl... done. Connecting to me.at.my.house.pl[482.69.13.420]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 43 [text/html] 100%[====================================>] 43 41.99K/s ETA 00:00 22:43:01 (41.99 KB/s) - `index.html' saved [43/43] $ cat index.html
$ (and this is from the msdos window with cygwin in it somewhere really.at.my.house.pl) Uzytkownik "Igor Pechtchanski" napisal w wiadomosci news:Pine DOT GSO DOT 4 DOT 44 DOT 0304151007150 DOT 26381-100000 AT slinky DOT cs DOT nyu DOT edu... > Cant, > > Do you Google[*]? > > , second match. > Igor > > [*] To Jason Tishler: it's amazing how old slogans drift into new > meanings... Just a year ago, this was a marketing gimmick of Yahoo! :-D > > On Tue, 15 Apr 2003, Cant wrote: > > > 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 Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/