Page 1 of 1

The Apache server is not running

PostPosted: 24. August 2009 04:41
by eleuthera
I installed xampp several times but I am not able to get the apache running. The mysql shows running next to it but not appache. Additionally, I do not get the gui install of xampp. It only extracts the files to a folder.

I am trying to install xampp on my local pc. What am I doing wrong?

Re: The Apache server is not running

PostPosted: 24. August 2009 05:04
by Izzy
You can run the setup_xampp.bat file manually in the xampp install folder.

Also run the apache_start.bat file and see why Apache is not starting.

Also see this post, as it may also apply to you:
viewtopic.php?f=16&t=36718

Re: The Apache server is not running

PostPosted: 24. August 2009 06:18
by eleuthera
Thanks for the advice.

When I ran the apache_start.bat file, I got the following response:
now we start apache
starting apache
apache is not started
press enter to continue.

When I also ran the apache_installservices.bat, I got the following:
Installing Apache as a service
Installing service "apache"
Can't create service "Apache2.2"
service "apache" is not installed
starting service "apache"
service "apache" is not installed
press enter to continue


May this would help.

Re: The Apache server is not running

PostPosted: 24. August 2009 06:46
by Izzy
Izzy wrote:You can run the setup_xampp.bat file manually in the xampp installation folder.
So what happened when you ran this, the most important bat file?

Re: The Apache server is not running

PostPosted: 24. August 2009 11:35
by Wiedmann
When I ran the apache_start.bat file, I got the following response:
Code: Select all
now we start apache
starting apache
apache is not started

And now it's time to read the Apache error.log.

Re: The Apache server is not running

PostPosted: 24. August 2009 13:41
by eleuthera
The error log reads:
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

So... I ran a check port again and it has

apache (http) 80 c:\oracle\ora81\apache\apache\apache.exe

I went to Oracle and stopped the http server. Everything is working!

Thanks for the assistance.

Re: The Apache server is not running

PostPosted: 02. October 2009 07:39
by Golgar_2000
Hi, I Believe I Have A Solution.
I Have Always Manually Gone & Downloaded, Installed & Configured All The Separate Programs, Apache, PHP, etc. Never Had A Problem I Couldn't Fix Or Find A Solution For, Anyway, I Have Just Downloaded & Installed XAMPP 1.7.2 Also The Tomcat Add-on. Now Everything Was Fine First Run All Services Ran Fine.

Apache
MySql
FileZilla
Mercury &
Tomcat.

The Problem Started After I Restarted My Computer. No Apache? It Says It Started But Nothing, Hmmm Strange. All The Configuration Files Where Correct. So I Mucked Around For A While, Researched Everywhere & Even Tried To Install Apache Over The Apache Directory In XAMPP. Still Nothing. So I Started Again. Uninstall, Re-Install. Hey Apache Is Working Again. This Time No Restart. So I Just Clicked The Stop Apache Button, All Good. Ok Start Apache, NOTHING AGAIN. Sound Familiar?

Now Is Not The Time To Scream, It Has Already Told You The Problem. Apache. Very Simple, Go & Check Out The Error Log (Open With Notepad) The Log Files Are Located Here

" \xampp\apache\logs

Go To The Bottom Of The Log File & You Will See The Date, Time & Status. I Found That A File Was Missing Or Could Not Be Located. The Problem Was Related To Tomcat Which Stopped Apache From Starting.

"mod_jk.so" Was Missing From " \xampp\tomcat\Server\xampp\apache\modules\

So I Found A Copy Of "mod_jk.so" Located In " \xampp\apache\modules

So Very Simple. I Copied "mod_jk.so" From “ \xampp\apache\modules To “ \xampp\tomcat\Server\xampp\apache\modules\

Clicked The Start Apache Button & TADA Apache Is Working Again.

Now If A Different File Is Missing Try Searching Your Computer For It & If You Don’t Have It Download The ZIP File From Apache.org & You Should Find It In There.

In Conclusion If Apache Won't Start Or Won't Stay On Check You Log Files It Will Tell You The Problem. I Hope This Has Helped.

Re: The Apache server is not running

PostPosted: 02. October 2009 08:22
by Izzy
Golgar_2000 wrote:"mod_jk.so" Was Missing From " \xampp\tomcat\Server\xampp\apache\modules\
http://community.apachefriends.org/f/viewtopic.php?p=149962#p149962

Re: The Apache server is not running

PostPosted: 02. March 2011 05:23
by amit1812
There are 3 way to start the apache in xampp

1. Go to run type -> services.msc <-- Enter
Check the IIS services is off. If it is started then stop it by right click.
2. Remove completely the xampp and reinstall it . Try to start with svc check and without it.

3. Install advance version of xampp now it ll start surely.