Results 1 to 5 of 5

Thread: Ray media server problem

  1. #1

    Join Date
    May 2010
    Posts
    19

    Default Ray media server problem

    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

  2. #2
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    the first couple of lines of our red5.sh is

    Code:
    #!/bin/bash
    
    JAVA_HOME=/usr/bin/java;
    
    if [ -z "$RED5_HOME" ]; then 
      export RED5_HOME=`pwd`; 
    fi
    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...

    Example from one of our servers:

    Code:
    [root]# which java
    /usr/bin/java
    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.

  3. #3

    Join Date
    May 2010
    Posts
    19

    Default

    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

  4. #4
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Quote Originally Posted by dertycash View Post
    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.

  5. #5

    Join Date
    May 2010
    Posts
    19

    Default

    ok working thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •