shettima / bigbluebutton

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

Attendee can't connect to conference room #369

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.schedule conference, and email link to attendees
2.Attendees can enter name and passwd, and got errors.

3.
2/19/2010 13:13:02.563 [DEBUG] initialization
2/19/2010 13:13:02.639 [DEBUG] Main Facade is starting up.
2/19/2010 13:13:02.641 [DEBUG] Registering output pipe: FROM_MAIN_APP
2/19/2010 13:13:02.641 [DEBUG] Registering input pipe: TO_MAIN_APP
2/19/2010 13:13:02.642 [DEBUG] StartupCommand mode=LIVE
2/19/2010 13:13:02.644 [DEBUG] PARAMS: 0:

2/19/2010 13:13:02.644 [DEBUG] MODE=LIVE
2/19/2010 13:13:02.649 [INFO] 'direct_http_channel' channel endpoint set to
http://10.1.1.58/client/
2/19/2010 13:13:02.650 [INFO] 'A7FFA9BA-1969-FECA-EB71-E7A5B847EA11'
producer sending message '7DCDECC9-B734-0AE4-EA51-E7A5B8BA8C1C'
2/19/2010 13:13:02.654 [DEBUG] 'direct_http_channel' channel sending message:
(mx.messaging.messages::HTTPRequestMessage)#0
  body = (Object)#1
  clientId = (null)
  contentType = "application/x-www-form-urlencoded"
  destination = "DefaultHTTP"
  headers = (Object)#2
  httpHeaders = (Object)#3
  messageId = "7DCDECC9-B734-0AE4-EA51-E7A5B8BA8C1C"
  method = "GET"
  recordHeaders = false
  timestamp = 0
  timeToLive = 0
  url = "http://10.1.1.58/client/conf/config.xml"
2/19/2010 13:13:02.655 [INFO] 'A7FFA9BA-1969-FECA-EB71-E7A5B847EA11'
producer connected.
2/19/2010 13:13:02.680 [INFO] 'A7FFA9BA-1969-FECA-EB71-E7A5B847EA11'
producer acknowledge of '7DCDECC9-B734-0AE4-EA51-E7A5B8BA8C1C'.
2/19/2010 13:13:02.681 [INFO] Decoding HTTPService response
2/19/2010 13:13:02.687 [DEBUG] Processing HTTPService response message:
(mx.messaging.messages::AcknowledgeMessage)#0
  body = "<?xml version="1.0" ?>
<config>
    <version>3488-2010-01-25</version>
    <porttest host="fedora12-64.bellsports.sportsgroup.loc"
application="video"/>    
    <modules>

        <module name="ChatModule" url="ChatModule.swf" 
            uri="rtmp://fedora12-64.bellsports.sportsgroup.loc/bigbluebutton" 
            loadNextModule="ListenersModule"    
            onUserJoinedEvent="START"
            onUserLogoutEvent="STOP"         
        />
        <module name="ViewersModule" url="ViewersModule.swf" 
            uri="rtmp://fedora12-64.bellsports.sportsgroup.loc/bigbluebutton" 

host="http://fedora12-64.bellsports.sportsgroup.loc/bigbluebutton/conference-ses
sion/enter"
            onAppInitEvent="LOAD" loadNextModule="ChatModule"
            onAppStartEvent="START"
            onUserLogoutEvent="STOP"
        />  
        <module name="ListenersModule" url="ListenersModule.swf" 
            uri="rtmp://fedora12-64.bellsports.sportsgroup.loc/bigbluebutton" 
            recordingHost="http://fedora12-64.bellsports.sportsgroup.loc"
            loadNextModule="PhoneModule"
            onUserJoinedEvent="START"
            onUserLogoutEvent="STOP"
        />
        <module name="DeskShareModule" url="DeskShareModule.swf"
            uri="rtmp://fedora12-64.bellsports.sportsgroup.loc/deskShare"
            onUserJoinedEvent="START" onUserLogoutEvent="STOP"
            loadNextModule="PhoneModule"
        />
        <module name="PhoneModule" url="PhoneModule.swf" 
            uri="rtmp://fedora12-64.bellsports.sportsgroup.loc/sip" 
            onUserJoinedEvent="START" 
            onUserLogoutEvent="STOP"
            loadNextModule="VideoconfModule"
        />

        <module name="VideoconfModule" url="VideoconfModule.swf" 
            uri="rtmp://fedora12-64.bellsports.sportsgroup.loc/video"
            onUserJoinedEvent="START"
            onUserLogoutEvent="STOP"    
            loadNextModule="AutotestModule"
        />

        <module name="AutotestModule" url="AutotestModule.swf" 
            uri="rtmp://fedora12-64.bellsports.sportsgroup.loc/bigbluebutton" 
            onUserJoinedEvent="START" 
            onUserLogoutEvent="STOP"
            loadNextModule="PresentModule"
        />

        <!--<module name="HighlighterModule" url="HighlighterModule.swf" 
            uri="rtmp://fedora12-64.bellsports.sportsgroup.loc/bigbluebutton" 
            onUserJoinedEvent="START" 
            onUserLogoutEvent="STOP"
        />-->

        <module name="PresentModule" url="PresentModule.swf" 
            uri="rtmp://fedora12-64.bellsports.sportsgroup.loc/bigbluebutton" 
            host="http://fedora12-64.bellsports.sportsgroup.loc" 
            onUserJoinedEvent="START" 
            onUserLogoutEvent="STOP"
        />

    </modules>
</config>

"
  clientId = "DirectHTTPChannel0"
  correlationId = "7DCDECC9-B734-0AE4-EA51-E7A5B8BA8C1C"
  destination = ""
  headers = (Object)#1
    DSStatusCode = 200
  messageId = "A34BBECA-CBF8-5F27-1EB4-E7A5B8D97A13"
  timestamp = 0
  timeToLive = 0
2/19/2010 13:13:02.820 [ERROR] Failed to connect to
RTMP://fedora12-64.bellsports.sportsgroup.loc/video
2/19/2010 13:13:03.132 [ERROR] Failed to connect to
RTMPT://fedora12-64.bellsports.sportsgroup.loc/bigbluebutton

What is the expected output? What do you see instead?
Should connect to conference without errors

What version of the product are you using? On what operating system?
BBB 0.63 + Fedora 12 x86_64 + instruction from bbb website

Please provide any additional information below.
I also tested with bbb VM, It's working fine on this version. But I really
want to install it on physical machine and run 64 bit.

Original issue reported on code.google.com by danny.d....@gmail.com on 19 Feb 2010 at 7:19

GoogleCodeExporter commented 9 years ago
I tried 2nd time. It worked with little twist. Below are the steps I did.

 InstallingBigBlueButtonFedora   
Installing BigBlueButton 0.63 on Fedora

yum update -y

# we'll work mostly from the /tmp/ directory:
cd /root/storage/temp

# install JDK 6
rpm -qa |grep java-1.6.0-openjdk
yum install -y java-1.6.0-openjdk

# install MySQL server
rpm -qa |grep mysql
yum install -y mysql-server
service mysqld start
chkconfig mysqld on

# Tomcat6 is not available in the main repos, so we will
# use the jpackage repos:
rpm -qa |grep jpackage-utils
yum install -y jpackage-utils
#wget http://www.jpackage.org/jpackage17.repo
#cat jpackage17.repo | sed 's/1\.7/5.0/' | sed 's/\[jpack/\[5jpack/' >
/etc/yum.repos.d/jpackage5.repo
#mv jpackage17.repo /etc/yum.repos.d/
#yum makecache

# now you should be able to install tomcat6 easily:
yum install -y tomcat6*

# start tomcat and configure it to automatically start on boot:
service tomcat6 start
chkconfig tomcat6 on

# for compiling your own packages, you will need the development tools
yum -y groupinstall "Development Tools"

# some more requirements for packages that we will soon install:
yum -y install -y zlib zlib-devel freetype freetype-devel libjpeg libjpeg-devel

# install openoffice
yum -y groupinstall 'Office/Productivity'
yum -y install openoffice.org-headless

# download openoffice server initializing script
wget 
http://bigbluebutton.org/downloads/0.63/fedora-install/bbb-openoffice-headless

vi bbb-openoffice-headless ## replace 
SOFFICE_PATH='/usr/lib/openoffice.org3/program'
to SOFFICE_PATH='/usr/lib64/openoffice.org3/program'
cp bbb-openoffice-headless /etc/init.d/

# start the openoffice server
chmod +x /etc/init.d/bbb-openoffice-headless
chkconfig --add bbb-openoffice-headless
chkconfig bbb-openoffice-headless on
service bbb-openoffice-headless start

# install ImageMagick:
yum install -y ImageMagick

# install swftools:
wget http://www.swftools.org/swftools-0.8.1.tar.gz
gtar xzf swftools-0.8.1.tar.gz
cd swftools-0.8.1
./configure --prefix=/usr
make
make install
cd ..

