My favorites | Sign in
Logo
                
Search
for
Updated May 05, 2009 by alexei.fedotov
Labels: Installation
InstallationDebian  

Installing !Openmeetings on debian etch

In this how-to I'm going to descript way to install OpenMeetings on debian GNU/Linux Etch (4.0), Steps are following way:

What We Need

In this article I will use aptitude to install packages, if you don't have apptitude please install it before going forward :

$su
#apt-get update
#apt-get install aptitude

After aptitude we need Debian GNU/Linux, I use version 4.0 (code name Etch), befor installing any thing else I recommend you to create a directory and manage every thing from there:

#su
#mkdir /root/tmpOpenMeetings/
#cd  /root/tmpOpenMeetings/

Install !MySQL

OpenMeetings can work with wide range of databases, I will install OpenMeetings with MySQL, to install !MySQL server:

aptitude install mysql-server

Add/edit the following lines to /etc/mysql/my.conf to enable localization:

[mysqld]
default-character-set=utf8
character-set-server=utf8

Install xvfb and OpenOffice

If you would like exchange Presentation and Office documentation in OpenMeetings, you will nedd xvfb and OpenOffice.org

#aptitude install xvfb  openoffice.org

Then edit Setup.xcu:

#vim  /usr/lib/openoffice/share/registry/data/org/openoffice/Setup.xcu

You should insert following lines after: <node oor:name="Office">:

    <prop oor:name="ooSetupConnectionURL" oor:type="xs:string">
        <value>socket,host=localhost,port=8100;urp</value>
    </prop>

Install ImageMagick and Ghostscript

ImageMagick is a software suite for image manipulation and display, supporting close to 100 image formats. It is mainly used to perform various transformation and conversion operations on images and Ghostscript is a suite of software based on an interpreter for Adobe Systems' PostScript and Portable Document Format (PDF) page description languages.

To install this tools run:

 #aptitude install imagemagick  gs-gpl

Install SWFTools

SWFTools s a collection of SWF manipulation and creation utilities written by Rainer Böhme and Matthias Kramm. It is released under the GPL.

#aptitude install swftools

If you get this message: "Couldn't find any package whose name or description matched "swftools" " please download swftools directly from web with running:

#wget   http://ftp.it.debian.org/debian/pool/main/s/swftools/swftools_0.8.1-1_i386.deb

befor installing this ackage should install "libart-2.0-2 " so run:

#aptitude install libart-2.0-2

and now install SWFTools:

#dpkg -i swftools_0.8.1-1_i386.deb

Install Java and Red5

red5 is a Open Source Flash Server that OpenMeetings based on, so you should install it, and befor installing red5 should install Java Runtime Environment and Java development Kit run:

#aptitude install sun-java5-bin
#aptitude install  sun-java5-demo
#

If aptitude gives you any error, please download all file with wget and then install

#wget http://ftp.tr.debian.org/debian/pool/non-free/s/sun-java5/sun-java5-demo_1.5.0-13-1_i386.deb
#wget http://ftp.de.debian.org/debian/pool/non-free/s/sun-java5/sun-java5-jdk_1.5.0-14-1etch1_i386.deb
# wget http://ftp.de.debian.org/debian/pool/non-free/s/sun-java5/sun-java5-bin_1.5.0-15-1_i386.deb
#dpkg -i sun-java5-demo_1.5.0-13-1_i386.deb sun-java5-jdk_1.5.0-14-1etch1_i386.deb sun-java5-bin_1.5.0-15-1_i386.deb 

Now download red5 for Debian GNU/Linux and install it:

#wget http://dl.fancycode.com/red5/0.6.3/debian/red5_0.6.3-1_all.deb
#dpkg -i red5_0.6.3-1_all.deb

openlazslo

OpenLaszlo is an open source platform for the development and delivery of rich Internet applications. to installing it, run:

#wget http://download.openlaszlo.org/4.0.6/openlaszlo-4.0.6-unix.tar.gz
#tar -xvf openlaszlo-4.0.6-unix.tar.gz
#mv lps-4.0.6/ /opt/

Note: there is no need to install OpenLaszlo if you only use the application but don't want to modify it.

Note: you might would like to have a look at this shell script to start/stop/restart/status, if yes you can use this how-to.

Installing OpenMeetings

Huraaa, making infrastructure is finished, now we are going to download latest OpenMeeting release and instaling it:

#wget http://openmeetings.googlecode.com/files/openmeetings051.zip
#unzip openmeetings051.zip

To installing OpenMeetings you should tell OM where is your DataBase server and as I use MySQL as my Server, steps are like this:

#cp openmeetings/conf/mysql_hibernate.cfg.xml openmeetings/conf/hibernate.cfg.xml

Now edit file and config your database:

#vim openmeetings/conf/hibernate.cfg.xml

Now change :

            <property name="connection.username"><DB_USER></property>
            <property name="connection.password"><DB_PASSWORD></property>
            <property name="connection.url">jdbc:mysql://<DB_HOST>/<DB_NAME></property>

For example my config look likes:

 <!-- User  / Password -->
                <property name="connection.username">root</property>
                <property name="connection.password">dj76shwrsh16xsvak1</property>

                <!-- Database Settings -->
                <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
                <property name="dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>
                <property name="connection.url">jdbc:mysql://localhost/openmeetings?useUnicode=true&amp;createDatabaseIfNotExist=true&amp;characterEncoding=utf-8</property>

Installing Must new Version?

If you would like get must new version, I mean the version is under development, you should get a Snapshot from current source code, to do this follow this steps, if you don't like to have any thing more than OpenMeetings latest version or don't know what's snapshot, skip this step.

#aptitude install subversion

Get (checkout) OpenMeetings latest snapshot:

#svn checkout http://openmeetings.googlecode.com/svn/branches/dev/

I will rename dev to !OpenMeetingsFromSVN and then replace what updated in snapshot (from subversion) with what should be out of date in orginal openmeetings file downloaded from OpenMeetings and OpnLazslo:

# mv dev/ OpenMeetingsFromSVN
#cp -r OpenMeetingsFromSVN/laszlo/client/xmlcrm/videoconference/ /opt/lps-4.0.6/Server/lps-4.0.6/ 

Configure OpenMeetings

Now, first I update my language files:

#cp OpenMeetingsFromSVN/xmlcrm/java/webapp/openmeetings/languages/*  openmeetings/languages/.

Ok, It's time to place my OpenMeting in red5 document root to serving:

#cp -r openmeetings/ /usr/lib/red5/webapps/

Start every thing

Now time to start every thing we installed, I will start OpenOffice.org at first and then OpenLazslo and will start red5 server:

#xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore & 
#export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
#/opt/lps-4.0.6/Server/tomcat-5.0.24/bin/startup.sh
#/etc/init.d/red5 start

Instead of using a virtual frame buffer you may install and use a /etc/init.d/ooomeetings service.

The last part of instalation is web based, with your web browser (Firefox, Opera, IE, ...) and servers IP address and port 5080 (default):

http://$YOUR_IP:5080/openmeetings/Install

For example: http://127.0.0.1:5080/openmeetings/Install

after putting information in forms, OpenMeetings will initialize a DataBase (based on information that we gived to him) and now you can access OpenMeetings first page at:

http://$YOUR_IP:8080/lps-4.0.6/videoconference/

For example: http://127.0.0.1:5080/openmeetings/

Congratulation, OpenMeetings is ready to use :)

Touble Shooting

If you get any message about locales or fonts, you can use :

#dpkg-reconfigure locales
#aptitude install xfonts-base

If you would like to change rtmp host, you can use:

vim  /opt/lps-4.0.6/Server/lps-4.0.6/videoconference/config.xml 

Author

Contributed by Roberto Torresani <erreti@gmail.com>

Edited: Navid Abdi <navid@gnuiran.org>


Comment by charlesschmit, Nov 28, 2007

This was helpful. Thank you.

Comment by lapecoracarnivora, Nov 29, 2007

Very helpful, but I was installing in an ubuntu server I got some problems due to a wrong default character set in Mysql (It must be utf-8). I resolved the issue using

create database <db_name> default character set 'utf8';

for create the database.

Thanks to Sebastian for the help ;)

Comment by leroux.steven, Apr 24, 2008

Hi,

Thx for the tuto :)

Here is a unresolved dependency issue; you need to install "libungif4g libgif" in addition.

Steven

Comment by leroux.steven, Apr 24, 2008

For those who have sun-java6 :

dpkg --extract red5_0.6.3-1_all.deb red5_0.6.3-1_all dpkg --control red5_0.6.3-1_all.deb red5_0.6.3-1_all/DEBIAN rm red5_0.6.3-1_all.deb vi red5_0.6.3-1_all/DEBIAN/control (and change sun-java5-bin to sun-java6-bin dpkg --build red5_0.6.3-1_all

and finally : dpkg -i red5_0.6.3-1_all.deb

Comment by hamish.dewe, Aug 05, 2008

I've been following this tutorial (extremely helpful!), but when I navigate to the install page (127.0.0.1:5080/openmeetings/Install) I get a 404 page not found error. Does anyone have any pointers on what might be going wrong? I'm using Debian Etch and encountered the same problem when trying to install on Windows in the past.

Comment by matthieu.bouron, Aug 06, 2008

Same problem ... looks like red5 doesn't deploy the application ...

Comment by hamish.dewe, Aug 11, 2008

Matthieu, feeling a little foolish here: after a reboot, red5 found the application without any problems. Didn't seem to make any difference whether I put openmeetings in /usr/lib/red5/webapps/ or /usr/lib/red5/webapps/root (some people have found that it only seems to work inside the root folder on their machines). If you're still having problems, perhaps you should try restarting the red5 service or rebooting your machine.

Comment by jf.vibert, Aug 13, 2008

Thanks for the tutorial very helpful. I installed Ubuntu 8.04 (the latest) a debian based linux.

Nevertheless, I got the same problem (Install not found). After rebooting the machine, I got an install page, but the step 1 page was empty.

I tried openmeetings, he asked for flashplayer. I got and install, and it began to load with autoconnect and the progress bar and then it sopped at 30% and says Net connection : call failed rtmpt://127.0.0.1:8088/openmeetings/hibernate

Then freezed !

Any idea ?

Thanks JFV

Comment by hamish.dewe, Aug 13, 2008

I had a similar problem which was caused by the fact that not all required services were running. In particular, I found the line in the tutorial

xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore

just hung and didn't work for me. For an alternative way to start the service, consult the converters installation tutorial for the command that worked in my case. After that, check it's running by entering: netstat -an | grep 8100. If your install hung part way through and you want to start from fresh, delete install.xml in openmeetings/conf/ before trying again. I also found that it's not really necessary to manually create a database before installation: the install routine is capable of doing this itself.

Hope that helps

Comment by jf.vibert, Aug 13, 2008

Thnk you for your prompt answer,

xvfb ans openoffice runs (as stated by netstat -an | grep 8100 tcp 0 0 127.0.0.1:8100 0.0.0.0: LISTEN The install procedure stops after the step 1 (the page step is blank). The database was hand created using phpMyAdmin Tables have been created automaticaly (I dont know when) But still it stop after the step 3 with the message NetConnection?.Call.Net.Failed

Th log file is reall cryptic for me ! ERROR 08-13 16:06:12.098 ServiceInvoker?.java 1417580 242 org.red5.server.service.ServiceInvoker? btpool0-14? - Error executing call: Service: xmlcrm Method: getsessiondata Num Params: 0 ERROR 08-13 16:06:12.105 ServiceInvoker?.java 1417587 243 org.red5.server.service.ServiceInvoker? btpool0-14? - Service invocation error ... Caused by: java.lang.NullPointerException?

If any idea, Thank you

JFV

Comment by jf.vibert, Aug 13, 2008

Following your remark concerning the database creation, I removed the openmeeting databas, and redo the install, effectively it is created, but no tables are created inside. Still an empty step1 page... and a freeze at step3

JFV

Comment by hamish.dewe, Aug 14, 2008

JFV,

I've managed to replicate your issue when using xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore to start the openoffice service. When checked, the process says it's running (netstat -an | grep 8100), but seems to be not in a usable state for openmeetings and I got the exact same issue. Try using this command to start the openoffice service instead: /usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice?.ServiceManager?" -nologo -headless -nofirststartwizard Worked fine for me at least...

HD

Comment by mythjuha, Aug 15, 2008

Tried to install this on debian lenny, and the install directory was also missing.

Comment by mythjuha, Aug 15, 2008

btw, if one browses to: http://www.nanananana.com:5080/openmeetings/conf, one can look up your mysql username and password. And in this tutorial you use the root account.

(and no, havent fixed the install thing yet)

Comment by mythjuha, Aug 15, 2008

install thing fixed. Initially i had placed the openmeetings thing in the webapps/root folder, because it wasnt working otherwise. But i moved it back to the webapps folder and restarted red5.

Comment by joel.a.berger, Aug 22, 2008

I solved my problem with starting open office by also installing:

sudo apt-get install openoffice.org-headless

This presumably should be done at the same time as installing openoffice.org

Comment by gr...@bigsong.com, Aug 24, 2008

I installed on Ubuntu and everything works except screen sharing. users get the following error. I tried upgrading sun java from 1.5 to 1.6, same error:

NLParseExceptionCould not parse launch file. Error at line 0.

at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory?.buildDescriptor(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory?.buildDescriptor(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory?.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

java.io.EOFException: encoding.error.not.xml

at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source) at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory?.buildDescriptor(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory?.buildDescriptor(Unknown Source) at com.sun.javaws.jnl.LaunchDescFactory?.buildDescriptor(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Thanks Greg

Comment by aymeric.durand, Aug 31, 2008

Hi

I installed thanks this article and it's very good one. When I start on my debian : xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore &

I've got this error : xvfb-run: error: xauth command not found

Someone has an idea ?

Thanks in advance ;

Aymeric

Comment by aymeric.durand, Aug 31, 2008

So, convertr installation solved my isue but when I go to Step 1 of installation, I've got blank page :-( Does someone experiences same thing ? Is there a solution because openmeetings seems to be excellent for my office !

Regards ;

Aymeric

Comment by ad...@rhwebhosting.com, Sep 15, 2008

fantastic job, the only problem i had with the installation was i was stuck on stupid with some of the packages but figure it out awesome application

Comment by christian.kraus, Oct 29, 2008

Hi,

I´m getting a "NetConnection?.Call.Failed rtmpt://localhost:8088/openmeetings/hibernate" when browsing the installed site. Any ideas what´s going wrong?

My hibernate.cfg.xml is correct...

Comment by aratmoy, Dec 09, 2008

I hav some problem in the diffusion of a presentation some person in the conference don't see it

Comment by jacob.sylvia, Jan 09, 2009

I'm seeing the same thing as several others here with the freezing of step 1 after the install page. Everything else seems correct. Any help here possibly? At least give me some idea where to look?

Comment by jacob.sylvia, Jan 09, 2009

Just found an extremely easy way to get 52 up an running. Use the 51 VMware Image above, then issue this from the terminal:

#wget http://openmeetings.googlecode.com/files/openmeetings052.zip
#unzip openmeetings052.zip

Make the edits to your hibernate.cfg.xml file (username: openmeetings / pass: openmeetings)

then its all set!!

Comment by jacob.sylvia, Jan 09, 2009

Forgot to mention... after you unzip openmeetings052.zip you need to copy it into place.

#mv /usr/lib/red5/webapps/openmeetings /usr/lib/red5/webapps/openmeetings.51
#cp -r openmeetings/ /usr/lib/red5/webapps/
Comment by aratmoy, Jan 27, 2009

Helo everybody, I use openmeetings05.2 in a debian Etch, Everything works very good but the whiteboard doesn't display my presentation. someone can help to resolve this problem ?

Comment by aratmoy, Jan 27, 2009

When I want share a presentation, the application show a windows with this indication : The connexion with the server is lost ... And after the disappearance of this windows, nothing appears on the whiteboard.

Please help me to test all the functions of openmeetings052 on debian Etch

Comment by liu...@163.com, Feb 15, 2009

我在linux下也装了一个openmeetings.但是不能导入幻灯片之类的office文档,openoffice我装好了,也监听了8100端口。错误提示信息是说找不到ImageMagick?-6.2.7/convert文件,我感觉是安装时ImageMagick?和ghostscript路径填错了。能告诉怎么正确的填写吗。谢谢。 我的EMAIL:liu-23@163.com我会常来这个地方看回复。不过我还是希望知道的朋友,能Email告诉我,以便我最快的能解决问题。谢谢了。。。

Comment by sch...@imn.htwk-leipzig.de, Mar 13, 2009

I can't get the swftools installed - some conflicts with newer versions of the used librarys. Is there a stable version of swftools anywhere? I also can't get the tomcat startet, something about the JAV_HOME is not defined?? Isn't that the "export JAVA_HOME=/user..." Command?? there was no error when i used the command what's the problem?

Comment by visumagic, Apr 26, 2009

Please update this wiki

we are getting many problems while installing ..

raghu

Comment by sam1215, May 06, 2009

According to the installation guide, I've found something under the "Start every thing": "Instead of using a virtual frame buffer you may install and use a /etc/init.d/ooomeetings service."

What is this actually? I've download and put all files to the proper locations. But it doesn't work. 1. in the red5 file, I was forced to add user/group "video". and I still cannot make it work. 2. in /home/video/openmeetings/ I see: debian:/home/video/openmeetings# ls -al total 8 drwxr-xr-x 2 root root 4096 2009-05-06 13:03 . drwxr-xr-x 3 root root 4096 2009-05-06 13:46 .. lrwxrwxrwx 1 root root 30 2009-05-06 13:03 ooomeetings-daemon -> /home/video/ooomeetings-daemon lrwxrwxrwx 1 root root 23 2009-05-06 13:03 red5-daemon -> /home/video/red5-daemon

why? red5-daemon point to itself. also ooomeetings-daemon point to itself. when I try to start red5, I can only get the message: "Starting ooomeetings: sh: /home/video/openmeetings/ooomeetings-daemon: No such file or directory"

of course I cannot make openmeetings work.

Can you kindly let me know why?

Comment by sam1215, May 06, 2009

By the way, I've tried to search the "ooomeetings" by google. I got nothing. I've also run the openmeetings from VMWareImageDebian051. and I also got nothing for ooomeetings.

Can anyone tell me why?

Sam

Comment by alexei.fedotov, May 06, 2009

Hello Sam,

Please read the reply on the dev@ list. It seems you should unpack more files from the daemons.tar.gz to make things work.

Comment by sam1215, May 07, 2009

Hi Alexei, Thanks for your kindly replying. I wish I did wrong. but actually when I unpack the file, all files I got is : etc/init.d/red5 etc/init.d/ooomeetings etc/default/red5 etc/default/ooomeetings home/video/openmeetings/red5-daemon home/video/openmeetings/ooomeetings-daemon

Is there anything I missed?

Comment by alexei.fedotov, May 07, 2009

Hello Sam, Have you checked the author reply on the openmeetings-dev@googlegroups.com list? He knows these things better than me.

Comment by ruslan.lisenko, Jun 10, 2009

thanks! i've got a question - is it possible to increase "screenshare" quality?

Comment by alexei.fedotov, Jun 10, 2009

> i've got a question - is it possible to increase "screenshare" quality?

you choose quality before starting screen sharing

Comment by teh.support, Jun 18, 2009

Very good. But I need to now: where is admin console?

Comment by teh.support, Jun 18, 2009

need to know

Comment by rmmarconi, Jul 08, 2009

there is a new version of swftools at wget http://ftp.debian.org/debian/pool/main/s/swftools/swftools_0.8.1-2.1_i386.deb and libgif4 is a dependence for it

Comment by steven.critchfield, Jul 10, 2009

I followed the instructions as posted. Great tutorial. Worked with two small exceptions. Only noting because the docs are so great and I want them to be perfect.

The red5 package listed seems to have a broken /etc/default/red5 file. I needed to set the JAVA_HOME line and comment out the CLASSPATH to get red5 to start properly. The init.d script doesn't seem to properly report that it failed to start and led to a fair amount of time tracking down why port 5080 wasn't available.

The other part may not be a real problem, but it seemed I couldn't get this running as a amd64 install. Running via vserver, so reinstalling as i386 wasn't really a hard thing.

Comment by aratmoy, Jul 23, 2009

I have problem with invitation. When I send an Invitation with password authentification, it's doesn't work.

Comment by cooboxlinux, Aug 07, 2009

Thanks for the howto. I've installed openmeetings successfully on Ubuntu 8.04.2 LTS Server.

I have only an issue. I cannot create new user, everytime OpenMeetings? tell me wrong email.

Why ?

Comment by cooboxlinux, Aug 11, 2009

OK I will check my SMTP settings.

2°) I've installed OpenMeetings? inside a Virtual Machine, all seems to be OK but @ http://172.x.x.x/openmeetings/Install nothing appear, no error, just a blank page why ?

Comment by cooboxlinux, Aug 11, 2009

Step1 is empty

Comment by cooboxlinux, Aug 11, 2009

I've fixed _ my mistake

Comment by soto.jesus, Aug 19, 2009

Hello i,m running the vmware 2056 image in a ESXi server. I want to know how can i upgrade this 2056 release to r2219.

thanks in advance...

Comment by silverb...@dorset.org.au, Sep 09, 2009

I am running a Ubuntu server and while I had the original dist running I upgraded to r2227 and now I get the folowing error when I start red5 Starting red5: Unknown id: video What have I forgotten to do?

Comment by petercc85, Sep 22, 2009

In the openoffice package step: #aptitude install xvfb openoffice.org There's a missing packages that enables the tool to run in headless mode: #aptitude install xvfb openoffice.org openoffice.org-headless And by adding this the following command should execute without errors: ##xvfb-run --server-args='-screen 0 800x600x16' -a /usr/lib/openoffice/program/soffice -headless -nologo -norestore &

Comment by aratmoy, Sep 27, 2009

I have problem with invitation. When I send an Invitation with password authentification, it's doesn't work.

Comment by mmontoya, Sep 28, 2009

how can I install OM manually? I'm getting a blank page in /openmeetings/Install?command=step2

Comment by mmontoya, Sep 28, 2009

I am getting:

 [INFO] [http-5080-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/openmeetings] -  Velocity   [warn] VelocityViewServlet: couldn't find template to match request.

in /openmeetings/Install?command=step2

Comment by petercc85, Sep 29, 2009

If you have a blank page in step two, check your database. It needs to be utf-8 so that hibernate can insert the default values.

Comment by SFreeper, Oct 22, 2009

My default character set is UTF8 and I still can't get to step2. I checked netstat and it tells me, that my mySQL db is listening on port 3306 and my red5 Server is trying to connect to it. But the mysqld just seems to ignore it somehow...

any ideas?!

another application on the Server is writing into the DB without any problems...


Sign in to add a comment
Hosted by Google Code