Listen Port 80 problem also
Posted by: patch87 (---.hsd1.ga.comcast.net)
Date: May 16, 2017 04:14AM

When you ask a question, please ensure you start your question with the answers to ALL these 13 questions.

1 - Windows version used (Specify version number AND whether 32 or 64 bit)
Windows10 X64
2 - Version WampServer (Specify version number AND whether 32 or 64 bit)
WampServer Version 3.0.6 64bit
3 - Apache Version
Apache 2.4.23
4 - PHP Version
php 5.6.25
5 - MySQL Version
MySQL 5.7.14
6 - What color is the WampServer icon (in the notification area of the taskbar)
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
[Mon May 15 20:51:27.507195 2017] [:emerg] [pid 8600:tid 536] AH00019: Unable to open logs, exiting

-- ( wampmanager -> Apache -> Apache access log )
empty

b - MySQL error log ( wampmanager -> MySQL -> MySQL log )
2017-05-15T18:45:22.627885Z 0 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*320 pages, LSN=2526453
2017-05-15T18:45:24.474437Z 0 [Warning] InnoDB: Starting to delete and rewrite log files.
2017-05-15T18:45:27.357717Z 0 [Warning] InnoDB: New log files created, LSN=2526453
c - PHP error log ( wampmanager -> PHP -> PHP error log )
[15-May-2017 18:45:18 UTC] No error - Only to create the file

Depending on the error, one or all of the above may be empty so also look at
d - The windows event viewer
--- Windows Key + R to launch the run dialog then enter eventvwr.exe and press the OK button
--- - On the left side of the windows click 'Windows Logs -> Applications'
--- - Look for the names 'Apache Service' or 'MySQL' in the Source column which have a error symbol in the first column.
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 .
InnoDB: Resizing redo log from 2*3072 to 2*320 pages, LSN=2526453For more information, see Help and Support Center at [www.mysql.com].

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


7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines with the name [localhost] in them?
* Active means no # at the beginning of the line.
# 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
No Active


If the WampServer icon is green:
NO

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

10 - If you refer to an error message, please include the EXACT wording of the error in your post
See apache error log above
11 - If you use an Antivirus and / or Firewall, please include the names of these
Norton Security Suite
12 - What is the full path to NORTON
C:\programfiles(x86)NORTON Security Suite

Additional info

C:\wamp64\bin\apache\apache2.4.23\bin>httpd.exe -t
Syntax OK

C:\wamp64\bin\apache\apache2.4.23\bin>
C:\wamp64\bin\apache\apache2.4.23\bin> httpd.exe
(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


If I change http.config to
Listen 8080
WampServer Icon turn green...
but when i enter [localhost8080] it does not display the wampserver home page.

See apache error log below
[Mon May 15 21:51:44.329099 2017] [auth_digest:notice] [pid 5476:tid 504] AH01757: generating secret for digest authentication ...
[Mon May 15 21:51:44.478601 2017] [mpm_winnt:notice] [pid 5476:tid 504] AH00455: Apache/2.4.23 (Win64) PHP/5.6.25 configured -- resuming normal operations
[Mon May 15 21:51:44.478601 2017] [mpm_winnt:notice] [pid 5476:tid 504] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:43:51
[Mon May 15 21:51:44.478601 2017] [core:notice] [pid 5476:tid 504] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.23\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.23'
[Mon May 15 21:51:44.478601 2017] [mpm_winnt:notice] [pid 5476:tid 504] AH00418: Parent: Created child process 4360
[Mon May 15 21:51:44.993287 2017] [auth_digest:notice] [pid 4360:tid 464] AH01757: generating secret for digest authentication ...
[Mon May 15 21:51:45.040159 2017] [mpm_winnt:notice] [pid 4360:tid 464] AH00354: Child: Starting 64 worker threads.

Thank you

Options: ReplyQuote
Re: Listen Port 80 problem also
Posted by: Otomatic (Moderator)
Date: May 16, 2017 09:13AM

Hi,

Follow TROUBLESHOOTING TIPS

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.1.0 32 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
Wampserver 3.1.0 64 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
PhPMyAdmin 4.7.4 - MysqlDumper 1.24.5

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: Listen Port 80 problem also
Posted by: patch87 (---.hsd1.ga.comcast.net)
Date: May 22, 2017 04:06AM

Thank you for the Troubleshooting Tips. They were essential in solving my problems.

Regards

Options: ReplyQuote


Sorry, only registered users may post in this forum.