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

【已完成】apache 无法重启,加载,停止

发表在 Linux面板2023-8-24 20:35 [复制链接] 10 3467

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:liunx 8.0.2
系统版本:CentOS 7.9.2009 x86_64(Py3.7.9) 
问题描述:apache 无法重启,加载,停止
日志Init: Session Cache is not configured [hint: SSLSessionCache]
No slotmem from mod_heartmonitor
Apache/2.4.57 (Unix) OpenSSL/1.1.1o configured -- resuming normal operations
Command line: '/www/server/apache/bin/httpd'
SIGUSR1 received.  Doing graceful restart
相关截图(日志、错误):提示错误  INIT_EXEC_ERR_NOT

使用道具 举报 只看该作者 回复
发表于 2023-8-24 21:14:56 | 显示全部楼层
您好,您可尝试卸载重装一下apache服务,如重装依旧不行,则将安装的执行日志截图看一下 安装日志.png
使用道具 举报 回复 支持 反对
发表于 2023-8-24 21:39:48 | 显示全部楼层
堡塔运维盏尽 发表于 2023-8-24 21:14
您好,您可尝试卸载重装一下apache服务,如重装依旧不行,则将安装的执行日志截图看一下 ...

好的 我试试看
使用道具 举报 回复 支持 反对
发表于 2023-8-25 00:39:11 | 显示全部楼层
堡塔运维盏尽 发表于 2023-8-24 21:14
您好,您可尝试卸载重装一下apache服务,如重装依旧不行,则将安装的执行日志截图看一下 ...

mkdir /www/server/apache/conf/extra
mkdir /www/server/apache/conf/original
mkdir /www/server/apache/conf/original/extra
Installing HTML documents
mkdir /www/server/apache/htdocs
Installing error documents
mkdir /www/server/apache/error
Installing icons
mkdir /www/server/apache/icons
mkdir /www/server/apache/logs
Installing CGIs
mkdir /www/server/apache/cgi-bin
Installing header files
Installing build system files
Installing man pages and online manual
mkdir /www/server/apache/man
mkdir /www/server/apache/man/man1
mkdir /www/server/apache/man/man8
mkdir /www/server/apache/manual
make[1]: Leaving directory `/www/server/apache/src'
--2023-08-25 00:36:15-- https://dg2.bt.cn/conf/httpd24.conf
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18385 (18K) [application/octet-stream]
Saving to: ‘/www/server/apache/conf/httpd.conf’

0K .......... ....... 100% 51.0M=0s

2023-08-25 00:36:16 (51.0 MB/s) - ‘/www/server/apache/conf/httpd.conf’ saved [18385/18385]

--2023-08-25 00:36:16-- https://dg2.bt.cn/conf/httpd-vhosts.conf
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2352 (2.3K) [application/octet-stream]
Saving to: ‘/www/server/apache/conf/extra/httpd-vhosts.conf’

0K .. 100% 198M=0s

2023-08-25 00:36:16 (198 MB/s) - ‘/www/server/apache/conf/extra/httpd-vhosts.conf’ saved [2352/2352]

--2023-08-25 00:36:16-- https://dg2.bt.cn/conf/httpd-default.conf
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2482 (2.4K) [application/octet-stream]
Saving to: ‘/www/server/apache/conf/extra/httpd-default.conf’

0K .. 100% 147M=0s

2023-08-25 00:36:16 (147 MB/s) - ‘/www/server/apache/conf/extra/httpd-default.conf’ saved [2482/2482]

--2023-08-25 00:36:16-- https://dg2.bt.cn/conf/mod_remoteip.conf
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 114 [application/octet-stream]
Saving to: ‘/www/server/apache/conf/extra/mod_remoteip.conf’

0K 100% 7.44M=0s

2023-08-25 00:36:16 (7.44 MB/s) - ‘/www/server/apache/conf/extra/mod_remoteip.conf’ saved [114/114]

--2023-08-25 00:36:16-- https://dg2.bt.cn/conf/httpd-mpm.conf
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4450 (4.3K) [application/octet-stream]
Saving to: ‘/www/server/apache/conf/extra/httpd-mpm.conf’

0K .... 100% 338M=0s

2023-08-25 00:36:16 (338 MB/s) - ‘/www/server/apache/conf/extra/httpd-mpm.conf’ saved [4450/4450]

--2023-08-25 00:36:16-- https://dg2.bt.cn/error/index.html
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1326 (1.3K) [text/html]
Saving to: ‘/www/server/apache/htdocs/index.html’

0K . 100% 115M=0s

2023-08-25 00:36:16 (115 MB/s) - ‘/www/server/apache/htdocs/index.html’ saved [1326/1326]

--2023-08-25 00:36:16-- https://dg2.bt.cn/init/init.d.httpd
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2020 (2.0K) [application/octet-stream]
Saving to: ‘/etc/init.d/httpd’

0K . 100% 183M=0s

2023-08-25 00:36:16 (183 MB/s) - ‘/etc/init.d/httpd’ saved [2020/2020]

start apache... done
|-Successify --- 命令已执行! ---
使用道具 举报 回复 支持 反对
发表于 2023-8-25 00:42:29 | 显示全部楼层
mkdir /www/server/apache/conf/extra
mkdir /www/server/apache/conf/original
mkdir /www/server/apache/conf/original/extra
Installing HTML documents
mkdir /www/server/apache/htdocs
Installing error documents
mkdir /www/server/apache/error
Installing icons
mkdir /www/server/apache/icons
mkdir /www/server/apache/logs
Installing CGIs
mkdir /www/server/apache/cgi-bin
Installing header files
Installing build system files
Installing man pages and online manual
mkdir /www/server/apache/man
mkdir /www/server/apache/man/man1
mkdir /www/server/apache/man/man8
mkdir /www/server/apache/manual
make[1]: Leaving directory `/www/server/apache/src'
--2023-08-25 00:36:15-- https://dg2.bt.cn/conf/httpd24.conf
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18385 (18K) [application/octet-stream]
Saving to: ‘/www/server/apache/conf/httpd.conf’

