troubleshooting Question

Failing to run http://ip:8080

Avatar of Anthony Matovu
Anthony MatovuFlag for Uganda asked on
LinuxJava* Tomcat
15 Comments1 Solution90 ViewsLast Modified:
I am not able to open tomcat installed on linux server

I have just installed java and tomcat on a VPS Unmanaged server for a2 hosting.

but when i type in i get the message "No such file or directory" instead of opening tomcat.


checking java and tomcar shows message below which looks good

the catalina.out has this content
[root@server logs]# vim catalina.out
/usr/local/tomcat9/bin/ line 484: /opt/jdk-14/bin/java: No such file or directory
/usr/local/tomcat9/bin/ line 484: /usr/lib/jvm/java-11-openjdk- Not a directory
/usr/local/tomcat9/bin/ line 484: /usr/lib/jvm/java-11-openjdk- Not a directory

[root@server ~]# java -version
openjdk version "11.0.6" 2020-01-14 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode, sharing)
[root@server ~]# $CATALINA_HOME/bin/
Using CATALINA_BASE:   /usr/local/tomcat9
Using CATALINA_HOME:   /usr/local/tomcat9
Using CATALINA_TMPDIR: /usr/local/tomcat9/temp
Using JRE_HOME:        /usr/lib/jvm/java-11-openjdk-
Using CLASSPATH:       /usr/local/tomcat9/bin/bootstrap.jar:/usr/local/tomcat9/bin/tomcat-juli.jar
Tomcat started.
[root@server ~]#
-bash: No such file or directory

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 15 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros