• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 17629
  • Last Modified:

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

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!
0
dyarosh
Asked:
dyarosh
1 Solution
 
sleep_furiouslyCommented:
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:
   
   apache

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.
0
 
dyaroshAuthor Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now