# now install nginx:
yum install -y nginx

# install activemq from source:
useradd -G adm activemq
wget
http://apache.mirror.rafal.ca:8080/activemq/apache-activemq/5.3.0/apache-activem
q-5.3.0-bin.tar.gz

wget
http://apache.mirror.rafal.ca/activemq/apache-activemq/5.2.0/apache-activemq-5.2
.0-bin.tar.gz
gtar zxfv apache-activemq-5.3.0-bin.tar.gz
#gtar xzf apache-activemq-5.2.0-bin.tar.gz 
mv apache-activemq-5.3.0 /opt/
#mv apache-activemq-5.2.0 /opt/
ln -s /opt/apache-activemq-5.3.0 /opt/activemq
#ln -s /opt/apache-activemq-5.2.0 /opt/activemq
chown -R activemq.activemq /opt/apache-activemq-5.3.0
#chown -R activemq.activemq /opt/apache-activemq-5.2.0
chown -R activemq.activemq /opt/activemq

# Now get the init.d file that we created for you
wget
http://bigbluebutton.googlecode.com/svn/trunk/bbb-images/centos-install-files/ac
tivemq
cp activemq /etc/init.d/

# now make that file executable, start the service and configure it to 
auto-start
chmod a+x /etc/init.d/activemq
service activemq start
chkconfig activemq on

yum -y install eclipse-subclipse* eclipse apache-ivy spring* eclipse-svnkit

# now we will install Red5 from source
useradd -G adm red5
wget http://bigbluebutton.org/downloads/0.63/fedora-install/red5-0.8.tar.gz
gtar xvf red5-0.8.tar.gz 
mv red5-0.8 /opt/
chown -R red5.red5 /opt/red5-0.8

# Now get the init.d file that we created for you
wget 
http://bigbluebutton.googlecode.com/svn/trunk/bbb-images/centos-install-files/re
d5
cp red5 /etc/init.d/

# now chmod the file, start and config auto-start:
chmod a+x /etc/init.d/red5
service red5 start
chkconfig red5 on

    * Now you need to install the oflaDemo that comes with Red5. This is a manual
process. 

Go to: http://< YOURIP-OR-DOMAIN >:5080/

Click on "Click here to install demos" and then choose oflaDemo java 6.

Go to: http://< YOURIP-OR-DOMAIN >:5080/demos/

Click "View demo" under "OFLA DEMO", which should take you to: http://<
YOURIP-OR-DOMAIN >:5080/demos/ofla_demo.html

In the upper right corner, change localhost to your domain or IP, like: rtmp://<
YOURIP-OR-DOMAIN >/oflaDemo Click connect

You would see a list of available videos. Select one to play.

Now prepare for Asterisk build:

yum install -y kernel-devel

# On Xen VM you need:
# yum install -y kernel-xen-devel

yum install -y ncurses-devel openssl-devel newt-devel zlib-devel bison

# install asterisk
wget 
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.25.ta
r.gz
rtar zxvf asterisk-1.4.25.tar.gz
cd asterisk-1.4.25
./configure
make 
make install
make samples
make config
cd ..

# configure asterisk
wget http://bigbluebutton.org/downloads/0.63/bbb_extensions.conf
cp bbb_extensions.conf /etc/asterisk/
echo "#include \"bbb_extensions.conf\"" >> /etc/asterisk/extensions.conf

wget http://bigbluebutton.org/downloads/0.63/bbb_sip.conf
cp bbb_sip.conf /etc/asterisk/bbb_sip.conf
echo "#include \"bbb_sip.conf\"" >> /etc/asterisk/sip.conf

wget http://bigbluebutton.org/downloads/0.63/app_konference.so
cp app_konference.so /usr/lib/asterisk/modules/
chmod 755 /usr/lib/asterisk/modules/app_konference.so
# set autoload module BigBlueButton conference
echo "load => app_konference.so" >> /etc/asterisk/modules.conf

wget
http://bigbluebutton.googlecode.com/svn/trunk/bbb-images/centos-install-files/as
terisk-create-sip-accounts.sh
chmod 755 asterisk-create-sip-accounts.sh
./asterisk-create-sip-accounts.sh

# set enabled to yes in manager.conf
cat /etc/asterisk/manager.conf | sed 's/^enabled = no/enabled = yes/' > 
/tmp/manager.conf
mv -f /tmp/manager.conf /etc/asterisk/

# add account to manager.conf
echo "

