Apache make_sock Issue

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache make_sock Issue

Postby erick_the_redd » 10. September 2012 21:35

Apache was working great.

To start working on some PHP MVC stuff, I needed to setup up a Virtual Host. I set it up, worked through some typos, and Apache worked great, expect that everything went on localhost went back to my MVC setup. So I setup a second Virtual Host, in the same Apache Vhost file (which is completely legit), and now nothing will working.

I did run the Apache Syntax checker to make sure all was good on my Virtual Hosts. c:\xampp\apache\bin\httpd.exe -S : No problems reported.

So I went back and removed all my Virtual Host stuff and put everything back the way I started and still nothing.

Here is the out put from Apache when run through command-line:

C:\Users\Erick the Redd>c:\xampp\apache\bin\httpd.exe -d C:/xampp/apache
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:80
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

I see others running into a similair issue, but those were related to Skype, which I do not have.

Any suggestions?

Thank you,

-- Erick
erick_the_redd
 
Posts: 1
Joined: 10. September 2012 21:22
XAMPP Version: 5.6.3
Operating System: Vista 64-bit

Re: Apache make_sock Issue

Postby JonB » 11. September 2012 02:22

A. OS 10048 - please run Netstat.

B. Where did you place your vhost's Document Root?

:?:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Apache make_sock Issue

Postby liveuk » 08. October 2012 10:22

Had to make a new account to post mine seems to of disappeared?

Anyway I got this if you have docroot changed to inherit permission's

in httpd.conf

<Directory "g:/www/anyfolderulike"> <-- whatever u like in quotes just make sure it is a real folder before you try to start apache
AllowOverride All
Require all granted
</Directory>

will do see it now starts if so just one line carefully into a vertual host container
at a time making sure you understand each line as you add it from now on.
Edit 1 line
test
and so on

Most people load a vertual host file and keep them away from the httpd.conf
like
Include "httpd-vhosts.conf"

or whatever you want too call it be different more secure
liveuk
 
Posts: 1
Joined: 08. October 2012 10:12
XAMPP Version: 5.6.3
Operating System: XP


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 39 guests