我从Linux服务器(CentOS)中删除了几个Tomcat安装。在安装Tomcat 8之后,现在当我尝试启动Tomcat 8 (./startup.sh)时,会出现以下错误:
Cannot find /opt/apache-tomcat-7.0.56/bin/setclasspath.sh
This file is needed to run this program
似乎我还没有正确地删除以前安装的tomcat。我怎么才能让这个发挥作用。帮助。
更新
[root@localhost bin]# ./startup.sh
Using CATALINA_BASE: /usr/local/
当我试图安装任何软件或重新安装tomcat7时,我会遇到以下错误:
Job for tomcat7.service failed because the control process exited with
error code. See "systemctl status tomcat7.service" and "journalctl
-xe" for details. invoke-rc.d: initscript tomcat7, action "start" failed. dpkg: error processing package
当我尝试在(RedHat)RHEL7的Tomcat7上安装OpenAM 12.0.0时,我得到了一个错误,显示为Configurator does not have write access to /usr/share/tomcat。
我通过yum install tomcat安装了Tomcat7,当这个过程完成时,它创建了一个用户tomcat,并为tomcat组分配了正确的权限
ls -la /usr/share/tomcat
tomcat是用用户tomcat启动的,我用来启动这个命令service tomcat start。
更奇怪的是,OpenAM安装程序可以在webapps、log
我正在尝试使用操作码厨师食谱安装tomcat6。我得到了下面的错误。
Recipe: tomcat::default
* package[tomcat6] action install
* No version specified, and no candidate version available for tomcat6
================================================================================
Error executing action `install` on resource '
我尝试在EC2实例上安装tomcat服务器。完成安装后,成功安装并启动。请查看下面的日志:
ubuntu@ip-XXX-XX-X-XXX:~/apache-tomcat-8.5.43/bin$ /home/ubuntu/apache-
tomcat-8.5.43/bin/startup.sh
Using CATALINA_BASE: /home/ubuntu/apache-tomcat-8.5.43
Using CATALINA_HOME: /home/ubuntu/apache-tomcat-8.5.43
Using CATALINA_TMPDIR: /home/ubuntu/ap