tomcat The file is absent or does not have execute permission

[[email protected] bin]# ./startup.sh
Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program
[[email protected] bin]# ll -h startup.sh
-rwxrwxrwx. 1 root root 1.9K Nov  3  2014 startup.sh
[[email protected] bin]# chmod 777 *.sh
[[email protected] bin]# ./startup.sh
Using CATALINA_BASE:   /usr/local/tomcat
Using CATALINA_HOME:   /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME:        /usr/local/java/jdk1.7.0_71/jre
Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.
时间: 2024-12-29 23:12:43

tomcat The file is absent or does not have execute permission的相关文章

The file is absent or does not have execute permission This file is needed to run this program

tomcat下载后发现startup.sh文件启动不了 原因: 没有权限 解决方案:chmod 777 *.sh 原文地址:https://www.cnblogs.com/dk1024/p/12361448.html

tomcat下出现The file is absent or does not have execute&

启动tomcat出现The file is absent or does not have execute permission... Cannot find bin/catalina.sh The file is absent or does not have execute permission This file is needed to run this program 通常在服务器上直接copy tomcat后,启动start.sh出现,看错误是权限不足. 用有执行授权的权限账号在bi

Tomcat7源码分析学习系列之一-----tomcat的启动文件startup的注释

1. Windows系统,tomcat启动文件startup.bat @echo off rem 关闭回显,不显示下面的命令:rem Licensed to the Apache Software Foundation (ASF) under one or morerem contributor license agreements. See the NOTICE file distributed withrem this work for additional information rega

Ubuntu16.04 安装JDK Tomcat

Ubuntu16.04安装jdk,下载linux中的64版本 需要下载jdk,tomcat安装包 tar.gz版本的 http://pan.baidu.com/s/1mi4WVhA 安装JDK: [email protected]:~$ sudo mkdir /java [sudo] hongdada 的密码: hongdada[email protected]:~$ cd /Downloads bash: cd: /Downloads: 没有那个文件或目录 [email protected]:

启动tomcat的Cannot find ./catalina.sh 的问题

从终端进入tomcat的bin目录,然后执行startup.sh Cannot find bin/catalina.sh The file is absent or does not have execute permission This file is needed to run this program 其实这里是权限, 解决方法: 依旧在tomcat 的bin目录下 执行 chmod +x *.sh 然后用sh startup.sh启动成功

linux下装tomcat

下载完整的包,官网中bootstrap.jar包有的没有 tomcat文件都不要动 etc/profile中配置如下jdk: export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.15export CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jarexport CATALINA_HOME=/usr/share/tomcat6export CATALINA_BASE=/usr/share/tomc

Tomcat探秘(4):tomcat启动过程详述

熟悉Tomcat的工程师们,或者从事Java开发的,肯定都知道Tomcat是如何启动和停止的.在Tomcat源码包里面有个bin目录,该目录下放置了一些很重要的脚本,Tomcat启动和停止的脚本程序就放在这里,分别是startup.bat.shutdown.bat(Windows环境)和start.sh.shutdown.sh(Linux.Unix环境).大家一定都知道如何使用它们,接下来就是研究一下它们是如何实现启动和停止服务的. 在实际的生产环境下,绝大多数的Tomcat都是部署在Linux

Intellij idea远程调试Tomcat

修改catalina.sh第273行 由JPDA_ADDRESS="localhost:8000"改为JDPA_ADDRESS="8000" start.sh改成如下: #!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements.  See the NOTICE file distributed with

ubuntu14.04 64位 安装Tomcat

1 下载Tomcat 在htt://www.tomcat.apache.org官网上下载apache-tomcat-7.0.57.tar.gz 2 解压Tomcat [email protected]:~$ cd 下载 [email protected]:~$ [email protected]:~/下载$ tar -zxvf apache-tomcat-7.0.57.tar.gz apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/cal