0K .......... ....... 100% 51.0M=0s

2023-08-25 00:36:16 (51.0 MB/s) - ‘/www/server/apache/conf/httpd.conf’ saved [18385/18385]

--2023-08-25 00:36:16-- https://dg2.bt.cn/conf/httpd-vhosts.conf
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2352 (2.3K) [application/octet-stream]
Saving to: ‘/www/server/apache/conf/extra/httpd-vhosts.conf’

0K .. 100% 198M=0s

2023-08-25 00:36:16 (198 MB/s) - ‘/www/server/apache/conf/extra/httpd-vhosts.conf’ saved [2352/2352]

--2023-08-25 00:36:16-- https://dg2.bt.cn/conf/httpd-default.conf
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2482 (2.4K) [application/octet-stream]
Saving to: ‘/www/server/apache/conf/extra/httpd-default.conf’

0K .. 100% 147M=0s

2023-08-25 00:36:16 (147 MB/s) - ‘/www/server/apache/conf/extra/httpd-default.conf’ saved [2482/2482]

--2023-08-25 00:36:16-- https://dg2.bt.cn/conf/mod_remoteip.conf
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 114 [application/octet-stream]
Saving to: ‘/www/server/apache/conf/extra/mod_remoteip.conf’

0K 100% 7.44M=0s

2023-08-25 00:36:16 (7.44 MB/s) - ‘/www/server/apache/conf/extra/mod_remoteip.conf’ saved [114/114]

--2023-08-25 00:36:16-- https://dg2.bt.cn/conf/httpd-mpm.conf
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4450 (4.3K) [application/octet-stream]
Saving to: ‘/www/server/apache/conf/extra/httpd-mpm.conf’

0K .... 100% 338M=0s

2023-08-25 00:36:16 (338 MB/s) - ‘/www/server/apache/conf/extra/httpd-mpm.conf’ saved [4450/4450]

--2023-08-25 00:36:16-- https://dg2.bt.cn/error/index.html
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1326 (1.3K) [text/html]
Saving to: ‘/www/server/apache/htdocs/index.html’

0K . 100% 115M=0s

2023-08-25 00:36:16 (115 MB/s) - ‘/www/server/apache/htdocs/index.html’ saved [1326/1326]

--2023-08-25 00:36:16-- https://dg2.bt.cn/init/init.d.httpd
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2020 (2.0K) [application/octet-stream]
Saving to: ‘/etc/init.d/httpd’

0K . 100% 183M=0s

2023-08-25 00:36:16 (183 MB/s) - ‘/etc/init.d/httpd’ saved [2020/2020]

start apache... done
|-Successify --- 命令已执行! ---
使用道具 举报 回复 支持 反对
发表于 2023-8-25 01:19:46 | 显示全部楼层
8.0.1 没有问题  就8.0.2 出现这个问题
有8.0.1的安装命令吗
使用道具 举报 回复 支持 反对
发表于 2023-8-25 16:43:27 | 显示全部楼层
堡塔运维盏尽 发表于 2023-8-24 21:14
您好,您可尝试卸载重装一下apache服务,如重装依旧不行,则将安装的执行日志截图看一下 ...

能否解决?一直提示ssl问题,宝塔面板不开启ssl,运行不正常
使用道具 举报 回复 支持 反对
发表于 2023-9-18 14:14:26 | 显示全部楼层
我的也是面板、插件版本:liunx 8.0.2,Apahce已经发生两次错误,每次提示:  INIT_EXEC_ERR_NOT;每次都要卸载重新安装。
使用道具 举报 回复 支持 反对
发表于 2023-9-21 09:16:59 | 显示全部楼层
本帖最后由 海卫 于 2023-9-21 09:22 编辑

我的也是面板、插件版本:liunx 8.0.2,Apahce无法重启、停止、加载配置,都提示:  INIT_EXEC_ERR_NOT,已经发生错误;
麻烦官网的技术开发人员尽快帮忙处理已这个版本下的Apahce 无法重启、停止、重新加载等操作,每次提示:  INIT_EXEC_ERR_NOT。

apache_restart_error.png

使用道具 举报 回复 支持 反对
发表于 2023-9-21 09:31:43 | 显示全部楼层
我刚才通过面板修复之后,再去重启Apache服务就正常了。
使用道具 举报 回复 支持 反对
发表于 2023-10-10 17:43:21 | 显示全部楼层
您好,您的问题是否已解决呢?如还有疑问您可重新发帖咨询,谢谢!
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

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