Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee
来源:互联网 发布:手机怎么申请淘宝账号 编辑:程序博客网 时间:2024/04/30 06:57
进入tomcat/bin目录,执行启动的时候出现如下错误:
[root@test 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
解决方法:
在tomcat 的bin目录下 执行这条命令
chmod +x *.sh
再次执行 sh catalina.sh通过,
然后用sh startup.sh启动成功
如下:
[root@test bin]# chmod +x *.sh
[root@test bin]# sh catalina.sh
Using CATALINA_HOME: /usr/local/duckling/tomcat-5.5.36
Using CATALINA_TMPDIR: /usr/local/duckling/tomcat-5.5.36/temp
Using JRE_HOME: /usr/Java/jdk1.7.0
Using CLASSPATH: /usr/local/duckling/tomcat-5.5.36/bin/bootstrap.jar
Usage: catalina.sh ( commands ... )
commands:
debug Start Catalina in a debugger
debug -security Debug Catalina with a security manager
jpda start Start Catalina under JPDA debugger
run Start Catalina in the current window
run -security Start in the current window with security manager
start Start Catalina in a separate window
start -security Start in a separate window with security manager
stop Stop Catalina
stop -force Stop Catalina (followed by kill -KILL)
version What version of tomcat are you running?
[root@test bin]# sh startup.sh
Using CATALINA_BASE: /usr/local/duckling/tomcat-5.5.36
Using CATALINA_HOME: /usr/local/duckling/tomcat-5.5.36
Using CATALINA_TMPDIR: /usr/local/duckling/tomcat-5.5.36/temp
Using JRE_HOME: /usr/java/jdk1.7.0
Using CLASSPATH: /usr/local/duckling/tomcat-5.5.36/bin/bootstrap.jar
[root@test bin]#
0 0
- Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee
- Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee
- Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee
- Cannot find bin/catalina.sh The file is absent or does not have execute permission
- The file is absent or does not have execute permission
- 启动tomcat 服务报 The file is absent or does not have execute permission
- 启动tomcat 服务报 The file is absent or does not have execute permission
- 启动tomcat 服务报 The file is absent or does not have execute permission
- 启动tomcat 服务报 The file is absent or does not have execute permission
- linux 启动tomcat 服务报 The file is absent or does not have execute permission
- 启动tomcat 服务报 The file is absent or does not have execute permission
- The file is absent or does not have execute permission 启动tomcat异常
- Linux下启动启动tomcat 服务器报错 The file is absent or does not have execute permission
- linux系统中启动tomcat 服务报 The file is absent or does not have execute permission
- Cannot find ./catalina.sh This file is needed to run this program
- The project file .csproj cannot be opened." The project type is not supported by this installation.
- The MySQL server is running with the --secure-file-priv option so it cannot execute this statement解决
- MYSQL导出数据出现The MySQL server is running with the --secure-file-priv option so it cannot execute this
- python 调用摄像头,基于opencv 的人脸检测实现
- 使用vs2013、CodeBlocks分别编译cgal
- iOS开发中在许多项目中涉及的身份证验证等问题
- [Android L]SEAndroid开放设备文件结点权限(读或写)方法(涵盖常用操作:sys/xxx、proc/xxx、SystemProperties)热门干货
- java中Map,List与Set的区别
- Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee
- sigwait函数详解
- linux中单引号、双引号、以及反引号的区别
- Java基础之(二十六)对象与垃圾回收
- 网易笔试题:饥饿的小易
- 抽象与接口
- java内存分配分析
- sigwait函数
- OpenCV学习笔记(六):使用查找表修改图像外观