httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ethan Herdrick <>
Subject Re: [users@httpd] apache2 does not start in cygwin
Date Wed, 21 Sep 2005 00:10:23 GMT
> I downloaded apache 2.0.54 built on jun 22 2005 for 
> cygwin and installed it in my windows xp machine.
> 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

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

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

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

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message