Apache Not Starting
Posted by: Chris of Arabia (---.dynamic.dsl.as9105.com)
Date: June 06, 2009 06:20PM

Hopefully someone can help with this. I've had WAMPserver running in the past on this PC, but for some reason, Apache is now refusing to start. When checking the logs, I've got the following message recorded, but am unsure as where I'd start to track down what's causing it. Can anyone give me a pointer?

"The Apache service named reported the following error: (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."

Many thanks

Options: ReplyQuote
Re: Apache Not Starting
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: June 06, 2009 06:27PM

you may have soemthing else running on port 80 or u modified the httpd file incorretly



do u have skype or another webserver installed?

if you dunno , post up a netstat report


start>run> type in

cmd (press enter)



in the black box type in

cd desktop (press enter)



then type in

netstat -aon > ports.log (press enter)



this will create a file on your desktop- open it and paste the first 5 lines up here.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Apache Not Starting
Posted by: Chris of Arabia (---.dynamic.dsl.as9105.com)
Date: June 06, 2009 06:33PM

Thanks Steven,

Skype has been installed on this PC since I last used WAMPserver, but no other webserver is running. The HTTPD file hasn't been touched.

The file created the following lines:


Active Connections

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 5532
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 1376
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 5532
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:2869 0.0.0.0:0 LISTENING 1768
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 4048
TCP 0.0.0.0:3689 0.0.0.0:0 LISTENING 5148
TCP 0.0.0.0:4233 0.0.0.0:0 LISTENING 268
TCP 0.0.0.0:6646 0.0.0.0:0 LISTENING 892

Options: ReplyQuote
Re: Apache Not Starting
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: June 06, 2009 07:01PM

ok well its probably skype so u can check that first

open skype >tools>options>connection>advanced(below connection wen u click on it)

and then untick "use port 80 and 443 as alternative"


then restart wamp and skype

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Apache Not Starting
Posted by: toumimi (---.74.114-78.rev.gaoland.net)
Date: June 06, 2009 07:27PM

Hi,

For those who want to know which port is in use and by which executable/process,
I found a freeware developped by Nir Sofer : CurrPorts v1.65.
Here is the download link : Download CurrPorts (60 ko).

It's really useful and configurable with its UI, and can be used from command line, and so, you can use a batch containing filter options, like this one :
cports.exe /filter include:local:tcp:80 /stext export.txt

Content of export.txt (same directory of the batch) :
==================================================
Process Name      : httpd.exe
Process ID        : 4056
Protocol          : TCP
Local Port        : 80
Local Port Name   : http
Local Address     : 0.0.0.0
Remote Port       : 
Remote Port Name  : 
Remote Address    : 0.0.0.0
Remote Host Name  : 
State             : Listening
Process Path      : c:\wamp\bin\apache\apache2.2.11\bin\httpd.exe
Product Name      : Apache HTTP Server
File Description  : Apache HTTP Server
File Version      : 2.2.11
Company           : Apache Software Foundation
Process Created On: 06/06/2009 19:19:55
User Name         : AUTORITE NT\SYSTEM
Process Services  : wampapache
Process Attributes: A
Added On          : 06/06/2009 19:20:04
Module Filename   : c:\wamp\bin\apache\apache2.2.11\bin\libhttpd.dll
Remote IP Country : 
Window Title      : 
==================================================

Hope someone found this useful too. winking smiley

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: Apache Not Starting
Posted by: Chris of Arabia (---.dynamic.dsl.as9105.com)
Date: June 06, 2009 07:28PM

Bingo! That's done it. Thanks very much for the help. Much appreciated

Options: ReplyQuote
Re: Apache Not Starting
Posted by: android20 (---.cpe.net.cable.rogers.com)
Date: November 26, 2009 04:24PM

Awesome! Thanks steven!
As soon as i saw skype i knew what to do.

Options: ReplyQuote
Re: Apache Not Starting
Posted by: rajeshp (---.hfc.comcastbusiness.net)
Date: May 14, 2012 04:28PM

Thanks Steven Martin, Your post helped me too..

Options: ReplyQuote


Sorry, only registered users may post in this forum.