Apache Service Not Starting
Posted by: Hex (---.phlapa.fios.verizon.net)
Date: February 08, 2019 12:35PM

I've been trying to get this to work for the better part of 2 hours.
I read the TROUBLESHOOTING TIPS thread (among a few others), as well as followed the installation instructions to the letter.
It appears that somewhere along the way port 80 is blocked or already being used, but I cannot figure out how.
I do not have Skype. Below are the 13 answers you require for posting a help thread.



1 - Win 10 Pro 64bit
2 - WampServer Version 3.1.7 64bit
3 - Apache 2.4.37 Port 80- PHP 7.2.14
4 - PHP 5.6.40 for CLI (Command-Line Interface)
5 - MySQL 5.7.24 Port 3306
5a - MariaDB 10.3.12 Port 3307
6 - Icon Color is Orange

When all goes well it should be green, but it may be red or orange.

If the WampServer icon is NOT GREEN please ensure you have looked at these files :-
a - Apache error log
-- ( wampmanager -> Apache -> Apache error log )
(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
[Thu Feb 07 04:26:05.844062 2019] [:emerg] [pid 8528:tid 664] AH00019: Unable to open logs, exiting
(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 Feb 08 05:54:22.301735 2019] [:emerg] [pid 6180:tid 544] AH00019: Unable to open logs, exiting
(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 Feb 08 06:09:04.949520 2019] [:emerg] [pid 1448:tid 620] AH00019: Unable to open logs, exiting
(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 Feb 08 06:18:36.663507 2019] [:emerg] [pid 1852:tid 600] AH00019: Unable to open logs, exiting
(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 Feb 08 06:24:44.081479 2019] [:emerg] [pid 5100:tid 624] AH00019: Unable to open logs, exiting
(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 Feb 08 06:25:07.613761 2019] [:emerg] [pid 9472:tid 692] AH00019: Unable to open logs, exiting
-- ( wampmanager -> Apache -> Apache access log )
[EMPTY]
b - MySQL error log ( wampmanager -> MySQL -> MySQL log )
[N/A - Service started]
b1 - MariaDB error log ( wampmanager -> MariaDB -> Mariadb log )
[N/A - Service started]
c - PHP error log ( wampmanager -> PHP -> PHP error log )
[N/A - Service started]

Depending on the error, one or all of the above may be empty so also look at
d - The windows event viewer

If you find any errors that you cannot fix for yourself please post the COMPLETE EXACT error message in your question.

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 .
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 .

[This is strange because when I test port 80 in WAMP is says]

***** Test which uses port 80 *****

===== Tested by command netstat filtered on port 80 =====


Test for TCP
Port 80 is not found associated with TCP protocol

Test for TCPv6
Your port 80 is used by a processus with PID = 4
The processus of PID 4 is 'System' Session: Services
The service of PID 4 for 'System' is 'N/A'
*** ERROR *** This service IS NOT from Wampserver - Should be: 'wampapache64'

===== Tested by attempting to open a socket on port 80 =====

Your port 80 seems not actually used.
Unable to initiate a socket connection
Error number: 10061 - Error string: No connection could be made because the target machine actively refused it.




7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines?
* Active means no # at the beginning of the line.
127.0.0.1 localhost
::1 localhost


If the WampServer icon is green:

8 - Do you have access to localhost (Homepage WampServer)?
Nope
8a - If so, is there an error message at the bottom of the page?

9 - Do you have access to phpMyAdmin?
Not sure yet... can't get Apache to start.

10 - If you refer to an error message, please include the EXACT wording of the error in your post
11 - If you use an Antivirus and / or Firewall, please include the names of these
Just Windows Defender and Firewall. It doesn't appear to have port 80 blocked anywhere but I would love some ideas
12 - What is the full path to the installation of WampServer
C:\wamp
13 - If you have one or more Virtual Hosts defined, please show their definition(s)
No VHs

Options: ReplyQuote
Re: Apache Service Not Starting
Posted by: RiggsFolly (Moderator)
Date: February 08, 2019 01:34PM

Hi,

This message

Your port 80 is used by a processus with PID = 4

normally means that you have IIS installed on your system.

IIS is microsofts web server and so uses port 80 like any other web server. When installed it starts automatically at system boot and therefore grabs port 80, this means that Apache cannot use it as ports cannot be shared, normally.

If you are not using IIS then I would suggest uninstalling it. You can find how to do that from a google search.

For some reason Microsoft decided to install IIS be default on Windows 10. It is not required unless you are using it and uninstalling it will not cause you any problems

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.