You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Manuel Michaelis <ma...@manuelmichaelis.de> on 2012/08/26 22:27:01 UTC

OpenMeetings 2.X Installation on Ubuntu

By trying to setup OpenMeetings 2.0 on ubuntu 12.04, following the
instructions titled " OpenMeetings 2.X Installation on Ubuntu 64bit 12.04"
following error occurred:

HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.

exception
java.lang.NullPointerException
	
org.apache.velocity.tools.view.VelocityView.performMerge(VelocityView.java:9
42)
org.apache.velocity.tools.view.VelocityView.merge(VelocityView.java:902)
org.apache.velocity.tools.view.VelocityViewServlet.mergeTemplate(VelocityVie
wServlet.java:318)
org.apache.velocity.tools.view.VelocityViewServlet.doRequest(VelocityViewSer
vlet.java:220)
org.apache.velocity.tools.view.VelocityViewServlet.doPost(VelocityViewServle
t.java:192)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(Servl
etRequestExFilter.java:53)
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.32 logs.
Apache Tomcat/6.0.32

Can anybody help?




RE: OpenMeetings 2.X Installation on Ubuntu

Posted by George Kirkham <gk...@co2crc.com.au>.
Manuel,

 

Like you, I when building a new server I do not use " update-rc.d ", but
instead always start the server manually via "/etc/init.d/red5 start".

 

I think your server is running correctly, since your " netstat -anp |
grep java" output is as I expect it, and because you get to
'[yourOpenmeetingsServerIpAddress]:5080/openmeetings/install?command=ste
p2'

 

Maybe there is an issue that you need to specify more than the " I filed
the 5 lines " because whenever I create a new server I fill more lines
than this and it works.  Sorry but I cannot remember exactly which lines
exist and which lines I fill.

 

For my own notes, I had recorded these steps, maybe they will help you ?

 

You will be provided various information, select to start Step 1 and
enter the required information.  

Create a name for your OpenMeetings Administrator (e.g. Admin)

Enter the OpenMeetings Administrator's email address and the
"Mail-referer"'s email address.  Note: If you or your email server's
administrator can create a generic email address, like
OpenMeetings@mydomain.com, it will look professional when the automated
emails for accounts and invitations are sent.

Set "Default Rooms of all types will be created" to "No" as we will
import from backup.

For OpenMeetings to send emails, enter your SMTP-Server's details (and
account login details if your SMTP server requires authentication).

Debian's paths for SWFTools, ImageMagick, FFMPEG, SoX and where we
copied JOD Converter are;

SWFTools Path     /usr/local/bin

ImageMagick Path /usr/bin

FFMPEG Path       /usr/local/bin

SoX Path    /usr/bin

JOD Path
/usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib

 

 

I also enter a "SMTP-Server (smtp_server)", and SMTP-Username and a
SMTP-Userpass.

 

 

 

Thanks,

 

George Kirkham

 

 

 

 

-----Original Message-----
From: Manuel Michaelis [mailto:manuel@manuelmichaelis.de] 
Sent: Monday, 27 August 2012 11:43 PM
To: openmeetings-user@incubator.apache.org
Subject: AW: OpenMeetings 2.X Installation on Ubuntu 

 

Dear George Kirkham,

 

thanks for your fast response. Here is a detailed description of what

happened:

 

It was not a log file extract. The error message I posted was the
content of the browser window when the error happened. BTW, at the time
the error happend the browser url showed
'[yourOpenmeetingsServerIpAddress]:5080/openmeetings/install?command=ste
p2'

All I did was filling the 5 lines from 'Username' .. 'Domain Name'

according to the manual, clicked [Install] and after approx. 30 sec. the
error happened.

 

OpenMeetings was started in the console with

 

/etc/init.d/red5 start

 

(I did this because I did not get Autostart to work. The StartStop
script '/etc/init.d/red5' perms were properly set, update-rc.d worked
and I could see the red5 symlink in '/etc/rcX.d' runlevels, rebootet but
no autostart.

With 'free' in the console I could see that no

(additional) memory was allocated, hence, no autostart. So I removed the

red5 symlink from the runlevels by 'update-rc.d -f red5 remove' if
memory serves me well, checked they are actually gone, rebooted and
started the

red5 with the above mentioned command.)

 

After the error happened I put

[yourOpenmeetingsServerIpAddress]:5080/openmeetings/install

in the browser again and got the install page. So Red5/OM was still
running and I went for a 2. try. I filed the 5 lines again (like I did

before) and clicked [Install]. Now immediately (the first time it took
approx. 30s) I got the exactly same error msg again.

 

I did a

netstat -anp | grep java

right now (not yesterday). Hope the output is useful for you. I removed
white space to avoid line wrap and replaced IPs by X.X.X.X for privacy
reason. Output is.

 

tcp6 0 0 :::36357 :::*  LISTEN  2224/java

tcp6 0 0 :::1935  :::*  LISTEN  2224/java

tcp6 0 0 :::9999  :::*  LISTEN  2224/java

tcp6 0 0 :::8088  :::*  LISTEN  2224/java

tcp6 0 0 :::5080  :::*  LISTEN  2224/java

tcp6 1 0 X.X.X.X:1935 X.X.X.X:61918 CLOSE_WAIT 2224/java

tcp6 1 0 X.X.X.X:1935 X.X.X.X:61712 CLOSE_WAIT 2224/java

tcp6 0 0 127.0.0.1:46381 127.0.0.1:3306 ESTABLISHED 2224/java

tcp6 1 0 X.X.X.X:1935 X.X.X.X:61529 CLOSE_WAIT 2224/java

tcp6 1 0 X.X.X.X:1935 X.X.X.X:61567 CLOSE_WAIT 2224/java

tcp6 1538 0 X.X.X.X:1935 X.X.X.X:62959 CLOSE_WAIT 2224/java

tcp6 1 0 X.X.X.X:1935 X.X.X.X:61524 CLOSE_WAIT 2224/java

tcp6 1 0 X.X.X.X:1935 X.X.X.X:62304 CLOSE_WAIT 2224/java unix 2  [ ]
STREAM CONNECTED 8019268 2224/java unix 2  [ ] STREAM CONNECTED 8006419
2224/java

 

The output of

ls -al /etc/init.d/red5

is

-rwxr-xr-x 1 root root 1769 Aug 26 19:09 /etc/init.d/red5

 

Well, I rebooted the server, started Red5 at the console, tried in my
browser a new [Install] but immediately I get the above mentioned error.

Guess I'm stuck ;)

 

Manuel

 

 

 

 


AW: OpenMeetings 2.X Installation on Ubuntu

Posted by Manuel Michaelis <ma...@manuelmichaelis.de>.
Dear George Kirkham,

thanks for your fast response. Here is a detailed description of what
happened:

It was not a log file extract. The error message I posted was the content of
the browser window when the error happened. BTW, at the time the error
happend the browser url showed
'[yourOpenmeetingsServerIpAddress]:5080/openmeetings/install?command=step2'
All I did was filling the 5 lines from 'Username' .. 'Domain Name'
according to the manual, clicked [Install] and after approx. 30 sec. the
error happened.

OpenMeetings was started in the console with

/etc/init.d/red5 start

(I did this because I did not get Autostart to work. The StartStop script
'/etc/init.d/red5' perms were properly set, update-rc.d worked and I could
see the red5 symlink in '/etc/rcX.d' runlevels, rebootet but no autostart.
With 'free' in the console I could see that no
(additional) memory was allocated, hence, no autostart. So I removed the
red5 symlink from the runlevels by 'update-rc.d -f red5 remove' if memory
serves me well, checked they are actually gone, rebooted and started the
red5 with the above mentioned command.)

