骑着蜗牛来瞎逛 发表于 2024-7-25 14:49:57

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

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:
宝塔8.0
系统版本:
windows 2012
问题描述:
apache在凌晨莫名自动停止服务,且点击重新启动失败。后发现需要把apache的运行用户从 www用户 改为 管理员 才能启动。已经重复出现多次,每次都隔了大半个月。期间整个宝塔平台没有任何配置上的改变。
相关截图(日志、错误):

运维技术阿闯 发表于 2024-7-25 15:44:08

您好,点击运行日志,找到停止的时间段的日志,截图发一下,看一下日志是否有记录

骑着蜗牛来瞎逛 发表于 2024-8-9 01:18:26

AH00424: Parent: Received restart signal -- Restarting the server.
AH01873: Init: Session Cache is not configured
AH00455: Apache/2.4.55 (Win64) OpenSSL/1.1.1s mod_fcgid/2.3.9a configured -- resuming normal operations
AH00456: Server built: Jan 15 2023 10:24:46
AH00094: Command line: 'd:\\BtSoft\\apache\\bin\\httpd.exe -d D:/BtSoft/apache'
AH00418: Parent: Created child process 24048
AH01873: Init: Session Cache is not configured
AH00354: Child: Starting 1500 worker threads.
AH00364: Child: All worker threads have exited.
FastCGI process 28288 still did not exit, terminating forcefully
FastCGI process 10064 still did not exit, terminating forcefully
FastCGI process 24992 still did not exit, terminating forcefully
FastCGI process 21040 still did not exit, terminating forcefully
FastCGI process 8256 still did not exit, terminating forcefully
FastCGI process 4300 still did not exit, terminating forcefully
FastCGI process 17712 still did not exit, terminating forcefully
FastCGI process 4160 still did not exit, terminating forcefully
FastCGI process 25324 still did not exit, terminating forcefully
FastCGI process 8260 still did not exit, terminating forcefully
FastCGI process 20688 still did not exit, terminating forcefully
AH02811: script not found or unable to stat: D:/BtSoft/apache/cgi-bin/luci
mod_fcgid: cleanup zombie process 24696
AH00098: pid file D:/BtSoft/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
AH01873: Init: Session Cache is not configured
AH00455: Apache/2.4.55 (Win64) OpenSSL/1.1.1s mod_fcgid/2.3.9a configured -- resuming normal operations
AH00456: Server built: Jan 15 2023 10:24:46
AH00094: Command line: 'd:\\BtSoft\\apache\\bin\\httpd.exe -d D:/BtSoft/apache'
AH00418: Parent: Created child process 4280
AH01873: Init: Session Cache is not configured
AH00354: Child: Starting 1500 worker threads.

骑着蜗牛来瞎逛 发表于 2024-8-9 01:20:54

刚才 0:52apache又自动停了,查看运行日志, 这个时间段没有发现有log记录。

FastCGI process 28288 still did not exit, terminating forcefully
FastCGI process 10064 still did not exit, terminating forcefully
FastCGI process 24992 still did not exit, terminating forcefully
FastCGI process 21040 still did not exit, terminating forcefully
FastCGI process 8256 still did not exit, terminating forcefully
FastCGI process 4300 still did not exit, terminating forcefully
FastCGI process 17712 still did not exit, terminating forcefully
FastCGI process 4160 still did not exit, terminating forcefully
FastCGI process 25324 still did not exit, terminating forcefully
FastCGI process 8260 still did not exit, terminating forcefully
FastCGI process 20688 still did not exit, terminating forcefully
AH02811: script not found or unable to stat: D:/BtSoft/apache/cgi-bin/luci
mod_fcgid: cleanup zombie process 24696
AH00098: pid file D:/BtSoft/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
AH01873: Init: Session Cache is not configured
AH00455: Apache/2.4.55 (Win64) OpenSSL/1.1.1s mod_fcgid/2.3.9a configured -- resuming normal operations
AH00456: Server built: Jan 15 2023 10:24:46
AH00094: Command line: 'd:\\BtSoft\\apache\\bin\\httpd.exe -d D:/BtSoft/apache'
AH00418: Parent: Created child process 4280
AH01873: Init: Session Cache is not configured
AH00354: Child: Starting 1500 worker threads.

骑着蜗牛来瞎逛 发表于 2024-8-9 01:25:08

刚才 0:52 发现apache又停了。。。运行日志如图


运维技术阿闯 发表于 2024-8-12 10:47:06

骑着蜗牛来瞎逛 发表于 2024-8-9 01:25
刚才 0:52 发现apache又停了。。。运行日志如图

您好,您的错误信息为进程未退出导致的,进程名是FastCGI
使用命令: ps -ef | grep fcgi-bin
查看是否退出,如果没有退出使用kill命令来退出

骑着蜗牛来瞎逛 发表于 2024-9-3 13:47:23

运维技术阿闯 发表于 2024-8-12 10:47
您好,您的错误信息为进程未退出导致的,进程名是FastCGI
使用命令: ps -ef | grep fcgi-bin
查看是否退 ...

问题原因知道了,怎么解决呢?现在自动停止服务越来越频繁了,8月31日晚自动停,昨晚又自动停。。。。:Q

运维技术阿闯 发表于 2024-9-3 14:45:10

骑着蜗牛来瞎逛 发表于 2024-9-3 13:47
问题原因知道了,怎么解决呢?现在自动停止服务越来越频繁了,8月31日晚自动停,昨晚又自动停。。。。 ...

您好,这个是您的进程吧,您项目的进程没有退出导致的吧,这个结局方法。这边话只能推荐是手动kill掉
页: [1]
查看完整版本: 【待反馈】apache自动停止服务,无法启动