【问题标题】:Windows 10 - WAMP OrangeWindows 10 - WAMP 橙色
【发布时间】:2015-10-28 02:33:11
【问题描述】:

我已经在我的 Windows 10 企业机器上安装了 WAMP 64 位服务器。但是我得到一个橙色图标。我检查了以下内容:

  1. Apache -> 服务,启动/恢复服务为灰色,停止服务为红色。另外测试端口 80 给了我:

您的 80 端口实际被以下用户使用: 服务器:Apache/2.4.9 (Win64) PHP/5.5.12

  1. Mysql -> 服务,启动/恢复服务为绿色。当我点击它时,什么也没有发生。

  2. 我尝试关闭 Windows 防火墙,但没有任何反应。

  3. 我已经检查了Skype,但它实际上没有安装在我的机器上。在命令提示符下尝试了 netstat-b,我看不到端口 80 的任何内容

  4. 搜索要删除的 mysql-bin.index,但没有找到。

任何关于我下一步可以尝试的帮助将不胜感激。谢谢

更新 以下 RiggsFolly 建议是我通过 Windows 事件记录器从 MySQL 获得的错误:

    2015-08-08 08:31:08 7024 [Note] Plugin 'FEDERATED' is disabled.
2015-08-08 08:31:08 18ec InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2015-08-08 08:31:08 7024 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-08-08 08:31:08 7024 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-08 08:31:08 7024 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-08-08 08:31:08 7024 [Note] InnoDB: Memory barrier is not used
2015-08-08 08:31:08 7024 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-08 08:31:08 7024 [Note] InnoDB: Not using CPU crc32 instructions
2015-08-08 08:31:08 7024 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-08-08 08:31:08 7024 [Note] InnoDB: Completed initialization of buffer pool
2015-08-08 08:31:08 7024 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-08 08:31:08 18ec  InnoDB: Operating system error number 87 in a file operation.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
2015-08-08 08:31:08 7024 [ERROR] InnoDB: File C:\wamp\mysql\data\ib_logfile0: 'aio read' returned OS error 187. Cannot continue operation

也通过谷歌搜索,我尝试将以下行添加到 my.ini 文件,但仍然得到相同的错误: innodb_flush_method=正常

【问题讨论】:

  • 如果您报告的内容正确,这看起来像 MYSQL 服务尚未启动。查看mysql error log wampmanager->MySQL->error log 报告什么edit question with contents 如果那是空的,我猜它会是然后查看Windows Event Log 以了解来自MYSQL 的错误
  • 您还可以检查MYSQL服务是否已正确注册。使用服务管理单元检查名为 wampmysqld64 的服务是否存在。
  • 感谢您的回复。我检查了 Windows 事件日志,这是错误:wampmysqld64 服务意外终止。它已经这样做了 14 次。 MYSQL 日志也是空的
  • 仅此而已,没有其他相关消息解释原因吗?编辑您的问题并将事件日志中的每个 MYSQL 错误消息添加到您的问题。
  • 感谢 Riggs,我已按要求更新了 Windows 事件记录器。

标签: wamp


【解决方案1】:

在 Windows 10 中,微软决定默认启用“万维网发布服务”(网络服务器)。

尝试在cmd中运行:

netstat -aon | findstr :80

然后看到类似的东西:

  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4
  ...
  TCP    [::]:80                [::]:0                 LISTENING       4
  TCP    [::1]:80               [::1]:50558            ESTABLISHED     4
  TCP    [::1]:50558            [::1]:80               ESTABLISHED     11504

你知道你有另一个服务阻塞了端口 80。

解决方案:

开始 -> 输入“服务” -> 回车 -> 找到“万维网发布服务” -> 选择它 -> 右键单击​​ -> 属性 -> 将启动类型:自动更改为手动并单击停止底部 ->应用/确定。

现在您可以右键单击 WAMP 图标,然后单击“重新启动所有服务”。

维奥拉!

【讨论】:

  • 感谢您的意见。我尝试了 cmd netstat -aon|findstr :80 我只得到 TCP 192.168.0.10:49556 23.205.116.42:80 ESTABLISHED 1884。至于我的问题,让 Apache 在端口 80、443 上工作没有问题。它只是 MySQL 部分.我还检查了服务,没有安装或运行万维网发布服务。最后确保它不是 WAMP 我安装了 XAMPP 并且我得到了同样的错误。我已经用 MySQL_error.log 中的所有错误更新了我的问题
【解决方案2】:

我知道这个帖子有点老了,但我找到了解决问题的方法。 从 WAMP 图标导航到:

  • wampmanager -> Apache -> 服务 -> 安装服务
  • wampmanager -> MySQL -> 服务 -> 安装服务

当 Apache 对我来说失败时,它表明 Skype 可能是问题所在,因为它使用了必要的端口。我退出了 Skype,重新启动了所有 WAMP 服务,然后得到了绿灯……或者是绿色的 W ;)

【讨论】:

  • 这对我也有用。事实证明windows防火墙已经阻止了该服务。非常感谢。
【解决方案3】:

更改 WAMP 使用的端口。默认情况下,WAMP 使用端口 80。您可以通过以下方式更改端口:右键单击 WAMP > 工具 > “使用 # 以外的端口”

希望这会有所帮助!

【讨论】:

  • 谢谢,这有帮助
猜你喜欢
  • 2018-09-04
  • 2011-09-11
  • 1970-01-01
  • 1970-01-01
  • 2016-03-10
  • 2016-02-10
  • 2016-01-01
  • 2023-03-31
  • 1970-01-01
相关资源
最近更新 更多