hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : VPS Tutorials : How to install red5 properly with Common TROUBLESHOOTING
Reply

Forum Jump

How to install red5 properly with Common TROUBLESHOOTING

Reply Post New Thread In VPS Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-07-2011, 11:45 PM
onel0ve onel0ve is offline
Disabled
 
Join Date: Feb 2010
Posts: 114
Arrow

How to install red5 properly with Common TROUBLESHOOTING


Red5 Installation In centos 5.6 32/64bit

INSTALL JAVA
Code:
yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel
INSTALL ANT

Code:
cd /root/tmp
wget http://apache.mirrors.pair.com/ant/binaries/apache-ant-1.8.2-bin.tar.gz
tar jxvf apache-ant-1.8.2-bin.tar.bz2
mv apache-ant-1.8.2 /usr/local/ant
EXPORT VARIABLES FOR ANT AND JAVA

Code:
export ANT_HOME=/usr/local/ant
export JAVA_HOME=/usr/lib/jvm/java
export PATH=$PATH:/usr/local/ant/bin
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip

echo 'export ANT_HOME=/usr/local/ant' >> /etc/bashrc
echo 'export JAVA_HOME=/usr/lib/jvm/java' >> /etc/bashrc
echo 'export PATH=$PATH:/usr/local/ant/bin' >> /etc/bashrc
echo 'export CLASSPATH=.:$JAVA_HOME/lib/classes.zip' >> /etc/bashrc
INSTALL SVN
Code:
yum install perl-URI

yum install subversion
Quote:
Common problem when you will try to install this
Code:
root@server [/usr/local/src]# yum install subversion
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.nluug.nl
 * extras: ftp.nluug.nl
 * updates: ftp.nluug.nl
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package subversion.i386 0:1.6.11-7.el5_6.3 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Processing Dependency: neon >= 0.25.5-6.el5 for package: subversion
--> Processing Dependency: libneon.so.25 for package: subversion
--> Processing Dependency: libapr-1.so.0 for package: subversion
--> Processing Dependency: libaprutil-1.so.0 for package: subversion
---> Package subversion.x86_64 0:1.6.11-7.el5_6.3 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion
--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion
--> Running transaction check
---> Package apr.i386 0:1.2.7-11.el5_5.3 set to be updated
---> Package apr.x86_64 0:1.2.7-11.el5_5.3 set to be updated
---> Package apr-util.i386 0:1.2.7-11.el5_5.2 set to be updated
--> Processing Dependency: libpq.so.4 for package: apr-util
---> Package apr-util.x86_64 0:1.2.7-11.el5_5.2 set to be updated
--> Processing Dependency: libpq.so.4()(64bit) for package: apr-util
---> Package neon.i386 0:0.25.5-10.el5_4.1 set to be updated
---> Package neon.x86_64 0:0.25.5-10.el5_4.1 set to be updated
---> Package subversion.i386 0:1.6.11-7.el5_6.3 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
---> Package subversion.x86_64 0:1.6.11-7.el5_6.3 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Running transaction check
---> Package postgresql-libs.i386 0:8.1.23-1.el5_6.1 set to be updated
---> Package postgresql-libs.x86_64 0:8.1.23-1.el5_6.1 set to be updated
---> Package subversion.i386 0:1.6.11-7.el5_6.3 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
---> Package subversion.x86_64 0:1.6.11-7.el5_6.3 set to be updated
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Finished Dependency Resolution
subversion-1.6.11-7.el5_6.3.x86_64 from updates has depsolving problems
  --> Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.6.11-7.el5_6.3.x86_64 (updates)
subversion-1.6.11-7.el5_6.3.i386 from updates has depsolving problems
  --> Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.6.11-7.el5_6.3.i386 (updates)
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.6.11-7.el5_6.3.i386 (updates)
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.6.11-7.el5_6.3.x86_64 (updates)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package
then you could temporarily remove perl from the /etc/yum.conf exclude line, install subversion, then add perl back to the /etc/yum.conf exclude line after you've gotten subversion installed.



INSTALL RED5

Code:
svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5
mv red5 /usr/local/
cd /usr/local/red5

ant prepare
ant dist
cp -r dist/conf .
START RED5

Code:
./red5.sh
in that time your installation can get hanged wait 30-40min after that press ctrl+c

then
CREATE INIT FILE

Code:
cd /etc/init.d/
wget http://www.sohailriaz.com/downloads/red5.txt
mv red5.txt red5
chmod +x red5
service red5 start
then visit your RED5 ADMIN

http://YOUR_SERVER_IP:5080/installer/ (and install admin)
http://YOUR_SERVER_IP:5080/admin/register.html (add user/pass)

Common problem
if you face
Code:
HTTP Status 404 - /admin/register.html

type Status report

message /admin/register.html

description The requested resource (/admin/register.html) is not available.

Apache Tomcat/6.0.26
if you faced this types of problem then follow this steps
Code:
Get the plugins:

cd /root/tmp
mkdir /usr/local/red5/plugins
wget http://red5.googlecode.com/files/AdminPlugin-1.0.zip
unzip -d /usr/local/red5/plugins AdminPlugin-1.0.zip
Code:
Get the Red5 admin register page:

mkdir /usr/local/red5/webapps/admin
wget http://red5.googlecode.com/files/admin.jsp
mv admin.jsp /usr/local/red5/webapps/admin
then again restart Red5 (/etc/init.d/red5 restart)/(service red5 restart)

this all step working tested by me in centos 64bit os (cpanel)

Reply With Quote


Sponsored Links
  #2  
Old 05-08-2011, 04:19 AM
200-ok 200-ok is offline
WHT Addict
 
Join Date: Aug 2010
Location: Brussels, Belgium
Posts: 104
Hi onel0ve,

