Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: cannot run apache afer reinstall |
|
Author |
|
j_a
Joined: 20 Jan 2010 Posts: 2
|
Posted: Wed 20 Jan '10 11:08 Post subject: cannot run apache afer reinstall |
|
|
First of all: I'm new to this stuff.
I installed apache yesterday (using apache_2.2.14-win32-x86-no_ssl.msi) on my window xp computer. I had it running in no time. After that I had the glorious idea of cleaning my register. This morning apache didn't run. I have tried everything, deleting, rebooting, reinstalling, nothing works.
When I reinstall apache using the msi everything seems to go alright until I get a command line comment that says the service is already running. In the browser however when I request http://localhost/ I get the message saying the server can't be connected.
The error log says:
Starting the Apache2.2 service
[Wed Jan 20 16:38:33 2010] [crit] (OS 3)The system cannot find the path specified. : Apache2.2: Failed to start the service process.
I have looked in all the httpd.conf files and they all point to where they should.
I would appreciate your help because I'm quite desperate. I scanned the first ten pages of this forum and didn't find an answer.
So thanks a lot in advance for any suggestions. |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
Posted: Wed 20 Jan '10 14:24 Post subject: |
|
|
The path for the service is not correct installed.
open a command line (cmd.exe) browse to the apache bin folder e.g.
uninstall the service and than install it again. Than there should be the right path.
Also I recommend a syntax check
C:\>cd "c:\Program Files\Apache Group\Apache\bin"
C:\Programme\Apache Group\Apache\bin>httpd -k uninstall
C:\Programme\Apache Group\Apache\bin>httpd -k install
C:\Programme\Apache Group\Apache\bin>httpd -S |
|
Back to top |
|
j_a
Joined: 20 Jan 2010 Posts: 2
|
Posted: Wed 20 Jan '10 15:58 Post subject: It worked. Thanks!!! |
|
|
Your prescription worked. My computer is feeling much better now. And I am very happy (although I feel a bit stupid, it wasn't really a difficult problem, I guess). The -k uninstall bit did the trick.
Thanks very, very, very much! |
|
Back to top |
|
|
|
|
|
|