Re: [openmeetings-user] Install on Debian on Amazon EC2 - IP address issue

2012-05-21 Thread Jaime Balbino
I have two install OM in Amazon EC2 and no problem. But the IP change
with reestart server. I buy fix IP.

Jaime

2012/5/21 Sergey Kobzar :
> I think so.
>
> Check Amazon security group rules you assigned to the server. Remember that
> OM uses many ports - not tcp:5080 only.
>
>
>
> On 05/21/12 06:18, Maxim Solodovnik wrote:
>>
>> AWS private/public IP is not an issue.
>> Please check you have all necessary ports opened and DB installed/running.
>>
>> On Mon, May 21, 2012 at 10:10 AM, bmullan > > wrote:
>>
>>    Sebastian
>>
>>    I am new to OpenMeetings but like Alexander I am trying install OM2
>>    on Amazon's (AWS) EC2 cloud.
>>    Like Alexander ...  I can get everything installed but OpenMeetings
>>    is NOT reachable from the internet.
>>
>>    You may not be familiar with AWS but when you launch a Server on AWS
>>    EC2 it gets 2 IP addresses, and a PUBLIC DNS name.
>>
>>    There is a PUBLIC IP address that can connect to the server from the
>>    internet.
>>
>>    However, there is also a PRIVATE IP address that is INTERNAL to the
>>    AWS cloud and NOT reachable by the internet.
>>    my example server:
>>
>>    /*Public DNS: ec2-23-23-198-151.compute-1.amazonaws.com
>>    */
>>    /*Private DNS: ip-10-76-175-149.ec2.internal*/
>>    /*Private IP Address: 10.76.175.149*/
>>
>>
>>    Any application trying to reach my server across the internet would
>>    point their URL to the PUBLIC DNS (which by the way the
>>    23-23-198-151 is also the PUBLIC IP just substitute DOTS for the DASHS)
>>
>>    An application on the internet could NOT access the Private DNS
>>    /ip-10-76-175-149.ec2.internal (or 10.76.175.14) as that is internal
>>
>>    to the AWS cloud only
>>    *
>>    */However, ANY application _running ON that server_ which is set to
>>
>>    use either LOCALHOST -or- the PUBLIC DNS -or- the PUBLIC IP ... will
>>    automatically be redirected by the AWS Cloud virtualzation itself to
>>    the PRIVATE INTERNAL IP Address which is NOT reachable by the
>>    Internet./*
>>    *
>>    For example _if I am logged into that openmeetings server_ and I
>>
>>    ping its PUBLIC DNS ec2-23-23-198-151.compute-1.amazonaws.com... I
>>    will really be pinging 10.76.175.149 ... the internal private IP.
>>
>>    Therefore my OpenMeeting server (and I assume xander's) is NOT
>>    reachable from the internet the way OpenMeetings is configured and I
>>    get this screen when attempting to access it.  It stays at this
>>    message forever.  Yes, I have checked mysql password, userID and
>>    host and they are all correct.
>>
>>    /*http://23.23.198.151:5080/openmeetings/install*
>>    /
>>    /
>>    /OpenMeetings - Loading .../
>>    /The server is not yet completely initialized. Please try again in a
>>    couple of seconds./
>>    /If this message persists for several minutes contact your
>>    Sys-Administration./
>>    /If that message stays forever you should check the logs located in /
>>
>>    /openmeetings_install_dir/log/
>>
>>
>>    folder, probably your database user/pwd/host is wrong!
>>
>>    I have also tried changing "hostname" in these files:/*
>>    */
>>
>>      * /*/etc/init.d/red5*/
>>      *
>> /*/usr/lib/red5/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml*/
>>      * /*and in the mysql openmeetings database */
>>
>>
>>    to the PUBLIC IP address of the AWS server and restarted everything
>>    and I still end up with the above message... waiting forever.
>>
>>    So although I can reach something on the AWS Openmeetings server...
>>    there is something in the application configuration that is not
>>    communicating correctly in the AWS cloud environment.
>>    /*
>>    */Any ideas or other configuration items I should be checking?
>>
>>    Brian Mullan/*
>>
>>
>>
>>    */
>>
>>
>>
>>
>>
>>    On Saturday, July 2, 2011 3:40:38 AM UTC-4, Sebastian Wagner wrote:
>>
>>        Hi Alexander,
>>
>>        the installation on EC2 is not really different from installing
>>        OpenMeetings on any other dedicated server.
>>        You can simply use the normal Installation Instructions.
>>
>>        The Automatic Install Script is also not that up-to-date with the
>>        latest version of OpenMeetings.
>>        But why this line of the script:
>>        Done!! open the website at your browser: http://$(ifconfig eth0
>>        |grep
>>        "inet addr:" |cut -d : -f 2 |cut -f1 -d"
>>        "):5080/openmeetings/install
>>
>>        Does not return your IP ... I mean you know what IP / domain you
>>        got,
>>        why not simply enter that address?
>>
>>        Sebastian
>>
>>
>>        2011/7/1 Xander Dumaine >        >:
>>
>>         > I created an instance on Amazon EC2 server running Debian
>>        5.0. I used
>>         > the automated script install found here:
>>         >
>>
>>  http://code.google.com/p/__openmeetings/wik

Re: Step by Step build instructions (Updates)

2012-05-22 Thread Jaime Balbino
Hi,

I use this updated guide and now my install is OK. Thanks!

But:

1, I have source compile error ("Build Failure"). I use pre-compile build
r1340865-20-05-2012

2. Don't work OM interface install suggest
".//jodconverter-core-3.0-beta-4/lib". The full patch is correct.

3. In page 18 error persist: "GRANT ALL PRIVILEGES ON openmeetings.* TO
'openmeetings'@'localhost' IDENTIFIED BY" - space in " openmeetings. *"

4. All converters and record OK. I have recompile ffmpeg after install, but
run ok now.

Bye.

2012/5/21 Stephen Cottham 

>  Hi All,
>
> Ubuntu and Debian guides have been updated and uploaded here:
>
>
> https://cwiki.apache.org/confluence/display/OPENMEETINGS/Tutorials+related+to+OpenMeetings
>
>
> "Installing OM2.x On Debian64 - 
> Headless.pdf(Debian
>  Squeeze)"
>
> and
>
> "Installing OM2.x On Ubuntu64 - 
> Headless.pdf(Unbuntu
>  12.04)"
>
> Best Regards
>


Re: Step by Step build instructions (Updates)

2012-05-22 Thread Jaime Balbino
Hi Stephen,

2012/5/22 Stephen Cottham 
>
> Which guide did you use? (They was both updated again yesterday)

Debian 6.0 guide. I had problems earlier in the guide exactly where
corrections were made.
On the server already running the OM 1.88. Now disabled.


> 1) What was the compile error? did you have the correct version of Ant?
I use correct Ant (1.83). I had the same problem with some libraries
that have been classified as deprecated. I'll try again and inform
you.

> 2) I'm not sure what you mean here, the full path is given in the guide 
> "/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib" did 
> that not work for you?
This link is OK. Commented that the installation screen suggests
another general link.

> 3) I just checked both PDF's online I cant see the space on the mysql DB 
> creation, perhaps you downloaded the original version before they was 
> updated. (This was noted by Brian Mullan a few days ago which prompted the 
> first update)
No. In two guides (Debian and Ubuntu) no space in "...openmeetings.* TO...".

> 4) I have added the compile steps back to both Documents for ffmpeg on the 
> last update so that was the correct way.
I did the steps. But he showed videos on whiteboard with black screen
and did not convert the recordings. I retraced the same steps and it
worked. It did not error any of the times.

>
> Hopefully I have all the changes now and its a working document from 
> beginning to end for new users, let me know if not and I'll make any changes.
I could not test the script to the / etc/init.d/red5. I suggest you
remove the elements of text formatting and line breaks allow very
clear. When copying and pasting problems can happen.

The part of the reverse proxy and SSL I have not tested too.

I think the installation is still very difficult for those beginners.
I think this should be made explicit at the beginning of the text and
should have a summary of what each step on the first page.
(install linux, download the main packages, download packages
auxiliary building the core of OM, build text converters, image and
PDF converters, video converters, etc ...)

Thanks.


Re: Step by Step build instructions (Updates)

2012-05-22 Thread Jaime Balbino
2012/5/22 Stephen Cottham 

>
> 1) What was the compile error? did you have the correct version of Ant?
>

