From: "Brian Wilson" <wilson@ds.net>
To: Andrey Repin <cygwin@cygwin.com>
Subject: Re: Cygwin 1.7.9 Apache2 startup question & issue.
Date: Mon, 15 Aug 2011 13:18:00 -0000 [thread overview]
Message-ID: <20110815124547.M74386@ds.net> (raw)
In-Reply-To: <375880044.20110815105150@mtu-net.ru>
Hello Andrey:
> > I'm having a bit of trouble with starting the Cygwin Apache2 package on my Windows XP (SP3) system.
>
> Why don't you use native Windows Apache HTTPD server?
Because I'd like to use a more *nix like environment than Windows.
> > ...Why does the apachectl2 help message display the usage for httpd2;
>
> Because the syntax is exactly the same.
Yet they aren't the same command (the httpd and apachectl2 commands have different file sizes) so the help message displayed isn't
for correct command. Perhaps some of these options don't work, or don't work the way they are defined or explained. Perhaps
there are other options that aren't included in this help message. I can't trust the information provided as it isn't for the
correct command.
> > and why is there no definition for the -k option?
>
> There is:
> > [-k start|restart|graceful|graceful-stop|stop]
>
> There's no explanation, however, but honestly. it's all pretty self-explanatory.
The information provided is a usage statement (for the wrong command), not a definition or explanation. What exactly is the
difference between saying "apachectl2 start" (which works well) and "apachectl2 -k start"? Exactly what does -k do?
What I really need is some help with the cygrunsrv command to start the apache2 running as a service. If anyone knows what is
wrong with the command I've used, or why the service dies without starting any httpd2 daemons, your help would be greatly
appreciated. Do I need to add '-e "CYGWIN=service"' (which is set as a System Variable already)? I'm trying to document the
process of getting Apache2 up and running correctly so I can contribute something back to this community, but this one has got me
stumped (so far).
$ cygrunsrv -I "CYGWIN apache2" --path /usr/sbin/apachectl2 --args "-D NO_DETACH -k start" --dep cygserver --user
nobody --shutdown
> Sorry for my terrible english...
Actually your English is better than my Russian.
На самом деле ваш английский лучше чем мой русский язык.
До свидания пока.
Sincerely,
Brian S. Wilson
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2011-08-15 13:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-14 22:24 Brian Wilson
2011-08-15 7:05 ` Andrey Repin
2011-08-15 13:18 ` Brian Wilson [this message]
2011-08-15 14:47 ` Christopher Faylor
2011-10-31 12:00 ` Brian Wilson
2011-11-02 14:31 ` Corinna Vinschen
2011-08-14 22:26 Brian Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110815124547.M74386@ds.net \
--to=wilson@ds.net \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).