Home > Web Front-end > H5 Tutorial > Summary of Tomcat uninstallation and problems that arise during the process

Summary of Tomcat uninstallation and problems that arise during the process

一个新手
Release: 2017-10-14 09:35:16
Original
6431 people have browsed it

First of all, my computer is win8 and Tomcat 9 is installed. Because I accidentally clicked something wrong before, tomcat suddenly failed to start, so I planned to uninstall and reinstall. During the reinstallation process, I encountered the following Question:

##一, proceed according to the normal uninstallation process, enter sc delete Tomcat9.0.0 in the command prompt. 0 Click Enter and a popup will pop up

[SC] OpenService failed:1060 The specified service is not installed

Error reason : is the entered service name, which is the Tomcat9.0.0.0 error above

Solution: Run->services.msc->Right-click Apache Tomcat9, select Properties, and open You can see the service name, mine is Tomcat9

, re-enter sc delete Tomcat9, click Enter, and ## will pop up

#SC OpenService Failure 5: Access Denied

Error reason: No access permission, (I installed Tomcat on the c drive)

Solution: Run the command prompt as an administrator,

(It should be noted that win7 and other systems (I have not studied the specific systems) are running the one that pops up There is an option to run with administrator privileges under the box, but it is not available in win8! ! The editor also spent a lot of effort to find the correct way to open it in win8. The specific operation of running the command prompt with administrator privileges is as follows: Click the win key on the keyboard to enter the start interface --> Click the downward arrow in the lower left corner of the interface to enter the application interface --> Find in the application interface Command Prompt -->Right-click to see the words Run with administrator privileges. PS: If you often use this function, you can pin it to the "Start" screen

)
Three,

Re-enter

sc delete Tomcat9, click Enter, and a prompt of successful deletion will pop up! ! !

##Four

, open the registry editor and delete the tomcat registry. The specific operations are as follows: Run-->regedit-->Edit-->Find tomcat-->Delete file

, Close all the messy interfaces opened above, Run->services.msc->Enter the service interface, you can see that there is no Apache Tomcat9...

At this point, tomcat has been uninstalled

The above is the detailed content of Summary of Tomcat uninstallation and problems that arise during the process. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template