Koozali.org: home of the SME Server

Red5

Offline Parsival1973

  • ***
  • 52
  • +0/-0
Red5
« on: April 23, 2011, 08:26:35 AM »
Is there a HowTo for installing Red5. I would like to have it run on start up and be accessable on the Internet side of my server. I am running in server/gateway mode and have a flash chat room I would like to use on my web page. Any help would be appreciated.

Thank you,

Offline Parsival1973

  • ***
  • 52
  • +0/-0
Re: Red5
« Reply #1 on: April 29, 2011, 04:46:00 AM »
Hmmm... Has anyone gotten Red5 operating on SME as per my previous post???

Offline Jeppe Fugl

  • **
  • 33
  • +0/-0
Re: Red5
« Reply #2 on: April 29, 2011, 01:03:55 PM »

Offline Parsival1973

  • ***
  • 52
  • +0/-0
Re: Red5
« Reply #3 on: May 01, 2011, 01:10:06 AM »
I have tried various versions and instructions that are generic linux install methods in nature. My challenge while it seems to install and I can get a manual script to start it I have bee unable to successfully get it to be accessable on the internet side of things or start automatically on boot (although without the first working, the there is no point for the second). My hope was that if someone else had successfully installed it and had it operating in this fashion that I could see what steps I am missing to complete the install.

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Red5
« Reply #4 on: May 01, 2011, 01:15:39 PM »
Here are some notes I made when installing "I2P" (another java-based, internet-facing server):
https://office.mmsionline.us/mediawiki/index.php?title=I2p

For any new service on SME, you'll need to open the necessary firewall ports:
https://office.mmsionline.us/mediawiki/index.php?title=I2p#Create_SME_service_with_firewall_rules

Then configure your new service to start automatically:
https://office.mmsionline.us/mediawiki/index.php?title=I2p#Configure_I2P_to_run_at_system_start_or_IP_change

There's another example of configuring a service to start at reboot in the Nessus page on the SME wiki.

Offline Parsival1973

  • ***
  • 52
  • +0/-0
Re: Red5
« Reply #5 on: May 05, 2011, 01:26:34 AM »
Well I have looked at and tried opening all the ports that seem to be associated with the red5 application. Still running into the issue that a connection cannot be established to the rtmp service.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Red5
« Reply #6 on: May 05, 2011, 09:02:18 AM »
Well I have looked at and tried opening all the ports that seem to be associated with the red5 application. Still running into the issue that a connection cannot be established to the rtmp service.
Did you already look for clues in the logfiles, e.g. /var/log/httpd/error_log or access_log?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Parsival1973

  • ***
  • 52
  • +0/-0
Re: Red5
« Reply #7 on: May 07, 2011, 06:40:03 AM »
I did. Unable to see anything related to this at all...

I used the following command to open up the ports related to red5.

config set red5 service status enabled access public TCPPort 1935,1936,1945,5080,8088,443,80, UDPPort 1935,1936,1945,5080,8088,443,80,

Followed by

signal-event remoteaccess-update

Should that not open up the ports for the service???

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Red5
« Reply #8 on: May 07, 2011, 06:51:43 AM »
Parsival1973

Is the rtmp service running ?
top
or
htop
or
ps -aux
to find out

Also do a port scan to check those ports are really open and accessible from the net.
see grc.com
« Last Edit: May 07, 2011, 06:54:00 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Parsival1973

  • ***
  • 52
  • +0/-0
Re: Red5
« Reply #9 on: May 07, 2011, 05:57:43 PM »
I don't see the rtmp service specifically name as running but do see red5 service running.

port 1935 appears to be open as well as 443,80 and 5080 but the others seem to be closed.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Red5
« Reply #10 on: May 08, 2011, 10:55:27 AM »
Parsival1973

The howto refers to Centos 5.5 so that would imply you need to use SME8. What version of SME server are you installing on ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Red5
« Reply #11 on: May 08, 2011, 02:24:59 PM »
Parsival1973

You might also take a look at
http://www.videochat-scripts.com/installed-red5-08-rc3-with-jdk-1613-on-linux/
this refers to install on a Centos server.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Red5
« Reply #12 on: May 08, 2011, 03:07:50 PM »
config set red5 service status enabled access public TCPPort 1935,1936,1945,5080,8088,443,80, UDPPort 1935,1936,1945,5080,8088,443,80,

I would expect your Red5 installation to conflict with the "httpd-e-smith" and "httpd-admin" and "modSSL" services (the normal SME web servers) on ports 443 and 80; I've been assuming that you'd be modifying the Red5 config to change these ports (in which case having them here won't cause problems, but will be extraneous).

Offline Parsival1973

  • ***
  • 52
  • +0/-0
Re: Red5
« Reply #13 on: May 09, 2011, 05:22:11 AM »
I have installed red5 on SME 8b6.

I did not configure it to use other ports as I was under the impression that when connecting via web to the flash chat system that it would also use those ports while performing the flash messaging. I figured that yes 443 and 80 were already open but couldn't hurt to further state it again.