; BigBlueButton: Enable Red5 to connect
[bbb]
secret = secret
permit = 0.0.0.0/0.0.0.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
" >> /etc/asterisk/manager.conf

# configure nginx
mkdir -p /etc/nginx/sites-available
mkdir -p /etc/nginx/sites-enabled

wget
http://bigbluebutton.googlecode.com/svn/trunk/bbb-images/centos-install-files/ng
inx-bigbluebutton.conf
wget
http://bigbluebutton.googlecode.com/svn/trunk/bbb-images/centos-install-files/ng
inx.conf
cp -f nginx.conf /etc/nginx/
cat nginx-bigbluebutton.conf  | sed "s/192.168.0.136/`hostname`/" >
/etc/nginx/sites-available/bigbluebutton
rm nginx-bigbluebutton.conf
ln -s /etc/nginx/sites-available/bigbluebutton 
/etc/nginx/sites-enabled/bigbluebutton
service nginx start
chkconfig nginx on

# download BBB apps

mkdir bbb-install
cd bbb-install
wget http://bigbluebutton.org/downloads/0.63/packages/bbb-default.tar.gz
wget http://bigbluebutton.org/downloads/0.63/packages/bigbluebutton.war
wget http://bigbluebutton.org/downloads/0.63/packages/video.tar.gz
wget http://bigbluebutton.org/downloads/0.63/packages/bigbluebutton-apps.tar.gz
wget http://bigbluebutton.org/downloads/0.63/packages/client.tar.gz
wget http://bigbluebutton.org/downloads/0.63/packages/sip.tar.gz
wget 
http://www.bigbluebutton.org/sites/all/releases/latest-release/deskshare.tar.gz

# configure MySQL database
echo "create database bigbluebutton_dev;" | mysql -u root
echo "grant all on bigbluebutton_dev.* to 'bbb'@'localhost' identified by 
'secret';"
| mysql -u root
echo "commit;" | mysql -u root

# now install the webapp
cp bigbluebutton.war /var/lib/tomcat6/webapps/bigbluebutton.war

setsebool -P allow_execstack 1
service tomcat6 restart

# make sure that your database was created:
echo "show tables" | mysql -u root bigbluebutton_dev
echo "select * from user" | mysql -u root bigbluebutton_dev

# download blank slide and thumbnail dummies
mkdir -p /var/bigbluebutton/blank
wget http://bigbluebutton.org/downloads/0.63/blank/blank-slide.swf
wget http://bigbluebutton.org/downloads/0.63/blank/blank-thumb.png
cp blank-* /var/bigbluebutton/blank/

Generate a GUID (manual step)
goto http://www.somacon.com/p113.php to generate GUID:
480076E8-1DD7-11DF-85A4-295256D89593

For security, you need to generate a GUID. You can use an online GUID 
generator, such
as this one. Keep this GUID handy as we will need it shortly.

Determine PDF2SWF, CONVERT and GS applications (manual step)

      # Make a note of where pdf2swf, convert, GhostScript are installed
      which pdf2swf => /usr/bin/pdf2swf
      which convert => /usr/bin/convert
      which gs => /usr/bin/gs

Edit bbb-web properties

vi 
/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties

# Change the following:
#  - swfToolsDir to the directory where pdf2swf is located (in this example, it 
is
/usr/local/bin/)
#  - imageMagickDir to the directory where convert is located (in this example, 
it is
/usr/bin/)
#  - ghostScriptExec to point to the gs application (in this example, it is 
/usr/bin/gs)
#  - change bigbluebutton.web.serverURL=http://<YOUR IP>
#  - set beans.dynamicConferenceService.securitySalt to be equal to the guid we 
just
generated (i.e. beans.dynamicConferenceService.securitySalt=<YOUR-GUID>)

Back to the automated tasks:

# create nopdfworkaround file
mkdir /etc/bigbluebutton
echo '%!
/pdfmark {cleartomark} bind def' > /etc/bigbluebutton/nopdfmark.ps

# restart tomcat
service tomcat6 restart

# setup the slide upload folder
chown -R tomcat:adm /var/bigbluebutton
chmod -R 777 /var/bigbluebutton

# setup the red5 apps
gtar xvf bigbluebutton-apps.tar.gz
rsync -a webapps/* /opt/red5-0.8/webapps/
rm -rf webapps

# install video app
cp video.tar.gz /opt/red5-0.8/webapps/
cd /opt/red5-0.8/webapps
gtar zxvf video.tar.gz
rm -f video.tar.gz
cd /root/storage/temp/bbb-install

# install voice app
cp sip.tar.gz /opt/red5-0.8/webapps/
cd /opt/red5-0.8/webapps
gtar xvf sip.tar.gz
rm -f sip.tar.gz
cd /root/storage/temp/bbb-install
chown -R activemq.adm /opt/activemq
chown -R activemq.adm /opt/apache-activemq-5.3.0
chown -R red5.adm /opt/red5-0.8
chown -R red5.adm /opt/red5-0.9

# install bbb-client:
mkdir -p /var/www/bigbluebutton
cp client.tar.gz /var/www/bigbluebutton
cd /var/www/bigbluebutton
gtar xzvf client.tar.gz
rm -f client.tar.gz
cd /root/storage/temp/bbb-install

cat /var/www/bigbluebutton/client/conf/config.xml | sed 
"s/192.168.0.159/`hostname`/"
| sed
"s|conf/join-mock.xml|http://`hostname`/bigbluebutton/conference-session/enter|"
 >
/tmp/config.xml
mv -f /tmp/config.xml /var/www/bigbluebutton/client/conf/config.xml

# install bbb-default pages
cp bbb-default.tar.gz /var/www/
cd /var/www/
gtar zxvf bbb-default.tar.gz
mv web ./bigbluebutton-default
rm -rf bbb-default.tar.gz
chown -R tomcat.adm bigbluebutton*
cd /root/storage/temp/bbb-install

Now we need to create bbb_api_conf.jsp, which will hold our GUID and the
BigBlueButtonURL. Be sure to replace < YOUR-GUID > and < YOUR-IP > with the 
GUID we
generated earlier and your IP, respectively.

echo "<%!
// This is the security salt that must match the value set in the BigBlueButton 
server
String salt = \"<YOUR-GUID>\";

// This is the URL for the BigBlueButton server
String BigBlueButtonURL = \"http://<YOUR-IP>/bigbluebutton/\";
%>" > /var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp

Installing Desktop Sharing (optional)

# install deskshare app
#
# Desktop sharing uses Xuggler.  Before you install desktop sharing in 
BigBlueButton
# please read how this changes the licensing of BigBlueButton from LGPL to AGPL.
#
#     http://code.google.com/p/bigbluebutton/wiki/InstallingDesktopSharing 
#

cp deskshare.tar.gz /opt/red5-0.8/webapps/
cd /opt/red5-0.8/webapps
gtar zxvf deskshare.tar.gz
rm -f deskshare.tar.gz
chown -R red5.adm *
cd /root/storage/temp/bbb-install

Desktop sharing is disabled by default. To enable it, edit
"/var/www/bigbluebutton/client/conf/config.xml" and uncomment the 
DeskShareModule.
You will find the DeskshareModule commented as follows:

 <!-- module name="DeskShareModule" url="DeskShareModule.swf"
uri="rtmp://192.168.0.132/deskShare" onUserJoinedEvent="START"
onUserLogoutEvent="STOP" loadNextModule="PhoneModule" /-->

Finish the installation

download xuggler from http://www.xuggle.com/xuggler/downloads/
# Copy %XUGGLE_HOME%\share\java\jars\xuggle-xuggler.jar  to %RED5_HOME%\lib
# Copy %XUGGLE_HOME%\share\java\jars\commons-cli.jar to %RED5_HOME%\lib
# create directory for log files
cd /usr/local/xuggler/share/java/jars
cp xuggle-xuggler.jar commons-cli.jar /opt/red5-0.8/lib/

mkdir /var/log/bigbluebutton

# create an empty log file
touch /var/log/bigbluebutton/bbb-web.log
chmod 777 /var/log/bigbluebutton/bbb-web.log

chown -R activemq.adm /opt/activemq /opt/apache-activemq-5.3.0 
chown -R red5.adm  /opt/red5-0.*
chown -R tomcat.adm  /var/bigbluebutton
chown -R tomcat.adm  /var/www/bigbluebutton*
chown -R tomcat.adm  /var/lib/tomcat6
chown -R nginx.nginx /var/lib/nginx

# restart things:
service tomcat6 stop
service red5 stop
service asterisk stop
service activemq stop
service mysqld stop
service mysqld start

service activemq start
service asterisk start
service red5 start
service tomcat6 start

Original comment by danny.d....@gmail.com on 20 Feb 2010 at 8:18

GoogleCodeExporter commented 9 years ago
Reporter got it to work

Original comment by ritza...@gmail.com on 23 Feb 2010 at 4:03