Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee
2017-02-10 15:45
971 查看
从tomcat官网上下载了apache-tomcat-7.zip,在window 7系统里面解压以后,直接放在了Linux服务器上。
进入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_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
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]#
进入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_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
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]#
相关文章推荐
- 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
- 阿里云 esc 云服务器无缘无故的一次/usr/bin 目录丢失导致整个服务无法启动 # ./shutdown.sh ./shutdown.sh: line 41: dirname:command not found cannot find /catalina.sh the find /catalina.sh The file is absent or does not have execute
- [root@test bin]# ./startup.sh Cannot find ./catalina.sh The file is absent or does not have execute
- Linux下启动启动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
- linux系统中启动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
- 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
- he file is absent or does not have execute permission
- Cannot execute as the database principal because the principal "guest" does not exist, this type of principal cannot be impersonated, or you do not have permission.
- tomcat下出现The file is absent or does not have execute&
- The service cannot be activated because it does not support ASP.NET compatibility. ASP.NET compatibility is enabled for this application. Turn off ASP.NET compatibility mode in the web.config or add the AspNetCompatibilityRequirements attribute to the ser