当前位置:论坛首页 > Windows面板 > 求助

【待反馈】apache自动停止服务,无法启动

发表在 Windows面板2024-7-25 14:49 [复制链接] 7 318

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:

宝塔8.0
系统版本:

windows 2012
问题描述:

apache在凌晨莫名自动停止服务,且点击重新启动失败。后发现需要把apache的运行用户从 www用户 改为 管理员 才能启动。已经重复出现多次,每次都隔了大半个月。期间整个宝塔平台没有任何配置上的改变。
相关截图(日志、错误):

4.png
使用道具 举报 只看该作者 回复
发表于 2024-7-25 15:44:08 | 显示全部楼层
您好,点击运行日志,找到停止的时间段的日志,截图发一下,看一下日志是否有记录
使用道具 举报 回复 支持 反对
发表于 2024-8-9 01:18:26 | 显示全部楼层
[Thu Aug 08 20:54:03.425900 2024] [mpm_winnt:notice] [pid 6180:tid 252] AH00424: Parent: Received restart signal -- Restarting the server.
[Thu Aug 08 20:54:04.388788 2024] [ssl:warn] [pid 6180:tid 252] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 08 20:54:04.397583 2024] [mpm_winnt:notice] [pid 6180:tid 252] AH00455: Apache/2.4.55 (Win64) OpenSSL/1.1.1s mod_fcgid/2.3.9a configured -- resuming normal operations
[Thu Aug 08 20:54:04.397583 2024] [mpm_winnt:notice] [pid 6180:tid 252] AH00456: Server built: Jan 15 2023 10:24:46
[Thu Aug 08 20:54:04.397583 2024] [core:notice] [pid 6180:tid 252] AH00094: Command line: 'd:\\BtSoft\\apache\\bin\\httpd.exe -d D:/BtSoft/apache'
[Thu Aug 08 20:54:04.398561 2024] [mpm_winnt:notice] [pid 6180:tid 252] AH00418: Parent: Created child process 24048
[Thu Aug 08 20:54:04.730589 2024] [ssl:warn] [pid 24048:tid 268] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 08 20:54:04.773548 2024] [mpm_winnt:notice] [pid 24048:tid 268] AH00354: Child: Starting 1500 worker threads.
[Thu Aug 08 20:54:07.038188 2024] [mpm_winnt:notice] [pid 13656:tid 268] AH00364: Child: All worker threads have exited.
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 28288 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 10064 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 24992 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 21040 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 8256 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 4300 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 17712 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 4160 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 25324 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 8260 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 20688 still did not exit, terminating forcefully
[Thu Aug 08 22:23:30.315185 2024] [cgi:error] [pid 24048:tid 17964] [client 185.224.128.83:43794] AH02811: script not found or unable to stat: D:/BtSoft/apache/cgi-bin/luci
[Thu Aug 08 23:19:25.728841 2024] [fcgid:warn] [pid 24048:tid 456] mod_fcgid: cleanup zombie process 24696
[Fri Aug 09 00:54:39.525777 2024] [core:warn] [pid 23884:tid 252] AH00098: pid file D:/BtSoft/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Aug 09 00:54:39.526745 2024] [ssl:warn] [pid 23884:tid 252] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Aug 09 00:54:39.532605 2024] [mpm_winnt:notice] [pid 23884:tid 252] AH00455: Apache/2.4.55 (Win64) OpenSSL/1.1.1s mod_fcgid/2.3.9a configured -- resuming normal operations
[Fri Aug 09 00:54:39.532605 2024] [mpm_winnt:notice] [pid 23884:tid 252] AH00456: Server built: Jan 15 2023 10:24:46
[Fri Aug 09 00:54:39.532605 2024] [core:notice] [pid 23884:tid 252] AH00094: Command line: 'd:\\BtSoft\\apache\\bin\\httpd.exe -d D:/BtSoft/apache'
[Fri Aug 09 00:54:39.533589 2024] [mpm_winnt:notice] [pid 23884:tid 252] AH00418: Parent: Created child process 4280
[Fri Aug 09 00:54:39.753302 2024] [ssl:warn] [pid 4280:tid 268] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Aug 09 00:54:39.794322 2024] [mpm_winnt:notice] [pid 4280:tid 268] AH00354: Child: Starting 1500 worker threads.