Ant 1.83 in last lines this error occour:

 compile.only:
 [echo] Compile main to
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/build/classes/openmeetings
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/build.xml:436:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 355 source files to
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/build/classes/openmeetings
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/app/sip/xmlrpc/OpenXGHttpClient.java:25:
package javax.net.ssl does not exist
[javac] import javax.net.ssl.SSLContext;
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/app/sip/xmlrpc/EasyX509TrustManager.java:27:
package javax.net.ssl does not exist
[javac] import javax.net.ssl.TrustManagerFactory;
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/app/sip/xmlrpc/EasyX509TrustManager.java:28:
package javax.net.ssl does not exist
[javac] import javax.net.ssl.TrustManager;
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/app/sip/xmlrpc/EasyX509TrustManager.java:29:
package javax.net.ssl does not exist
[javac] import javax.net.ssl.X509TrustManager;
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/app/sip/xmlrpc/EasyX509TrustManager.java:55:
cannot find symbol
[javac] symbol: class X509TrustManager
[javac] public class EasyX509TrustManager implements X509TrustManager
[javac]  ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/app/sip/xmlrpc/EasyX509TrustManager.java:57:
cannot find symbol
[javac] symbol  : class X509TrustManager
[javac] location: class
org.openmeetings.app.sip.xmlrpc.EasyX509TrustManager
[javac] private X509TrustManager standardTrustManager = null;
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/test/sip/TestDebugConnection.java:26:
package javax.net.ssl does not exist
[javac] import javax.net.ssl.HostnameVerifier;
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/test/sip/TestDebugConnection.java:27:
package javax.net.ssl does not exist
[javac] import javax.net.ssl.HttpsURLConnection;
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/test/sip/TestDebugConnection.java:28:
package javax.net.ssl does not exist
[javac] import javax.net.ssl.SSLContext;
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/test/sip/TestDebugConnection.java:29:
package javax.net.ssl does not exist
[javac] import javax.net.ssl.SSLSession;
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/test/sip/TestDebugConnection.java:30:
package javax.net.ssl does not exist
[javac] import javax.net.ssl.TrustManager;
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/test/sip/TestDebugConnection.java:31:
package javax.net.ssl does not exist
[javac] import javax.net.ssl.X509TrustManager;
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/test/sip/TestDebugConnection.java:39:
cannot find symbol
[javac] symbol: class X509TrustManager
[javac] class MyTrustManager implements X509TrustManager {
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/test/sip/TestDebugConnection.java:53:
cannot find symbol
[javac] symbol: class HostnameVerifier
[javac] class MyHostnameVerifier implements HostnameVerifier {
[javac] ^
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/test/sip/TestDebugConnection.java:54:
cannot find symbol
[javac] symbol  : class SSLSession
[javac] location: class org.openmeetings.test.sip.MyHostnameVerifier
[javac] public boolean verify(String arg0, SSLSession arg1) {
[javac]^
[javac] Note: Starting OpenJPA Annotation Processor for Metamodel
Generation
[javac]
/home/jaimebalb/openmeetings2rc/testesource/singlewebapp/src/org/openmeetings/app/sip/xmlrpc/OpenXGHttpCli

Re: Step by Step build instructions (Updates)

2012-05-23 Thread Jaime Balbino
Sun-Java in Ubuntu via PPA try this:

sudo apt-add-repository ppa:flexiondotorg/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin


soffice and red5 daemon

2012-05-23 Thread Jaime Balbino
Hi,

There is one thing I do not understand. When I run the script "red5.sh
&" in the main directory I do not need soffice. But when I use the "/
etc/init.d/red5 the" soffice runs as daemon and can not be disabled so
that the text conversion to work.

The soffice daemon is no longer necessary because of JODConverter. Why
keep it inside the daemon red5?


Re: soffice and red5 daemon

2012-05-23 Thread Jaime Balbino
George,

If you stop the daemon red5 ("sudo /etc/init.d/red5 stop") and
restart from directory red5 ("sudo sh red5.sh"), you will see text
convertion run ok because JODconvert work on demand.

I try comment soffice line in red5 script, but text convertion don't
work and "HTTP 500 error" mensage display in OM interface.

Bye,
Jaime

2012/5/23 Maxim Solodovnik :
> Hello George,
>
> since OM 2.0 there is no need to run soffice daemon, it is run automatically
> by JODConverter on-demand.
>
>
> On Thu, May 24, 2012 at 8:55 AM, George Kirkham 
> wrote:
>>
>> Jaime,
>>
>> I may learn something here, but I understood that soffice is still used
>> for the conversion, and that JODConverter uses soffice to do the
>> conversion. If this is not the case, is there a way to select which will
>> do the conversion?
>>
>> If I am wrong, when others respond to your question, I will learn
>> further.
>>
>> I have found that the document conversion for PowerPoint 2007 .pptx
>> files is not great and so I always save out to PDF from PowerPoint and
>> then upload the PDF file, then OpenMeetings uses SWFTools' pdf2swf for
>> the conversion and so text with font and layout looks much more like the
>> original PowerPoint presentation.
>>
>> I always use /etc/init.d/red5 script to start and stop both soffice and
>> red5 services.  And to check the status of the running services.
>>
>> Regards,
>>
>> George.
>>
>> -Original Message-
>> From: Jaime Balbino [mailto:jaimeb...@gmail.com]
>> Sent: Thursday, 24 May 2012 11:48 AM
>> To: openmeetings-user@incubator.apache.org
>> Subject: soffice and red5 daemon
>>
>> Hi,
>>
>> There is one thing I do not understand. When I run the script "red5.sh
>> &" in the main directory I do not need soffice. But when I use the "/
>> etc/init.d/red5 the" soffice runs as daemon and can not be disabled so
>> that the text conversion to work.
>>
>> The soffice daemon is no longer necessary because of JODConverter. Why
>> keep it inside the daemon red5?
>
>
>
>
> --
> WBR
> Maxim aka solomax


New /etc/init.d/red5 without soffice daemon

2012-05-24 Thread Jaime Balbino
Hi,

I was able to eliminate the need for soffice daemon using my old script in:

http://kwlug.org/sites/kwlug.org/files/openmeetings-startup.tgz
(author: Raul Suarez ra...@yahoo.com)

Just download, unpack (tar -xvzf) and copy the file "red5" to "/etc /init.d/".

So OM 2.0 will run and convert text without turning on the soffice daemon.

PS: Do not know why I could not disable the daemon in the soffice
script Stephen.

Bye,
Jaime Balbino


2012/5/23 Jaime Balbino :
> George,
>
> If you stop the daemon red5 ("sudo /etc/init.d/red5 stop") and
> restart from directory red5 ("sudo sh red5.sh"), you will see text
> convertion run ok because JODconvert work on demand.
>
> I try comment soffice line in red5 script, but text convertion don't
> work and "HTTP 500 error" mensage display in OM interface.
>
> Bye,
> Jaime
>
> 2012/5/23 Maxim Solodovnik :
>> Hello George,
>>
>> since OM 2.0 there is no need to run soffice daemon, it is run automatically
>> by JODConverter on-demand.
>>
>>
>> On Thu, May 24, 2012 at 8:55 AM, George Kirkham 
>> wrote:
>>>
>>> Jaime,
>>>
>>> I may learn something here, but I understood that soffice is still used
>>> for the conversion, and that JODConverter uses soffice to do the
>>> conversion. If this is not the case, is there a way to select which will
>>> do the conversion?
>>>
>>> If I am wrong, when others respond to your question, I will learn
>>> further.
>>>
>>> I have found that the document conversion for PowerPoint 2007 .pptx
>>> files is not great and so I always save out to PDF from PowerPoint and
>>> then upload the PDF file, then OpenMeetings uses SWFTools' pdf2swf for
>>> the conversion and so text with font and layout looks much more like the
>>> original PowerPoint presentation.
>>>
>>> I always use /etc/init.d/red5 script to start and stop both soffice and
>>> red5 services.  And to check the status of the running services.
>>>
>>> Regards,
>>>
>>> George.
>>>
>>> -Original Message-
>>> From: Jaime Balbino [mailto:jaimeb...@gmail.com]
>>> Sent: Thursday, 24 May 2012 11:48 AM
>>> To: openmeetings-user@incubator.apache.org
>>> Subject: soffice and red5 daemon
>>>
>>> Hi,
>>>
>>> There is one thing I do not understand. When I run the script "red5.sh
>>> &" in the main directory I do not need soffice. But when I use the "/
>>> etc/init.d/red5 the" soffice runs as daemon and can not be disabled so
>>> that the text conversion to work.
>>>
>>> The soffice daemon is no longer necessary because of JODConverter. Why
>>> keep it inside the daemon red5?
>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax


Moddel 1.9 plugin

2012-07-29 Thread Jaime Balbino
Hi,

The Moodle 1.9 plugin don't run OM 2.0?

I have this error while create room in Moodle:

Error

wsdl error: HTTP ERROR: Unsupported HTTP response status 404 Not Found
(soapclient->response has contents of the response)
My WARNING [512] Cannot set undefined directive Core.NormalizeNewlines
to value on line 2077 in file /usr/share/moodle/lib/weblib.php
My WARNING [512] Base directory /var/lib/moodle/cache/htmlpurifier
does not exist, please create or change using %Cache.SerializerPath
My WARNING [512] Base directory /var/lib/moodle/cache/htmlpurifier
does not exist, please create or change using %Cache.SerializerPath
My WARNING [512] Cannot retrieve value of undefined directive
Core.NormalizeNewlines on line 266 in file
/usr/share/moodle/lib/htmlpurifier/HTMLPurifier/Lexer.php
My WARNING [512] Cannot retrieve value of undefined directive
Core.RemoveProcessingInstructions on line 303 in file
/usr/share/moodle/lib/htmlpurifier/HTMLPurifier/Lexer.php
My WARNING [512] Cannot retrieve value of undefined directive
Core.NormalizeNewlines on line 101 in file
/usr/share/moodle/lib/htmlpurifier/HTMLPurifier/Generator.php
Error

wsdl error: HTTP ERROR: Unsupported HTTP response status 404 Not Found
(soapclient->response has contents of the response)
Could not login User to OpenMeetings, check your OpenMeetings Module
Configuration


Re: Moddel 1.9 plugin

2012-07-29 Thread Jaime Balbino
Hi,

I test this. But the new Moodle plugin is only 2.0 version. Don't run in 1.9.

I think the SOAP paraments change in OM 2.0.

2012/7/30 Maxim Solodovnik :
> According to error code (404) there is something wrong with your moodle
> plugin parameters.
> I have tested only latest 2.2 version of plugin and it seems to work as
> expected.
>
> Maybe you can try the new version of plugin? I believe it should be
> compatible with 1.9
>
>
> On Mon, Jul 30, 2012 at 9:39 AM, Jaime Balbino  wrote:
>>
>> Hi,
>>
>> The Moodle 1.9 plugin don't run OM 2.0?
>>
>> I have this error while create room in Moodle:
>>
>> Error
>>
>> wsdl error: HTTP ERROR: Unsupported HTTP response status 404 Not Found
>> (soapclient->response has contents of the response)
>> My WARNING [512] Cannot set undefined directive Core.NormalizeNewlines
>> to value on line 2077 in file /usr/share/moodle/lib/weblib.php
>> My WARNING [512] Base directory /var/lib/moodle/cache/htmlpurifier
>> does not exist, please create or change using %Cache.SerializerPath
>> My WARNING [512] Base directory /var/lib/moodle/cache/htmlpurifier
>> does not exist, please create or change using %Cache.SerializerPath
>> My WARNING [512] Cannot retrieve value of undefined directive
>> Core.NormalizeNewlines on line 266 in file
>> /usr/share/moodle/lib/htmlpurifier/HTMLPurifier/Lexer.php
>> My WARNING [512] Cannot retrieve value of undefined directive
>> Core.RemoveProcessingInstructions on line 303 in file
>> /usr/share/moodle/lib/htmlpurifier/HTMLPurifier/Lexer.php
>> My WARNING [512] Cannot retrieve value of undefined directive
>> Core.NormalizeNewlines on line 101 in file
>> /usr/share/moodle/lib/htmlpurifier/HTMLPurifier/Generator.php
>> Error
>>
>> wsdl error: HTTP ERROR: Unsupported HTTP response status 404 Not Found
>> (soapclient->response has contents of the response)
>> Could not login User to OpenMeetings, check your OpenMeetings Module
>> Configuration
>
>
>
>
> --
> WBR
> Maxim aka solomax