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: starting apache as a service


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
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]