`

安装apache遇到的几个错误及解决办法 [error] Apache2.2: Service is already installed.

阅读更多

[error] Apache2.2: Service is already installed.

(OS 1060)指定的服务未安装。 : Apache2.2

以上两个错误一般可以通过下面的方法重新安装apache而得到解决

提示apache已经安装过了。

打开服务,描述排序,找到包含apache字样的服务判断是不是以前装其他软件自带的apache,卸载。

如果带有apache的软件已经卸载,但是apache没有卸载,那么就通过下面的方法彻底删除。

右键那个服务名称--属性 找到 可执行文件路径 通过此路径 找到这个服务所指定的EXE文件以及所在的文件夹,删除。如果提示正在使用删除不了。那么通过下面的方法:

删除的办法有两个:
  办法一: 用sc.exe这个Windows命令
  开始--运行--cmd.exe,然后输入sc就可以看到了。使用办法很简单:
  sc delete “服务名” (如果服务名中间有空格,就需要前后加引号)
  如针对上面的: sc delete Apache2.2(这个方法我已经试过了可以的)
  方法二:直接进行注册表编辑
  打开注册表编辑器,找到下面的键值:
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services 一般服务会以相同的名字在这里显示(类似Apache2.2)一个主健,直接删除相关的键值便可。



如果在服务里找不到apache2.2 说明它在注册表里

打开注册表编辑器,找到下面的键值:
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services 一般服务会以相同的名字在这里显示(类似Apache2.2)一个主健,直接删除相关的键值便可。

分享到:
评论

相关推荐

    Start

    [Fri Oct 05 15:16:24 2007] [error] apache2: Service is already installed. The service already exists! The current server installed: D:\PC_webserver\mysql\bin\mysqld-nt.exe --default -file=D:\PC_web...

    apktool documentation

    If you try you will get an error message. $ apktool d HtcContacts.apk I: Loading resource table... I: Decoding resources... I: Loading resource table from file: 1.apk W: Could not decode attr value,...

    shell-编写lanmp一键安装脚本

    ### Shell-编写Lanmp一键...它不仅包含了基本的命令使用,还涉及到错误处理、状态检查、自定义函数等多个方面,为用户提供了一个完整的自动化安装解决方案。在实际应用中,可以根据需求对脚本进行进一步的优化和扩展。

    php.ini-development

    You may be able to send headers and cookies after you've already sent output ; through print or echo. You also may see performance benefits if your server is ; emitting less packets due to buffered ...

    利用 Oracle 和 PHP 管理分布式跟踪文件

    consequently it is a sensible idea to verify that your java layer is behaving as expected before you try starting up the utility as TFMADMIN, try this exec pack_trace_file_manager.pc_generate_file_...

Global site tag (gtag.js) - Google Analytics