Solved

Apache Service won't start

Posted on 2006-11-23
5
1,181 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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 invoke it on a web page. 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.: (CODE)

920 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

13 Experts available now in Live!

Get 1:1 Help Now