Hi I am a very beginner trying to get a VPS working with Centos 6.5 and Tomcat 6.0.39. I already reinstalled the server 3 times and am almost desperate, so am even willing to pay someone who helps me.
Tomcat 6 is required by openemm.org for a mailing lists and newsletters. And I am ready with a Creative Commons newsletter. Openemm.org provides an installation tutorial: http://sourceforge.net/projects/openemm/files/OpenEMM%20documentation/Documentation%20%28latest%20versions%29/OpenEMM-2013_InstallAdminGuide_1.1.pdf/download So I am following this tutorial that teaches how to install latest Java JDK7 first and Tomcat after as follows: Download the latest binary distribution of Tomcat release 6 from http://tomcat.apache.org. The core package is sufficient. The examples here use Tomcat 6.0.32 you should adapt them to the latest version of Tomcat 6 as needed: mkdir -p /opt/openemm cp apache-tomcat-6.0.32.tar.gz /opt/openemm cd /opt/openemm tar -xvzf apache-tomcat-6.0.32.tar.gz ln -s apache-tomcat-6.0.32 tomcat If you want to make sure that Tomcat works, enter the following commands: export JAVA_HOME="/opt/openemm/java" cd tomcat bin/startup.sh this command gives for me: [root@ns3098622 tomcat]# bin/startup.sh Using CATALINA_BASE: /opt/openemm/tomcat Using CATALINA_HOME: /opt/openemm/tomcat Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp Using JRE_HOME: "/opt/openemm/java" Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar [root@ns3098622 tomcat]# Then I am supposed to test it with http://localhost:8080 which in my case should be the address of my VPS I suppose: 94.23.44.200:8080 which is not reachable. Then the tutorial suggests to shutdown Tomcat with bin/shutdown.sh: [root@ns3098622 tomcat]# bin/shutdown.sh Using CATALINA_BASE: /opt/openemm/tomcat Using CATALINA_HOME: /opt/openemm/tomcat Using CATALINA_TMPDIR: /opt/openemm/tomcat/temp Using JRE_HOME: "/opt/openemm/java" Using CLASSPATH: /opt/openemm/tomcat/bin/bootstrap.jar /opt/openemm/tomcat/bin/catalina.sh: line 421: "/opt/openemm/java"/bin/java: No such file or directory So here I am getting an error, but am confused with this error. So please help me. If it is of any relevance the step before Tomcat was to install Java, that worked as expected from the tutorial: mkdir -p /opt/openemm cp jdk-7u25-linux-i586.tar.gz /opt/openemm cd /opt/openemm tar -xvzf jdk-7u25-linux-i586.tar.gz ln -s jdk1.7.0_25 java Then, to test the JDK: /opt/openemm/java/bin/java -version I get: java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode) So Java works as expected. best Franz