Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: Parsival1973 on April 23, 2011, 08:26:35 AM

Title: Red5
Post by: Parsival1973 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,
Title: Re: Red5
Post by: Parsival1973 on April 29, 2011, 04:46:00 AM
Hmmm... Has anyone gotten Red5 operating on SME as per my previous post???
Title: Re: Red5
Post by: Jeppe Fugl on April 29, 2011, 01:03:55 PM
Have you tried http://trac.red5.org/wiki/Install ?



Title: Re: Red5
Post by: Parsival1973 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.
Title: Re: Red5
Post by: mmccarn 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 (http://wiki.contribs.org/Nessus#Server_Installation) page on the SME wiki.
Title: Re: Red5
Post by: Parsival1973 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.
Title: Re: Red5
Post by: cactus 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?
Title: Re: Red5
Post by: Parsival1973 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???
Title: Re: Red5
Post by: janet 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
Title: Re: Red5
Post by: Parsival1973 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.
Title: Re: Red5
Post by: janet 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 ?
Title: Re: Red5
Post by: janet 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.
Title: Re: Red5
Post by: mmccarn 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).
Title: Re: Red5
Post by: Parsival1973 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.