多比 发表于 2020-7-9 11:44:45

【已解决】apache无法正常更新到2.4.41

本帖最后由 ubontu 于 2020-10-29 10:05 编辑

按照更新提示操作“更新”,apache无法正常更新到2.4.41,日志显示upgrade【已完成】耗时24秒,结果发现服务器的Apache服务丢失了,站点无法访问,只能通过如下方法修复
//////////////////////
在bin目录中找到httpd.exe命令,如下图所示。启动cmd,即命令行,使用管理员身份运行,cd至该bin目录下。

使用cmd执行如下命令进行服务的安装:httpd.exe -k install -n Apache

安装完成后,使用命令net start Apache来启动
///////////////////////////////////////////////////////

问题:面板版本 6.7.0Apache2.4.39升级到2.4.41 出现丢失Apache服务,无法升级成功的i情况

zuantou 发表于 2020-7-9 13:18:15

贴Apache失败的日志看看https://www.bt.cn/bbs/data/attachment/forum/202007/07/091802ezxjxej56bv1gzce.png

大炮运维V587 发表于 2020-7-10 11:04:04

您好,方便私聊下您的服务器信息给我吗?我看下是什么问题导致的

多比 发表于 2020-8-13 23:14:31

正在解压...
Traceback (most recent call last):
File "install_soft.py", line 38, in <module>
    module.update_soft(downurl)
File "D:\BT_Server\BtSoft\panel\install\panel_apache.py", line 119, in update_soft
    rRet = self.install_soft(downurl)
File "D:\BT_Server\BtSoft\panel\install\panel_apache.py", line 72, in install_soft
    zip_file.extract(names,path)      
File "C:\Program Files\python\lib\zipfile.py", line 1484, in extract
    return self._extract_member(member, path, pwd)
File "C:\Program Files\python\lib\zipfile.py", line 1555, in _extract_member
    open(targetpath, "wb") as target:
PermissionError: Permission denied: 'D:\\BT_Server\\BtSoft\\apache\\bin\\ApacheMonitor.exe'

多比 发表于 2020-8-13 23:17:36

已解决!是apache设置了启动占用了进程造成的,彻底退出再更新即可
页: [1]
查看完整版本: 【已解决】apache无法正常更新到2.4.41