使用道具 举报 回复 支持 反对
发表于 2024-8-9 01:20:54 | 显示全部楼层
刚才 0:52  apache又自动停了,查看运行日志, 这个时间段没有发现有log记录。

[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 28288 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 10064 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 24992 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 21040 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 8256 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 4300 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 17712 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 4160 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 25324 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 8260 still did not exit, terminating forcefully
[Thu Aug 08 20:54:15.473717 2024] [fcgid:error] [pid 13656] FastCGI process 20688 still did not exit, terminating forcefully
[Thu Aug 08 22:23:30.315185 2024] [cgi:error] [pid 24048:tid 17964] [client 185.224.128.83:43794] AH02811: script not found or unable to stat: D:/BtSoft/apache/cgi-bin/luci
[Thu Aug 08 23:19:25.728841 2024] [fcgid:warn] [pid 24048:tid 456] mod_fcgid: cleanup zombie process 24696
[Fri Aug 09 00:54:39.525777 2024] [core:warn] [pid 23884:tid 252] AH00098: pid file D:/BtSoft/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Aug 09 00:54:39.526745 2024] [ssl:warn] [pid 23884:tid 252] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Aug 09 00:54:39.532605 2024] [mpm_winnt:notice] [pid 23884:tid 252] AH00455: Apache/2.4.55 (Win64) OpenSSL/1.1.1s mod_fcgid/2.3.9a configured -- resuming normal operations
[Fri Aug 09 00:54:39.532605 2024] [mpm_winnt:notice] [pid 23884:tid 252] AH00456: Server built: Jan 15 2023 10:24:46
[Fri Aug 09 00:54:39.532605 2024] [core:notice] [pid 23884:tid 252] AH00094: Command line: 'd:\\BtSoft\\apache\\bin\\httpd.exe -d D:/BtSoft/apache'
[Fri Aug 09 00:54:39.533589 2024] [mpm_winnt:notice] [pid 23884:tid 252] AH00418: Parent: Created child process 4280
[Fri Aug 09 00:54:39.753302 2024] [ssl:warn] [pid 4280:tid 268] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Aug 09 00:54:39.794322 2024] [mpm_winnt:notice] [pid 4280:tid 268] AH00354: Child: Starting 1500 worker threads.
使用道具 举报 回复 支持 反对
发表于 2024-8-9 01:25:08 | 显示全部楼层
刚才 0:52 发现apache又停了。。。运行日志如图

aaa.png
使用道具 举报 回复 支持 反对
发表于 2024-8-12 10:47:06 | 显示全部楼层
骑着蜗牛来瞎逛 发表于 2024-8-9 01:25
刚才 0:52 发现apache又停了。。。运行日志如图

您好,您的错误信息为进程未退出导致的,进程名是FastCGI
使用命令: ps -ef | grep fcgi-bin
查看是否退出,如果没有退出使用kill命令来退出
使用道具 举报 回复 支持 反对
运维技术阿闯 发表于 2024-8-12 10:47
您好,您的错误信息为进程未退出导致的,进程名是FastCGI
使用命令: ps -ef | grep fcgi-bin
查看是否退 ...

问题原因知道了,怎么解决呢?现在自动停止服务越来越频繁了,8月31日晚自动停,昨晚又自动停。。。。
使用道具 举报 回复 支持 反对
发表于 5 天前 | 显示全部楼层
骑着蜗牛来瞎逛 发表于 2024-9-3 13:47
问题原因知道了,怎么解决呢?现在自动停止服务越来越频繁了,8月31日晚自动停,昨晚又自动停。。。。 ...

您好,这个是您的进程吧,您项目的进程没有退出导致的吧,这个结局方法。这边话只能推荐是手动kill掉
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表