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: Thu, 17 Apr 2003 14:00:39 +0200 Lines: 191 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 > Hmm, the messages simply say that the service was started and ended. not to me... i dont want it to stop i want it to stay UP > probably be found in /var/log/httpd.log or something... it says only this: [Thu Apr 17 12:42:02 2003] [alert] httpd: Could not determine the server's fully qualified domain name, using 192.168.1.3 for ServerName > Did you configure apache properly? i didnt configure it i just ran it straight from the installed package... > my Polish is pretty rusty mine isnt... im just learning... [; living here and all in poland... [; other problems i notice are that when i DO start it up normally its just a blank page and i dont know why either... it didnt used to be like that... Uzytkownik "Igor Pechtchanski" napisal w wiadomosci news:Pine DOT GSO DOT 4 DOT 44 DOT 0304152359515 DOT 22724-100000 AT slinky DOT cs DOT nyu DOT edu... > Hmm, the messages simply say that the service was started and ended. > Looks fine to me... > The Polish phrases say "Can't find the description for event id 0 for > service httpd. The local computer might not have the registry information > or the DLL necessary to connect to the remote computer. You could try > using the /AUXSOURCE flag: more information is available in the Help or > by calling tech support. The event contains the following data: httpd : > PID 2144 : `httpd' service started." (or something of that sort, my Polish > is pretty rusty). You can search the list for "event log" to find out why > it says that - it's been discussed before. The main part is "`httpd' > service started" (or "stopped", as the case may be). More details will > probably be found in /var/log/httpd.log or something... > Did you configure apache properly? > Igor > > On Tue, 15 Apr 2003, Cant wrote: > > > 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 zrdle ( > > httpd ). Byc moze komputer lokalny nie ma wymaganych informacji rejestru lub > > plikw DLL potrzebnych do wyswietlania komunikatw 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 zrdle ( > > httpd ). Byc moze komputer lokalny nie ma wymaganych informacji rejestru lub > > plikw DLL potrzebnych do wyswietlania komunikatw 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/ > > > > -- > 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/