wen i run red5.sh i get this
./red5.sh: line 3: syntax error near unexpected token `then'
./red5.sh: line 3: `JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0; then '
help please![]()
wen i run red5.sh i get this
./red5.sh: line 3: syntax error near unexpected token `then'
./red5.sh: line 3: `JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0; then '
help please![]()
the first couple of lines of our red5.sh is
I think you should compare yours to ours... and if you want, post your red5.sh here.... also you should double check your JAVA_HOME setting...Code:#!/bin/bash JAVA_HOME=/usr/bin/java; if [ -z "$RED5_HOME" ]; then export RED5_HOME=`pwd`; fi
Example from one of our servers:
SmogeCode:[root]# which java /usr/bin/java
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
well the thing is that i have the JDK installed on the server not the JRE im having trouble finding the right file ive been unable to find the jre1.xxx file
It does not matter.
See this post:
http://www.modmysite.com/security-se...hat-linux.html
and make sure you run the alternatives command, and setup the /etc/profile.d/java.sh
Smoge
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
ok working thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks