startup.sh not found

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

mikeg
Posts: 4
Joined: Mon Mar 26, 2012 3:11 pm

startup.sh not found

Post 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
OpenSuse 11.4 (vHost at Strato)
OpenEMM-2011
mokarram
Posts: 32
Joined: Thu Jan 19, 2012 11:27 pm

Re: startup.sh not found

Post by mokarram »

Check your tomcat installation path
Should be /opt/openemm/<tomcat-version>
and linked correctly as "tomcat"
mikeg
Posts: 4
Joined: Mon Mar 26, 2012 3:11 pm

Re: startup.sh not found

Post 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
OpenSuse 11.4 (vHost at Strato)
OpenEMM-2011
mikeg
Posts: 4
Joined: Mon Mar 26, 2012 3:11 pm

Re: startup.sh not found

Post 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 …
Post Reply