apache2 does not start in cygwin

apache2 does not start in cygwin

am 26.07.2005 10:01:45 von Arunkumar Sundaram

Hi All,

I downloaded apache 2.0.54 built on jun 22 2005 for cygwin and
installed it in my windows xp machine. When I start apache2 using
"/usr/sbin/apachectl2 start" command I get the following error

/usr/sbin/apachectl2: line 78: 2340 Bad system call $HTTPD -k $ARG=
V

When I use "/usr/bin/httpd2 -k start" I get the following error

Bad system call

There is no entry whatsoever in the error_log file

Please help

Thanks for your time
Arun

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: apache2 does not start in cygwin

am 21.09.2005 02:10:23 von Ethan Herdrick

> I downloaded apache 2.0.54 built on jun 22 2005 for
> cygwin and installed it in my windows xp machine.
When
> I start apache2 using "/usr/sbin/apachectl2 start"
> command I get the following error
>
> /usr/sbin/apachectl2: line 78: 2340 Bad system call
$HTTPD -k $ARGV
>
> When I use "/usr/bin/httpd2 -k start" I get the
following error
>
> Bad system call


I had the very same problem. This means that you
don't have cygserver installed. Apache2 requires
cygserver. See this thread on the Cygwin mailing
list:
http://www.cygwin.com/ml/cygwin-apps/2005-02/msg00085.html

There are a few steps to installing cygserver. First
of all, try typing in:
cygserver-config

If you get something like "command not found" then you
need to run Cygwin setup, go to Admin and find
cygserver. Install it.

Then go here:
http://www.cygwin.com/cygwin-ug-net/using-cygserver.html
and follow the directions which start at "How to
start Cygserver". They claim that installing
cygserver as an NT service is optional, but that
wasn't my experience. Be sure to make sure you have a
Windows environment variable called "CYGWIN" and that
it contains the word "server".

Then you just run:
cygserver-config

When it's finished, start the service :
net start cygserver

Then you should be able to start Apache with:
/usr/sbin/apachectl2 start


Good luck!

-Ethan Herdrick
www.herdrick.com

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org