windows安装Apache,注册服务时出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."
2016-08-20 18:53
941 查看
由于好多的使用者与我一样,在安装apache时,使用的是ZIP版本服务器,而非MSI安装版本,所以要通过自己在任务管理器上注册一个服务
会出现下面的错误:
错误很明显,其实就是让我们使用管理员身份运行cmd
然后重新输入
并且加入注册服务的命令为:httpd.exe -k install -n "ServiceName"(ServiceName)为Apache在windows服务中的名字。例如:httpd.exe -k install -n "Apache24"
输入httpd.exe -k install -n "Apache24"后,会有成功安装的提示,“服务”也会有Apache24这个服务项。这个时候可以选择启动,启动Apache服务。
如果要卸载这个服务的话,先要停止这个服务,然后输入httpd.exe -k uninstall -n "Apache24"卸载这个服务。
以后可以通过Apache24\bin文件夹下的ApacheMonitor.exe来控制这个Apache。相对来说比较方便
方式:直接启动ApacheMonitor.exe这个执行命令就可,会弹出一个框(如下图)可供使用者开启/关闭Apache服务器
ok!完成啦
会出现下面的错误:
错误很明显,其实就是让我们使用管理员身份运行cmd
然后重新输入
并且加入注册服务的命令为:httpd.exe -k install -n "ServiceName"(ServiceName)为Apache在windows服务中的名字。例如:httpd.exe -k install -n "Apache24"
输入httpd.exe -k install -n "Apache24"后,会有成功安装的提示,“服务”也会有Apache24这个服务项。这个时候可以选择启动,启动Apache服务。
如果要卸载这个服务的话,先要停止这个服务,然后输入httpd.exe -k uninstall -n "Apache24"卸载这个服务。
以后可以通过Apache24\bin文件夹下的ApacheMonitor.exe来控制这个Apache。相对来说比较方便
方式:直接启动ApacheMonitor.exe这个执行命令就可,会弹出一个框(如下图)可供使用者开启/关闭Apache服务器
ok!完成啦
相关文章推荐
- windows安装Apache,注册服务出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."
- windows安装Apache,注册服务出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."错误
- windows安装Apache,注册服务出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."错误 [转]
- windows安装Apache,注册服务出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."错误
- windows安装Apache,注册服务出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."错误
- windows安装Apache,注册服务出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."错误
- windows安装Apache,注册服务出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."错误
- windows安装Apache,注册服务出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."错误
- win10安装Apache,注册服务出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."错误
- 配置安装Apache主服务发生错误:"(OS 5)拒绝访问。 : AH00369: Failed to open the Windows service manager, perh······ "
- Apache2.4安装中出现“(OS 5)拒绝访问。 : AH00369: Failed to open the WinNT service manager..."错误”
- 配置安装Apache主服务发生错误:"(OS 5)拒绝访问。 : AH00369: Failed to open the Windows service manager, perh······ "
- 配置安装Apache主服务发生错误:"(OS 5)拒绝访问。 : AH00369: Failed to open the Windows service manager, perh······ "
- Win7 安装Apache 2.2.4报错:<OS 5>拒绝访问. :Failed to open the WinNT service manager
- Win7 安装Apache 2.2.4报错:<OS 5>拒绝访问. :Failed to open the WinNT service manager
- Apache HttpServer Installing the apache2.2 service <OS 5>拒绝访问. :Failed to open the WinNT service manager
- Apache 安装出现 Failed to open the Windows service manager, perhaps you forgot to log in as Adminstrator
- Apache 安装出现 Failed to open the Windows service manager, perhaps you forgot to log in as Adminstrator
- windows7 安装Apache2时出现failed to open the winNT service manager 提示
- 【Apache】安装时报错“Failed to open the WinNT service manager”