Page 1 of 1

Having Trouble With My Apache

PostPosted: 16. June 2006 22:24
by mjhasbach
Hello, I have used Xampp in the past, but I reciently had to uninstall it and now i need it again. I am having trouble getting the Apache to work. In the Xammp control panel, whenever i click the "Start" button for Apache, it turns on and then quickly turns off.

I have run apache_start.bat from the Xampp folder, and this is the error that I get:

"(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

Apache konnte nicht gestartet werden
Apache could not be started"

Any help would be greatly appreciated.

PostPosted: 16. June 2006 22:44
by Wiedmann
There is an other server listening on port 80. Stop this server and XAMPP/Apache will work.

PostPosted: 17. June 2006 02:42
by mjhasbach
Well, I can't figure out what else is listening on port 80. Is there an easy way to find out? Or a way to change the port that the Apache listens on?

PostPosted: 17. June 2006 11:08
by Wiedmann
I can't figure out what else is listening on port 80. Is there an easy way to find out?

For example: netstat, tcpview, xampp-portcheck, ...

Or a way to change the port that the Apache listens on?

Directive "Listen" in "httpd.conf".

PostPosted: 17. June 2006 22:11
by mjhasbach
Umm...I ran netstat as well as tcpview and xampp-portcheck.

I found out that there is a program "C:\WINDOWS\system32\inetsvr\inetinfo.exe" that is listening on port 80 (Apache (HTTP)), port 443 (Apache (HTTPS)), port 25 (Mercury (SMTP)).

This file is obviously keeping my Xampp from running properly. I am wondering if it is safe to kill the process, because it is running in the WINDOWS folder?

PostPosted: 17. June 2006 23:07
by deepsurfer
I found out that there is a program "C:\WINDOWS\system32\inetsvr\inetinfo.exe"

This programm listen on Port 80

This programm is the MS-Webserver called "IIS"

PostPosted: 18. June 2006 00:35
by mjhasbach
Well, I still can't start my Apache.

I deleted that file inetinfo.exe from my computer. When I run xampp-portcheck it says that all of the Apache ports are free. Yet when i run my Apache from the Control Panel, it starts and then stops. When I run apache_start.bat it says that the Apache cannot be started. Does anyone have any sugestions on how to fix this problem?

PostPosted: 28. August 2006 09:14
by josefec
I have this problem too. Could anybody help what to do? The process can't be killed.. It starts again after killing. I don't know if it would be good if I deleted the file at all and now I read here that even deleting the file doesn't help.
Thanks very much...

PostPosted: 28. August 2006 10:08
by Izzy
josefec wrote:I have this problem too. Could anybody help what to do? The process can't be killed.. It starts again after killing. I don't know if it would be good if I deleted the file at all and now I read here that even deleting the file doesn't help.
Thanks very much...

What OS are you using?

If XP try in Windows Control Panel/Add or Remove Programs/ click on Add/Remove Windows Components - look for IIS server to remove it.

Not sure if it will help as I don't have IIS installed on my XP Pro to be able to test it for you.

You can also try and remove the IIS Service from your Windows Control Panel/Administrative Tools/Services look for the IIS Service and change from Automatic to Manual or Disabled.

Good Luck.

PostPosted: 28. August 2006 13:58
by josefec
Yes, I'm using WinXP. Neither I have installed anything like IIS Server. I haven't find anything in Add Remove Programs... I've found something like IIS Service Administration service (I run localized version of WinXP) but there are many services depending on this one... Publishing On Web, Simple Mail Transport Protocol (SMTP) and FTP Publishing...
Couldn't it harm functioning of my email client if I stopped all these depending services?

PostPosted: 28. August 2006 17:08
by Izzy
These are servers of which XAMPP will take over once installed.

As I said in my previous post I do not have IIS I use XAMPP instead.

If you stop all those services and their dependancies and install XAMPP you will have SMTP with Mercury Mail, FTP with FileZilla, Web Publishing with Apache.

Unless you use IIS at the moment you will see no difference only that you will be able to start and run XAMPP on the default port 80, which is what you wanted to do when you first posted here.

If you have problems, you can always uninstall XAMPP and restart the IIS services and their dependancies.

similar problem with apache starting/ stopping

PostPosted: 20. September 2006 23:56
by gleka
Wiedmann wrote:
I can't figure out what else is listening on port 80. Is there an easy way to find out?

For example: netstat, tcpview, xampp-portcheck, ...

Or a way to change the port that the Apache listens on?

Directive "Listen" in "httpd.conf".


I have a similar problem with apache starting and then stopping within a second or two. My isp (AOL) uses port 443 - actually the aoltpsp.exe file. I do not want to disconnect my isp, so how do i manage to get apache running and also continue to be able to use aol as my isp?

PostPosted: 21. September 2006 00:19
by Wiedmann
My isp (AOL) uses port 443 - actually the aoltpsp.exe file.

You mean "aoltpspd.exe"?

This is the AOL TopSpeed feature. You don't need this program to surf via AOL.

Look in the AOL manuals (or support) how to disable this feature.

(And of course:
Ask your provider, why he use a well known standard port for his proprietary software...)

You can also diasable SSL in Apache. In "httpd.conf":
Code: Select all
#LoadModule ssl_module modules/mod_ssl.so
#Include conf/extra/httpd-ssl.conf

(Add the "#" in these 2 lines)

--> 443 is the port a webserver listen for SSL connections ("https://...")

PostPosted: 21. September 2006 00:41
by gleka
Wiedmann wrote:
My isp (AOL) uses port 443 - actually the aoltpsp.exe file.

You mean "aoltpspd.exe"?

This is the AOL TopSpeed feature. You don't need this program to surf via AOL.

Look in the AOL manuals (or support) how to disable this feature.

(And of course:
Ask your provider, why he use a well known standard port for his proprietary software...)

You can also diasable SSL in Apache. In "httpd.conf":
Code: Select all
#LoadModule ssl_module modules/mod_ssl.so
#Include conf/extra/httpd-ssl.conf

(Add the "#" in these 2 lines)

--> 443 is the port a webserver listen for SSL connections ("https://...")

Wow - spot on! I merely disabled topspeed in aol and apache is fine, and so is the remainder of xampp!. Cant say a big enough thankyou - I am a COMPLETE novice!.
:D

Who in their right mind uses AOL anyway ..

PostPosted: 28. September 2006 00:04
by nimd4
AOL Rules ! :roll: