Solved

Apache Service won't start

Posted on 2006-11-23
5
1,193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

615 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