Solved

Installing Apache 2.0.35 on Windows 2000 Pro

Posted on 2002-04-10
5
231 Views
Last Modified: 2010-03-04
I just installed Apache 2.0.35 release on my Windows 2000 Pro PC but am unable to Start an Apache service via the Windows Start menu.

I would like to use the PC as the server for testing JSP programs etc, so I need the correct configuration settings.

I have set Servername to 'localhost' and port to 80.

A DOS screen flashes but there is no indication that anything has succeeded or not.

I cannot find it as an 'NT' Service.

How can I get this thing to work?

0
Comment
Question by:ozphil
  • 4
5 Comments
 
LVL 15

Expert Comment

by:samri
ID: 6931561
Take a look at this page.  Maybe you MSI installer is the problem.  Scroll to the bottom of the Page!

http://www.apache.org/dist/httpd/binaries/win32/
0
 
LVL 15

Expert Comment

by:samri
ID: 6931580
Take a look at this page.  Maybe you MSI installer is the problem.  Scroll to the bottom of the Page!

http://www.apache.org/dist/httpd/binaries/win32/
0
 
LVL 15

Accepted Solution

by:
samri earned 100 total points
ID: 6931604
Which package do you pick, with SSL or no-ssl.

I tried to simulate one.

There is a few pop-ups during install, but after a few minutes, you should see a small "Red Feather" icon with a green arrow in a circle - Apache is running, on the status bar.  Left-click (dependig on how you mouse button is configure) on this icon, you can control the service.

If you are not seeing this, something must have gone wrong during installation.

Have you tried to redo the installation.  Btw, Apache 2.x will refuse to install if there is already an Instance of Apache 1.x (or maybe any version) installed on the machine.  Kinda stupid.


In the Service window, it should be displayed as Apache, (mine had 2), and Apache2.

Do you have any other software listening to port 80.  Any web accelerator software, InterQuick, WinGate, or any other that might have taken port 80 (TCP).  If this is the case, you need to either, change that software to use other port, or, get your apache to listen to a different port

Look for this section.  Mine has "somebody" stuck at 80/TCP, so I'll let Apache use 8000 -- all are working fine, without reboot.

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 8000

Have you tried opening http://127.0.0.1:80/   replace 80 with the port number your apache is configured to use.
Or,
You could go to: c:\Program Files\Apache Group\Apache2\bin and try to run Apache.exe from the CMD line.  And use your browser to browse to http://127.0.0.1/ in case the first test failed.


Give it a shot.  Try freshboot, and reinstall.  Better still try to download a different copy, and test.
0
 
LVL 4

Author Comment

by:ozphil
ID: 6932555
Hi samri


I disabled (stopped) IIS Admin Service then reinstalled Apache and it works!

I had disabled IIS on the first installation of Apache but I disabled it AFTER 'installing' Apache.

There was no previous Apache version installed.

Thanks for you help.

I'm be installing Tomcat later. Hope there is no major drama there otherwise i'll be back here.
0
 
LVL 15

Expert Comment

by:samri
ID: 6932822
That's cool.

just to share the thought.

I had another weird problem.  Right after posting the solution, I change the port in httpd.conf, restart, and Apache kept crashing.  Run from cmd line, works.

-- i bet this will be the drama for me :)

cheeers.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Apache SSL and mod_rewrite not working 8 222
Problem to go to page 12 110
Apache timeout remote connection if not port 80 10 96
Let's Encrypt - Auto Renew Failure via Cron Job 1 19
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question