WAMP服务器不起作用,没有监听套接字,无法打开日志 [英] WAMP server doesnt work, no listening sockets avalible, unable to open logs

查看:190
本文介绍了WAMP服务器不起作用,没有监听套接字,无法打开日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的WAMP服务器无法正常工作,当我将鼠标悬停在橙色的W图标上时,正在运行两个服务中的一个".

My WAMP server isn't working, when I hover over the orange W icon i get "1 of two services running".

我右键单击了图标,选择了工具,选择了测试端口80 我得到了:

I did the right click on the icon, selected tools, selected test port 80 I got:

*****使用端口80的测试*****

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

=====通过在端口80上过滤的命令netstat进行测试=====

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

'find'不被识别为内部或外部命令, 可操作的程序或批处理文件. 端口80与TCP协议不关联 'find'不被识别为内部或外部命令, 可操作的程序或批处理文件. 端口80与TCP协议未关联

'find' is not recognized as internal or external command, operable program or batch file. Port 80 is not associated with TCP protocol 'find' is not recognized as internal or external command, operable program or batch file. Port 80 is not associated with TCP protocol

======通过尝试打开端口80上的套接字进行测试=====

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

您的端口80实际被使用:

Your port 80 is actually used by :

服务器:Apache/2.4.17(Win64)PHP/5.6.16

Server: Apache/2.4.17 (Win64) PHP/5.6.16

按Enter退出...

Press Enter to exit...

然后我以与端口80相同的方式测试了端口3306(如果我没有记错的话,应该由MySQL使用).

Then I tested port 3306 (that is supposed to be used by MySQL if Im not mistaken) in the same way as port 80.

我得到了:

*****使用端口3306的测试*****

***** Test which uses port 3306 *****

=====通过在端口3306上过滤的命令netstat测试=====

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

'find'不被识别为内部或外部命令, 可操作的程序或批处理文件. 端口3306与TCP协议不关联 'find'不被识别为内部或外部命令, 可操作的程序或批处理文件. 端口3306与TCP协议未关联

'find' is not recognized as internal or external command, operable program or batch file. Port 3306 is not associated with TCP protocol 'find' is not recognized as internal or external command, operable program or batch file. Port 3306 is not associated with TCP protocol

按Enter退出...

Press Enter to exit...

我上网寻找解决方案,到目前为止,没有人提供帮助.我发现了一些有关stackoverflow的有用建议,因此我做了以下几件事:

I went on the internet in search of a solution, none helped so far. I found some helpfull advice on stackoverflow so I did the folowing few things:

以管理员模式运行cmd. 前往:

Run cmd in administrator mode. Went to:

C:\ wamp64 \ bin \ apache \ apache2.4.17 \ bin

C:\wamp64\bin\apache\apache2.4.17\bin

并运行:

httpd.exe -e调试

httpd.exe -e debug

在输出结束时,我得到了:

At the end of the output I got:

H01575:从C:/wamp64/bin/php/php5.6.16/php5apache2_4.dll加载模块php5_module (OS 10048)通常,每个套接字地址(协议/网络地址/端口)仅允许使用一种. AH00072:make_sock:无法绑定到地址[::]:80 (OS 10048)通常,每个套接字地址(协议/网络地址/端口)仅允许使用一种. AH00072:make_sock:无法绑定到地址0.0.0.0:80

H01575: loaded module php5_module from C:/wamp64/bin/php/php5.6.16/php5apache2_4.dll (OS 10048)Only one usage of each socket adress (protocol/network adress/port) is normally permitted. AH00072: make_sock: could not bind to adress [ : : ]:80 (OS 10048)Only one usage of each socket adress (protocol/network adress/port) is normally permitted. AH00072: make_sock: could not bind to adress 0.0.0.0:80

AH00451:没有可用的侦听套接字,正在关闭

AH00451: no listening socket avalible, shutting down

AH00015:无法打开日志

AH00015: Unable to open logs

比起我在开始菜单中运行resmon.exe.在那里,我看到httpd.exe使用了端口80.当我将服务器的端口设置为8080时,端口80(在resmon视图中)消失了,并且80d被httpd.exe接管.上面的输出也相应地发生了变化.无处可见3306端口.

Than I run resmon.exe in Start menu. There I saw that port 80 is used by httpd.exe. When I canged the port of the server to 8080, port 80 (in resmon view) disappeared and 8080 was taken over by httpd.exe. The above output also changed accordingly. Port 3306 was nowhere to be seen.

我很困惑.是否占用了端口80?我在这里收到混合消息.任何帮助将不胜感激,或者至少是寻找指导方向.

Iam confused. Is port 80 taken or not? Im geting mixed messages here. Any help would be greatly appreciated or at least a point of direction where to look.

也许我也应该补充一点,由于这个持久性问题,我重新安装了WAMP服务器.没有帮助.以管理员身份运行WAMP也无济于事,我的桌面上没有Skype.

Maybe I should also add that because of this persistant problem I reinstalled my WAMP server. Did not help. Running WAMP as an admin didnt help as well and I do not have Skype on my desktop.

推荐答案

Slana

我认为过去我在Wamp服务器上也遇到过类似的问题.即使我一直将localhost端口号更改为80、8080等,它也不起作用.所以,这就是我所做的:

I think I had a similar problem with Wamp server in the past. Even though I kept changing localhost port number to 80, 8080, and etc. it did not work. So, this is what I did:

  • 单击Wamp Server图标.

  • Clicked on the Wamp Server icon.

Apache->服务->删除服务

Apache -> Service -> Remove Service

MySQL->服务->删除服务

MySQL -> Service -> Remove Service

然后重新安装Apache和MySQL服务.

Then reinstall both Apache and MySQL service.

重新启动Wamp Server.

Restart the Wamp Server.

对不起,我希望我能为您提供更多帮助.我希望这有助于修复错误.

Sorry, I wish I could help you more.. I am a beginner in programming and still learning. I hope this helps with fixing the error.

这篇关于WAMP服务器不起作用,没有监听套接字,无法打开日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