Home >Operation and Maintenance >CentOS >Centos system prompts insufficient permissions when starting tomcat

Centos system prompts insufficient permissions when starting tomcat

王林
王林Original
2020-03-21 15:21:533575browse

Centos system prompts insufficient permissions when starting tomcat

Problem description:

Starting tomcat in centos7 prompts bash: tomcat8.0.39/bin/startup.sh: Insufficient permissions

Solution:

(Recommended tutorial: centos usage tutorial)

First enter the bin directory

[root@localhost/]# cd /soft/apache-tomcat-8.0.39/bin

and then execute the following command:

[root@localhost bin]# chmod u+x *.sh

Finally restart the application service on the bin command line

[root@localhost bin]# ./startup.sh

Recommended related video tutorials: linux video tutorial

The above is the detailed content of Centos system prompts insufficient permissions when starting tomcat. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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