Apache2 Service won't start on machine running Windows XP Pro SP2 - 500 POINTS!!

Posted on 2006-05-09
Last Modified: 2011-08-18
I have an Apache web server running on a Windows XP Pro SP2 machine.  I did not install the web server and am not familar with it to solve this problem.  It had been running fine and due to contractor turnover I was asked to change the Admin password on the machine.  I changed the password and did not realize it would affect the Apache web server.  I was asked to look into why the application that was running on the web server was no longer accessible.  When I log in to the PC via Remote Desktop Connection, I checked and found that the service wasn't started.  When I tried to start it I received an error.  I checked the System Log file and found that it could not login using Admin (password had been changed).  I selected properties from the Services Console and chose Edit for the Apache2 service.  I changed the password to the new password and tried to start the service again.  This time I get the following error:

Windows could not start the Apache2 on Local Computer.  For more information, review the System Event Log.  If this is a non-Micorsoft service, contact the service vendor, and refer to service-specific error code 1.

The System Event Log has the following concerning the APache2 Service:

Info - The Apache2 service was successfully sent a start control.

Info - The Apache2 service entered the stopped state.

Error - The Apache2 service terminated with service-specific error 1 (0x1).

Other info you should know is that another web server, WebCrossing, was installed on this machine to support a forum project that another contractor is working on.  I thought maybe that was the problem so I stopped the service and tried to restart the Apache2 service but still got the same error.  Any help would be greatly appreciated!
Question by:dyarosh
    LVL 10

    Accepted Solution

    When Apache process on windows end with "service-specific error 1", that generally just meant that the process exited with an error but the Service Control Manager does not know anything about the error.

    Try stopping the service and running Apache from the command line.  Stop the service in the Service control panel, and in a command window, go to the directory where Apache.exe is installed and run the command:

    If it is experiencing errors during startup, you will probably see messages output to the console window.  If you see no messages after a few minutes, try visiting a page from a browser to see if the server is running.  Either way, you can terminate it with ctrl-C.

    Another place to look for specific information about errors for Apache will be found in the logs subdirectory, by default: <APACHE_ROOT>/logs/error.log  Look in error.log for a reason why the service is failing to start.

    Author Comment

    Thanks for the info.  I accepted this question because you gave me what I needed to find out what the error is.  I'm going to post another question with the error to see if I can get this resolved.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
    If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    732 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now