On 27.06.2018 23:06, kevin ferguson wrote:
Hi Guys

I have a configured Tomcat server 8.5 and java installed 1.8.0_171.
Java_home and Catalina_home configured and working.  Here is a short
version from my .bashrc
---
#Setup home for java and openolat
export CATALINA_BASE=/opt/tomcat
export CATALINA_HOME=/opt/tomcat
export JAVA_HOME=/usr/lib/jvm/java-8-oracle


I am running Ubuntu 16.04 in virtualbox.  I and trying to setup
Openolat 12.50 Learning management system.  Here is the installation
notes.  https://www.openolat.com/fileadmin/adminwiki/_START_.html

When I create the setenv.sh as per wiki instructions from above,  I
run the ./start on the commandline and get the setclasspath error see
attached below.
--
sudo ./start
: not found/bin/catalina.sh: 7: /opt/tomcat/bin/setenv.sh:
/bin/setclasspath.shcat
This file is needed to run this program
I guess that you or someone modified catalina.sh: The error message says that /bin/setclasspath.shcat is missing - this rather looks like someone removed a linebreak or started to type a command at the wrong location.

I'd suggest that you compare your bin/ directory content with the plain vanilla versions of the files from a fresh download.

Further more: Tomcat does not have a "start" command - it has "startup.sh", which you should *never* start as root (e.g. through sudo). If you indeed use "start", I suggest that you ask this question in the openolat community, because that would be theirs. I don't even see any command on that Wiki page you posted, and you're probably not asking us to go through the full wiki to figure out which instruction you followed, right?

A quick way to locate the problematic line is "grep setclasspath.shcat /opt/tomcat/bin/*", the output should give you the name of the file containing the typo.

Olaf

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to