Re: [users@httpd] apache2 does not start in cygwin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux