Neseek77 / openmeetings

Automatically exported from code.google.com/p/openmeetings
1 stars 0 forks source link

red5.sh installation on ubuntu10.04 #1538

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use 
1.8.4 r4387 (thanks for the huge effort creating a easy installation procedure) 
on ububtu 10.04 LTS

When I try to use the easy install, I used
 sudo /etc/bash /opt/red5/red5.sh

after calling http://myserver:5080/openmeetings/install, I got:

OpenMeetings - Installation
Error:
Could not Create File, Permission set? /opt/red5/webapps/openmeetings/conf/ 

I understand, that I have to set permissions additional to the easy setup.

from the debian install How-To, I tried

 sudo chmod +x /opt/red5/*.sh
 sudo chmod +x /opt/red5/webapps/openmeetings/jod/*.sh
 sudo chown -R nobody\: /opt/red5

Step 1 of the installation worked.
Step2 (http://myserver:5080/openmeetings/install?command=step2)
only showed a wite screen.

The shell with red5.sh showed: (I do not speak java)

(...)
[INFO] [main] 
org.springframework.beans.factory.support.DefaultListableBeanFactory - 
Destroying singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@26afa68a: 
defining beans 
[placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializer,statu
sObjectService,rtmpCodecFactory,rtmptCodecFactory,remotingCodecFactory,streamabl
eFileFactory,filePersistenceThread,sharedObjectService,streamService,providerSer
vice,consumerService,schedulingService,warDeployService,remotingClient,object.ca
che,keyframe.cache,flv.impl,flvreader.impl,mp4reader.impl,mp3reader.impl,org.spr
ingframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springframewor
k.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,fileConsumer,p
laylistSubscriberStream,clientBroadcastStream]; root of factory hierarchy
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.factory.BeanCreationException: Error creating bean 
with name 'rtmpTransport' defined in class path resource [red5-core.xml]: 
Invocation of init method failed; nested exception is java.net.BindException: 
Address already in use
Bootstrap complete

How to continue the installation?
1.8.2 was running fine with mysql.

confusing in all older How-Tos is, that the hibernate editing part moved.

Now I found new documentation: ( great)
http://code.google.com/p/openmeetings/wiki/Configuration_Mysql

(the right info is there - but its hidden in between older infos from older 
versions.)

I removed install.xml
I restarted red5

new .../install
step 1 ok, no errors in /opt/red5/log/

but the tables are not created.

Please tell me where to search?

Original issue reported on code.google.com by Guido.Ho...@gmail.com on 9 Oct 2011 at 7:19

GoogleCodeExporter commented 9 years ago
I found old processes running.
After killing some red5 procs, the installation completed.

very helpful was to start with red5-debug.sh

Original comment by Guido.Ho...@gmail.com on 9 Oct 2011 at 8:32

GoogleCodeExporter commented 9 years ago

Original comment by seba.wag...@gmail.com on 9 Oct 2011 at 1:20