logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Failed 2 install Apache 2 on Win2K
Author
knifebright



Joined: 19 May 2006
Posts: 1

PostPosted: Fri 19 May '06 15:30    Post subject: Failed 2 install Apache 2 on Win2K Reply with quote

Hello all,

Well, this one is new to me. Trying to install Apache 2 Webserver on a Win2K Server family computer, it returned these 2 error messages on the order below:

"Syntax error on line 56 of c:/program files/apache group/apache2/conf/httpd.conf: ServerRoot must be a valid directory"

"[error] (OS 2) The system cannot find the file specified. : No installed service named "Apache2"."

IIS is not running on that machine. Wink

Note that this happened just after the installation. No changes were made to the configuration files.

Other question, how can I install the Apache service if if fails to do so on the installation?

Thank you all.

Regards,
Knifebright
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Fri 19 May '06 17:37    Post subject: Reply with quote

Assuming you try to run Apache 2.2.2

To install Apache as service:

In a does box type "httpd.exe -k install


Steffen
Back to top
pnllan



Joined: 05 Dec 2005
Posts: 221

PostPosted: Fri 19 May '06 19:34    Post subject: Reply with quote

Looks like you used the ASF MSI file to install Apache 2.

What version did you install?

In the CONF file, what is the ServerRoot directive?

To install as a Service, open a Command Prompt and navigate to where Apache was installed. Then do as Steffen stated:

httpd -k install

This will install Apache 2 as a service (which will show up in your Service.MSC).

Idea Also, IF YOU ARE GOING TO BE RUNNING APACHE - you might as well read the manual - with regards to installation and configuration. It will save you a lot of HEADACHES.

Idea ASF offers the documentation in the CHM format (encapsulated help file). Check the link (on ASF) to OTHER FILES, then to DOCS. Then find the CHM file with correct language.
..
.
Back to top


Reply to topic   Topic: Failed 2 install Apache 2 on Win2K View previous topic :: View next topic
Post new topic   Forum Index -> Apache