After the error happened I put
[yourOpenmeetingsServerIpAddress]:5080/openmeetings/install
in the browser again and got the install page. So Red5/OM was still running
and I went for a 2. try. I filed the 5 lines again (like I did
before) and clicked [Install]. Now immediately (the first time it took
approx. 30s) I got the exactly same error msg again.

I did a
netstat -anp | grep java
right now (not yesterday). Hope the output is useful for you. I removed
white space to avoid line wrap and replaced IPs by X.X.X.X for privacy
reason. Output is.

tcp6 0 0 :::36357 :::*  LISTEN  2224/java
tcp6 0 0 :::1935  :::*  LISTEN  2224/java
tcp6 0 0 :::9999  :::*  LISTEN  2224/java
tcp6 0 0 :::8088  :::*  LISTEN  2224/java
tcp6 0 0 :::5080  :::*  LISTEN  2224/java
tcp6 1 0 X.X.X.X:1935 X.X.X.X:61918 CLOSE_WAIT 2224/java
tcp6 1 0 X.X.X.X:1935 X.X.X.X:61712 CLOSE_WAIT 2224/java
tcp6 0 0 127.0.0.1:46381 127.0.0.1:3306 ESTABLISHED 2224/java
tcp6 1 0 X.X.X.X:1935 X.X.X.X:61529 CLOSE_WAIT 2224/java
tcp6 1 0 X.X.X.X:1935 X.X.X.X:61567 CLOSE_WAIT 2224/java
tcp6 1538 0 X.X.X.X:1935 X.X.X.X:62959 CLOSE_WAIT 2224/java
tcp6 1 0 X.X.X.X:1935 X.X.X.X:61524 CLOSE_WAIT 2224/java
tcp6 1 0 X.X.X.X:1935 X.X.X.X:62304 CLOSE_WAIT 2224/java unix 2  [ ] STREAM
CONNECTED 8019268 2224/java unix 2  [ ] STREAM CONNECTED 8006419 2224/java

The output of
ls -al /etc/init.d/red5
is
-rwxr-xr-x 1 root root 1769 Aug 26 19:09 /etc/init.d/red5

Well, I rebooted the server, started Red5 at the console, tried in my
browser a new [Install] but immediately I get the above mentioned error.
Guess I'm stuck ;)

Manuel





RE: OpenMeetings 2.X Installation on Ubuntu

Posted by George Kirkham <gk...@co2crc.com.au>.
Manuel,

If you followed the instructions carefully, I would not expect this
message (just to reassure you).

Can you tell me where you obtained the below log file extract?  Path and
file name, please.

Can you tell me how you start OpenMeetings ?  

And what happens when you put
http://[yourOpenmeetingsServerIpAddress]:5080/openmeetings/install in a
web brower?

The output from the below commands can be helpful too.
netstat -anp | grep java

ls -al /etc/init.d/red5


Thanks,

George Kirkham




-----Original Message-----
From: Manuel Michaelis [mailto:manuel@manuelmichaelis.de] 
Sent: Monday, 27 August 2012 6:27 AM
To: openmeetings-user@incubator.apache.org
Subject: OpenMeetings 2.X Installation on Ubuntu 

By trying to setup OpenMeetings 2.0 on ubuntu 12.04, following the
instructions titled " OpenMeetings 2.X Installation on Ubuntu 64bit
12.04"
following error occurred:

HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.

exception
java.lang.NullPointerException
	
org.apache.velocity.tools.view.VelocityView.performMerge(VelocityView.ja
va:9
42)
org.apache.velocity.tools.view.VelocityView.merge(VelocityView.java:902)
org.apache.velocity.tools.view.VelocityViewServlet.mergeTemplate(Velocit
yVie
wServlet.java:318)
org.apache.velocity.tools.view.VelocityViewServlet.doRequest(VelocityVie
wSer
vlet.java:220)
org.apache.velocity.tools.view.VelocityViewServlet.doPost(VelocityViewSe
rvle
t.java:192)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(S
ervl
etRequestExFilter.java:53)
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:7
7)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.32 logs.
Apache Tomcat/6.0.32

Can anybody help?