Page 1 of 1

startup.sh not found

Posted: Mon Mar 26, 2012 3:41 pm
by mikeg
Hello,

installation and configuration worked fine. But on start up i ran into startup.sh not found (line 57 in openemm.sh)
Tomcat6 and Java were found without any problems (checks were ok). My parameter for Tomcat6 (installed via Yast) and Java were

Code: Select all

OPENEMM_SW="opt/openemm"
CATALINA_BASE="$HOME"
CATALINA_HOME="/usr/share/tomcat6"
CATALINA_TMPDIR="$HOME/temp"
JAVA_HOME="/opt/openemm/java"
If i check there referred and other dirs no startup.sh can be found. Seems i got a newbee problem here. Code i got on startup

Code: Select all

/home/openemm/bin/openemm.sh: line 54: /usr/share/tomcat6/bin/startup.sh: Datei oder Verzeichnis nicht gefunden
Thanks for your support
mikeg

Re: startup.sh not found

Posted: Mon Mar 26, 2012 8:52 pm
by mokarram
Check your tomcat installation path
Should be /opt/openemm/<tomcat-version>
and linked correctly as "tomcat"

Re: startup.sh not found

Posted: Tue Mar 27, 2012 8:29 am
by mikeg
Hi Mokarram,

i linked in th eopenemm.sh to the system installation of tomcat. Even the path i get from

Code: Select all

#readlink -f $(which tomcat6)
/usr/sbin/tomcat6
won't work.

Thanks for reply
mikeg

Re: startup.sh not found

Posted: Tue Mar 27, 2012 9:08 am
by mikeg
SOLVED

YAST installation sucked since it seemed incomplete. Installing tomcat from scratch is quite simple an solved it.

1. Downloaded latest tomcat build (developer & core)
2. #tar -xvf both files
3. #readlink -f $(which java) to get JAVA path
4. Instered JAVA_HOME="[path to JAVA]" into startup.sh and shutdown.sh
5. Tested Tomcat with ./startup.sh and -/shutdown.sh (You get some code lines with Using …)
6. Created Symlink to tomcat with ln -s [path to tomcat dir] /opt/[path to openemm dir][/list]
7. started openemm

Thats it …