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: cannot run apache afer reinstall
Author
j_a



Joined: 20 Jan 2010
Posts: 2

PostPosted: Wed 20 Jan '10 11:08    Post subject: cannot run apache afer reinstall Reply with quote

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

PostPosted: Wed 20 Jan '10 14:24    Post subject: Reply with quote

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

PostPosted: Wed 20 Jan '10 15:58    Post subject: It worked. Thanks!!! Reply with quote

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


Reply to topic   Topic: cannot run apache afer reinstall View previous topic :: View next topic
Post new topic   Forum Index -> Apache