Several errors and workarounds encountered in installing Apache [ERROR] Apache2.2:service is already installed. (OS 1060) The specified service is not installed. : Apache2.2

Source: Internet
Author: User

[ERROR] Apache2.2:service is already installed.

(OS 1060) The specified service is not installed. : Apache2.2

The above two errors can generally be resolved by reinstalling Apache in the following way

Tip Apache has already been installed.

Open the service, describe the sort, find the service that contains the Apache word to judge is not previously loaded with other software comes with Apache, uninstall.

If the software with Apache is uninstalled, but Apache does not uninstall it, it is completely removed by the following method.

Right-click the service name-property to find the executable path through this path to find the EXE file specified by this service and the folder where it was deleted. If the hint is being used, it cannot be deleted. Then use the following method:

There are two ways to delete:
Method One: Use sc.exe this Windows command
Start-run--cmd.exe and enter SC to see it. The way to use it is simple:
SC Delete "service name" (if there is a space in the middle of the service name, it needs to be quoted before and after)
As for the above: SC Delete Apache2.2 (this method I have tried to do)
Method Two: Edit the Registry directly
Open Registry Editor and locate the following key value:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services General Service will be shown here in the same name (similar to Apache2.2) a main health, directly delete the relevant key value can be.



If apache2.2 is not found in the service, it is in the registration table.

Open Registry Editor and locate the following key value:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services General Service will be shown here in the same name (similar to Apache2.2) a main health, directly delete the relevant key value can be.


Through the above operation, basically determined that the previously installed Apache has been cleaned up, it is best to restart the computer, reinstall the currently downloaded Apache software.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.