Apache will not start in Windows 10
Posted by: jjeck82 (---.ftwy.in.frontiernet.net)
Date: October 01, 2016 04:36AM

I have been trying to get wamp running for a college course for 3 days now, I have been to several forums and have tried all suggestions but I am still coming up with nothing! I am running Windows 10 64 bit, port 80 is OPEN, I have read through all of the troubleshooting tips page and made sure I've followed everything to the letter before I came asking for help, I do not have skype, I have adjusted my hosts file to make 127.0.0.1 active, wamp was installed as administrator. MySql is version 5.7.14, Apache is version 2.4.23, and php is version 5.6.25. Right now the wamp icon is orange with MySQL running and Apache not running.
This text is from the event viewer:

The Apache service named

reported the following error: >>>
(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

And this text is from the Apache error logs:

(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
AH00451: no listening sockets available, shutting down
[Fri Sep 30 22:08:20.795478 2016] [:emerg] [pid 2356:tid 592] AH00019: Unable to open logs, exiting

However, when I click wamp icon>Apache>Service Administration>Install Service I get:

Your port 80 is available, Install will proceed.
Press Enter to continue...


I could really use some help in getting this all figured out as I am on a huge time crunch to get this class going. Thank you to all who help in advance.

Options: ReplyQuote
Re: Apache will not start in Windows 10
Posted by: Otomatic (Moderator)
Date: October 01, 2016 10:22AM

Hi,

What is the content of the file C:\Windows\System32\drivers\etc\hosts

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Apache will not start in Windows 10
Posted by: jjeck82 (---.ftwy.in.frontiernet.net)
Date: October 01, 2016 11:17PM

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
::1 localhost


I did check to make sure that my computer was compatible with IPv6 also. The ping returned 0% package losses on IPv4 and IPv6

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>ping 127.0.0.1

Pinging 127.0.0.1 with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\WINDOWS\system32>ping ::1

Pinging ::1 with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

Options: ReplyQuote
Re: Apache will not start in Windows 10
Posted by: Otomatic (Moderator)
Date: October 02, 2016 11:18AM

Hi,

What is the result of:
Right-Click Wampmanager tray icon -> Tools -> Test port 80

You can also do: 'http://localhost/test_sockets.php' the result should be :

Socket IPv4 supported

Socket IPv6 supported

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 1 time(s). Last edit at 10/02/2016 04:27PM by Otomatic.

Options: ReplyQuote


Sorry, only registered users may post in this forum.