This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin 1.7.9 Apache2 startup question & issue.
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 2 Nov 2011 15:31:14 +0100
- Subject: Re: Cygwin 1.7.9 Apache2 startup question & issue.
- References: <20110814221231.M84701@ds.net> <email@example.com> <20110815124547.M74386@ds.net> <20110815144714.GA30555@trixie.casa.cgf.cx> <20111031115445.M8694@ds.net>
- Reply-to: cygwin at cygwin dot com
On Oct 31 07:00, Brian Wilson wrote:
> I would like to create a bug report on the cygrunsrv command. I've tried
> everything I can think of, and written to others who have web sites about using
> Cygwin and Apache, and no one was able to get Apache to run under another,
> secure, account from the administrative account with a command like the
> $ cygrunsrv -I "CYGWIN apache2" --path "/usr/sbin/httpd2" --args "-DNO_DETACH -k
> install" --dep cygserver --user nobody --passwd "password" --shutdown --type
> "auto" --env "CYGWIN=server" --desc "Cygwin Apache2 service for the HTTPD2
> If I'm doing something wrong, please let me know what it is [...]
Apart from the fact that "CYGWIN=server" is an obsolete option (see
you don't provide any details whatsoever except for "it doesn't work".
*What* doesn't work? Does the above cygrunsrv -I fail? Or does
cygrunsrv not start httpd2? Or does cygrunsrv start httpd2 but httpd2
refuses to run?
Did you inspect the event log or the file "/var/log/CYGWIN apache2.log"(*)?
Is cygserver actually running, provided it's really required by httpd2?
Does nobody have enough privileges like "Allow to logon as service"?
Did you set the apache configuration so that it doesn't try to call
setuid? Are the file permission correct? Etc.
(*) Btw., it would be preferrable to use a more simple service name like
"apache2" or "httpd2", otherwise you have spaces in the service
name. Note that sshd is installed with -I sshd -d "CYGWIN sshd",
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple