This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: starting apache as a service
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Cant <cant_reed at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 16 Apr 2003 00:06:00 -0400 (EDT)
- Subject: Re: starting apache as a service
- Reply-to: cygwin at cygwin dot com
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
> <html><body><table>
> </table></body></html>
>
> $
>
> (and this is from the msdos window with cygwin in it somewhere
> really.at.my.house.pl)
>
> Uzytkownik "Igor Pechtchanski" <pechtcha at cs dot nyu dot edu> napisal w wiadomosci
> news:Pine dot GSO dot 4 dot 44 dot 0304151007150 dot 26381-100000 at slinky dot cs dot nyu dot edu dot dot dot
> > Cant,
> >
> > Do you Google[*]?
> >
> > <http://www.google.com/search?q=windows+event+log>, 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" <pechtcha at cs dot nyu dot edu> napisal w
> wiadomosci
> > > news:Pine dot GSO dot 4 dot 44 dot 0304141528050 dot 26381-100000 at slinky dot cs dot nyu dot edu dot dot dot
> > > > 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/