apache 父级:收到关机信号--正在关机

jgwigjjp  于 2023-06-24  发布在  Apache
关注(0)|答案(5)|浏览(220)

使用wampserver并收到此错误:
父:收到关闭信号--正在关闭服务器。
谷歌似乎没有任何有效的解决方案。有什么想法吗

[Mon Jul 25 19:07:02 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Jul 25 19:07:02 2011] [notice] Child 5828: Child process is running
[Mon Jul 25 19:07:02 2011] [notice] Child 5828: Acquired the start mutex.
[Mon Jul 25 19:07:02 2011] [notice] Child 5828: Starting 64 worker threads.
[Mon Jul 25 19:07:02 2011] [notice] Child 5828: Starting thread to listen on port 80.
[Mon Jul 25 19:07:40 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Jul 25 19:07:40 2011] [notice] Child 5828: Exit event signaled. Child process is ending.
[Mon Jul 25 19:07:41 2011] [notice] Child 5828: Released the start mutex
[Mon Jul 25 19:08:05 2011] [notice] Child 5828: All worker threads have exited.
[Mon Jul 25 19:08:05 2011] [notice] Child 5828: Child process is exiting
[Mon Jul 25 19:08:05 2011] [notice] Parent: Child process exited successfully.
zf9nrax1

zf9nrax11#

我得到了同样的错误。所以,我退出skype和运行wamp作为管理员它的工作。我把Skype的监听端口改成了88。现在wamp工作正常。
港口冲突。因此,您可以在httpd.config文件中将localhost端口更改为88。

vom3gejh

vom3gejh2#

查看Apache错误日志。
此错误几乎总是在其他用户关闭多用户服务器时发生。Apache错误日志会告诉你发生了什么,如果有进一步的问题,我们可以提供帮助。

编辑

试试这个-转到C:\WINDOWS\System32\drivers\etc并确保hosts文件中有以下内容:

127.0.0.1 localhost

重新启动WAMP,看看是否有任何变化。

jmo0nnb3

jmo0nnb33#

这也可能是由自己的愚蠢造成的,就像我的例子:
我在我的服务器(Windows 2008 R2)上有一个脚本,它被配置为每5分钟运行一次。它包含以下两行:

net stop Apache2.4
net start Apache2.4

奇怪的是,这个脚本已经存在了很多年,从来没有对我的网站造成任何显着的影响。就在最近,Uptime Robot检测到了一些停机时间。
老实说,我不知道为什么要配置这个脚本。

解决方案:

为了解决这个问题,我只是在Windows任务调度程序中停用了脚本。

uubf1zoe

uubf1zoe4#

你有没有弄乱你的httpd.conf文件?我是搞砸了我的,并改变了第一个“听”位听8080,并摆脱了一个303错误,并能够启动Apache。404错误,我想这是一个进步。

5sxhfpxr

5sxhfpxr5#

我有iis和wamp都安装在我的windows机器上,不小心我已经打开了iis为端口80,这导致了你经历过的错误。或者更改Wamp侦听的端口,或者更改IIS侦听的端口

相关问题