Solved

Apache Service won't start

Posted on 2006-11-23
5
1,174 Views
Last Modified: 2012-06-27
I have just installed apache on my server to run php scripts.  when i installed it, i had a message saying that apache was unable to open the log files.  When i try to start apache as a service, i now get the message "windows could not start the Apache 2.2 on local computer.  For more information, review the system event log.  If this is a non-Microsoft service, contact the service vendor, and refer to server specific error code 1."   The system log says that it was successfully sent a start control, then entered the stop state and terminated with service-specific erro 1(0x1).

I am using Windows 2003 Server and IIS is intalled and running......
0
Comment
Question by:MichelleBrewitt
5 Comments
 
LVL 29

Expert Comment

by:TeRReF
ID: 18002254
Both IIS and Apache want to listen on port 80. Try to disable IIS and start Apache again. See if that helps...
0
 

Author Comment

by:MichelleBrewitt
ID: 18002295
Tried it and still get the same message.....
0
 
LVL 5

Accepted Solution

by:
jalalmegadeth earned 500 total points
ID: 18011824
Hi

You can force Apache to listen on port 8080. but when you try to see your pages you have to specify that port, eg:

http://127.0.0.1:8080

by the way, you can install PHP and mySql on IIS
here's a link :
http://www.peterguy.com/php/install_IIS6.html
0
 
LVL 3

Expert Comment

by:Fapiko
ID: 18012885
Open the error.log file in your Apache folder and see what Apache has to say about the error. Also, try going to Start->Programs->Apache HTTP Server->Configure Server->Test Apache Configuration
This should show you what error is occurring upon Apache startup and give you the line number in the htdocs.conf file so you can modify it and fix the problem.
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 18015164
Try starting it at the command line, and see what error messages are displayed at the console.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
XSL Grouping 7 36
CSS Question.. 3 72
Examples of Web API, REST web services and SOA 7 115
Element alignment and word wrapping 9 24
Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

707 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

15 Experts available now in Live!

Get 1:1 Help Now