执行启动tomcat命令./startup.sh 提示 Cannot find ./catalina.sh The file is absent or does not have execute permission This file is needed to run this program 问题原因:没有给bin目录下的文件授权可执行权限: chmod +x bin/*.sh 然后用sh startup.sh启动成功
参考:http://dearseven.blog.163.com/blog/static/1005379222013764440253/ linux 下启动tomcat [root@test233 bin]# sh startup.sh Cannot find ./catalina.shThe file is absent or does not have execute permissionThis file is needed to run this program 解决办法:给.sh文件授
从tomcat官网上下载了apache-tomcat-5.5.36.zip,在window xp系统里面解压以后,直接放在了linux服务器上. 进入tomcat/bin目录,执行启动的时候出现如下错误: [root@test bin]# ./startup.shCannot find ./catalina.shThe file is absent or does not have execute permissionThis file is needed to run this program
将生产服务器的Tomcat目录打包过来后解压后,启动Tomcat后,发现如下问题: # ./shutdown.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/java/jdk1.7.52 /usr/local/tomcat/
从终端进入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启动成功
上传了个tomcat7的压缩包上linux服务器,解压后,想直接启动,发现报错: Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee 解决方法: 1.在tomcat 的bin目录下 执行这条命令chmod +x *.sh 2.再次执行 sh catalina.sh通过, 3.然后用sh startup.sh启动成功
原文:https://blog.csdn.net/reblue520/article/details/52588825 将生产服务器的Tomcat目录打包过来后解压后,启动Tomcat后,发现如下问题: # ./shutdown.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp
#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file t
windows中修改catalina.sh上传到linux执行报错This file is needed to run this program解决 一.发现问题 由于tomcat内存溢出,在windows下修改了catalina.sh,然后通过ssh传到linux服务器上,执行catalina.sh时出现如下错误: Cannot find ./catalina.sh This file is needed to run this program 二.尝试解决 使用sh catalina.sh命
stack overflow 给出的答案: catalina.sh run starts tomcat in the foreground, displaying the logs on the console that you started it. Hitting Ctrl-C will terminate tomcat. startup.sh will start tomcat in the background. You'll have to tail -f logs/catalina.