Thanks for your post.

I followed a similar (slightly different) procedure to install Red5 on a VPS with Centos (without cPanel) just a few days ago. I was delighted to see the message "If you see this video then the server is working" on the server home page, but I still have a few problems.

I did not install perl-URI. Perl was already installed on my system. Is this perl-URI needed for Red5 ?

Do you know how much memory is needed to run Red5 ? I just need to run basic demonstrations.

I found a log file that shows http accesses to the Red5 web server and I found an error log, but I did not find a log file with information about the streamed data. Any idea where I can find it ?

As you pointed out, I had to manually load AdminPlugin-1.0.zip and admin.jsp. I filled in the form to add an admin user, but I am still unable to log in as admin.

Some of the demos work, others don't :
- Shared Ball shows a static image. Is it okay ?
- Admin Panel looks okay, but I cannot log in.
- OFLA Demo shows a kind of TV screen, an output with "Connections: true | true" and commands that I do not understand.
- Port Tester says that all connections fail.
- Publisher seems to work fine.
...

Any further clarification is welcome.

Jean-Luc

__________________
Broken Link Checker (200ok.eu)

AWStats Support (InternetOfficer.com) : add-on's, plugins, extra sections, forum, installation assistance and professional services


Last edited by 200-ok; 05-08-2011 at 04:22 AM.
Reply With Quote
  #3  
Old 06-06-2011, 02:31 PM
socialh socialh is offline
Newbie
 
Join Date: Jun 2011
Posts: 11
Thanks for this installation tutorial. I hope this will work in vps.

Reply With Quote
Sponsored Links
  #4  
Old 06-06-2011, 08:50 PM
MarlX MarlX is offline
Junior Guru Wannabe
 
Join Date: Jul 2008
Posts: 46
A big thanks for this.

Reply With Quote
  #5  
Old 06-07-2011, 01:47 PM
MarlX MarlX is offline
Junior Guru Wannabe
 
Join Date: Jul 2008
Posts: 46
This is the error I encountered after "ant dist"

BUILD FAILED
/usr/local/red5/build.xml:225: The following error occurred while executing this line:
/usr/local/red5/build.xml:246: Error running /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin/javac compiler

Reply With Quote
  #6  
Old 07-12-2011, 09:35 AM
Host159 Host159 is offline
New Member
 
Join Date: Jul 2011
Posts: 0
Quote:
Originally Posted by MarlX View Post
This is the error I encountered after "ant dist"

BUILD FAILED
/usr/local/red5/build.xml:225: The following error occurred while executing this line:
/usr/local/red5/build.xml:246: Error running /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin/javac compiler
Please post output of command:
Code:
ant -version
java -version

Reply With Quote
  #7  
Old 01-30-2012, 11:48 AM
chacha23 chacha23 is offline
New Member
 
Join Date: Jan 2012
Posts: 0
Getting the same error

Quote:
Originally Posted by Host159 View Post
Please post output of command:
Code:
ant -version
java -version
BUILD FAILED
/usr/local/red5/build.xml:209: The following error occurred while executing this line:
/usr/local/red5/build.xml:230: Error running /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin/javac compiler

ant -version: Apache Ant(TM) version 1.8.2 compiled on December 20 2010

java -version : java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.10) (rhel-1.23.1.9.10.el5_7-i386)
OpenJDK Client VM (build 19.0-b09, mixed mode)


Thanks in-advance

Reply With Quote
  #8  
Old 09-21-2012, 01:00 PM
jrmkr jrmkr is offline
WHT Addict
 
Join Date: Jun 2012
Posts: 105
i got the following error while executing ./red5.sh

org.springframework.remoting.rmi.RmiRegistryFactoryBean - Unexporting RMI registry
Exception org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'red5.core' defined in class path resource [red5.xml]:
Instantiation of bean failed;
nested exception is org.springframework.beans.BeanInstantiationException:
Could not instantiate bean class [org.springframework.context.support.FileSystemXmlApplicationContext]:
Constructor threw exception;
nested exception is org.springframework.beans.FatalBeanException:
Editor class not found;
nested exception is java.lang.ClassNotFoundException:
org.apache.mina.integration.beans.InetSocketAddressEditor


Any help?

Reply With Quote
  #9  
Old 09-23-2012, 02:06 AM
jrmkr jrmkr is offline
WHT Addict
 
Join Date: Jun 2012
Posts: 105
I just installed red5. but i have a rest to complete. that is make available admin and demos page visible. i done as you describe in the thread. but i was failed. any help?

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg + red5 install killjoy9581 Hosting Software and Control Panels 2 12-24-2009 02:54 PM
red5 install problem dolphinecho Hosting Security and Technology 0 11-04-2008 09:01 PM
Red5 Install Problem needcash Hosting Security and Technology 2 06-19-2008 10:55 AM
Red5 install Centos dennis2society Hosting Security and Technology 2 06-02-2008 09:16 AM
how to install red5 jonniejoejonson Dedicated Server 1 11-27-2007 07:10 PM

Related posts from TheWhir.com
Title Type Date Posted
Parallels Simplifies WordPress Management and Security with Parallels Plesk 12 Web Hosting News 2014-06-26 16:50:35
5 Hidden Problems with Cloud SLAs Blog 2013-12-02 09:47:41
Web Hosting Sales and Promos Roundup - November 8, 2013 Web Hosting News 2014-05-23 15:42:41
Anturis Offers Perceptive Server Monitoring with cPanel/WHM Plugin Web Hosting News 2014-05-09 12:40:23
Windows Azure SSL Slip-up Brings SSL Checker Tools Business Blog 2013-02-26 12:25:08


Tags
installation, java, red, visichat

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?