demo1.jsp? Doesnt work

1,415 views
Skip to first unread message

Auffant

unread,
Jun 6, 2010, 8:24:44 AM6/6/10
to BigBlueButton-Setup
http://MY-IP/bigbluebutton/demo/demo1.jsp?username=&action=create

I managed to install BBB with Asterisk/Elastix on the same server.
Changed httpd to port 90 on asterisk. I am able to access bbb on port
80. All the other ports are working for tomcat (8080), Red5 (5080).
Also opened ports in my firewall.

I do bbb-conf -c and get:

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
IP for tunnel check: 10.0.0.65
IP for rtmp (red5): 10.0.0.65
host for bbb-web interface: 10.0.0.65

/etc/nginx/sites-available/bigbluebutton (configuration file nginx)
server_name: 10.0.0.65
port: 80
client document root: /var/www/bigbluebutton

/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/
bigbluebutton.properties (for bbb-web)
host: 10.0.0.65

/var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api.jsp (for api
demos)
host: 10.0.0.65
missing red5 log: /usr/share/red5/log/oflademo.demo
empty directory: /var/lib/tomcat6/logs contains
no logs

The only thing is my root is [root@elastix~]

WHAT ELSE SHOULD I NEED TO CONFIGUR......

Fred Dixon

unread,
Jun 6, 2010, 8:58:17 AM6/6/10
to bigbluebu...@googlegroups.com
Hi Auffant,

Your getting close!  

However, we need a bit more data as to what you mean by "demo1.jsp does not work".   Do you get an error that the file is not found, an error loading the page, or an error loading the BigBlueButton client?

Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To post to this group, send email to bigbluebu...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.


Auffant

unread,
Jun 6, 2010, 9:35:26 AM6/6/10
to BigBlueButton-Setup
Fred:

Thank you for your quick response. Yes, the demo1.jsp does not load
the page.

When you hit the join button - get the error
this is the link http://10.0.0.65/bigbluebutton/demo/demo1.jsp?username=bbb&action=create

HTTP Status 404 -

--------------------------------------------------------------------------------

type Status report

message

description The requested resource () is not available.


--------------------------------------------------------------------------------

Apache Tomcat/6.0.26

If i do http://10.0.0.65/client/BigBlueButton.html nothing loads. The
screen looks like its going to work, but no luck.

Fred Dixon

unread,
Jun 7, 2010, 9:28:19 PM6/7/10
to bigbluebu...@googlegroups.com
Hi Auffant,

OK -- some more investigation ... can you check the following

1) Does the following folder exist?

/var/lib/tomcat6/webapps/bigbluebutton

2) Is nginx running as your main server?

3) Does the following file exist (this would have been installed as
part of the setup)?

/etc/nginx/sites-available/bigbluebutton

4) Is there a symbolic link from

/etc/nginx/sites-available/bigbluebutton ->
/etc/nginx/sites-available/bigbluebutton

5) Is the tomcat6 process running?

Let me know the answers and we'll continue to narrow down the problem.

Regards,... Fred

It looks like bbb-web isn't deployed, or your web server isn't n

Auffant

unread,
Jun 7, 2010, 10:14:44 PM6/7/10
to BigBlueButton-Setup
1) /var/lib/tomcat6/webapps/bigbluebutton -- YES I got it
2) Is nginx running as your main server? I believe so ---
http://auffant.selfip.org:81
3) /etc/nginx/sites-available/bigbluebutton (YES I got it)
4) You got me on the symbolic link on /etc/nginx/sites-available/
bigbluebutton ->
5) Tomcat is running, R5 too, Nginx

Fred Dixon

unread,
Jun 8, 2010, 8:08:16 AM6/8/10
to bigbluebu...@googlegroups.com
Hi Auffant,

If you check the contents of

/etc/nginx/sites-enabled

and don't see an entry for bigbluebutton, then nginx won't be able to
proxy incoming request to /bigbluebutton to tomcat6 running on port
8080.

To, enable the bigbluebutton nginx config for bigbluebutton, enter the following

ln -s /etc/nginx/sites-available/bigbluebutton
/etc/nginx/sites-enabled/bigbluebutton

restart nginx, then try accessing demo1.jsp again.

Regards,... Fred

Auffant

unread,
Jun 8, 2010, 9:51:46 AM6/8/10
to BigBlueButton-Setup
Fred - Thank you.

For some reason I cannot see inside /etc/nginx/sites-enabled/
bigbluebutton
I am using webmin to edit files. Does the same data in sites-
available applies to sites-enabled?
I can do the symbolic link command- there is no error

What you suggest?

Sebastian Schneider

unread,
Jun 8, 2010, 10:20:19 AM6/8/10
to bigbluebu...@googlegroups.com
You have root privileges to access /etc/nginx/sites-enabled right? Either as root or sudo, depending on your distribution. Try to access it locally with a console.


--

Auffant

unread,
Jun 8, 2010, 11:09:15 AM6/8/10
to BigBlueButton-Setup
How about putty. What would be the command? I tried sudo /etc/nginx/
sites-enabled/bigbluebutton (no luck) also nano and root.

Auffant

unread,
Jun 8, 2010, 11:16:07 AM6/8/10
to BigBlueButton-Setup
Sorry forgot to mention I am using Centos

dmantz7

unread,
Jun 8, 2010, 11:22:38 AM6/8/10
to BigBlueButton-Setup
Gentlemen -

I am having a very similar issue. When I attempt to use domain name
of bbbvideo.usd376.com I get the login page. Upon providing a
username I get "404 Not Found". However, when I use the internal ip
address to reach the html page (http://10.3.101.176/client/
BigBlueButton.html) I can provide a name and then successfully access
the BBB conference. Is this related to bbb-conf -ipset?

Thanks in advance!

Dean Mantz

Fred Dixon

unread,
Jun 8, 2010, 1:42:01 PM6/8/10
to bigbluebu...@googlegroups.com
Hi Affuant,

This is probably a question I should have asked up front, but can you
confirm that you have root access to your server?

Specifically, you can
- login via ssh
- become root
- reboot the machine

It's OK if this is a dedicated VPS server, but if it's a shared
server, which is restricting you to a webin or cpanel interface, your
trying to do something that we have not tried, we don't recommend, and
will likely end with a component that needs to be installed as root or
can't bind to the proper ports.

Thanks,... Fred

Auffant

unread,
Jun 8, 2010, 3:00:16 PM6/8/10
to BigBlueButton-Setup
Fred

I got access to root both via putty or direct in console. How can I
see files under nginx/sites-enabled/bigbluebutton
If I cant see, can I add manually.

Richard Alam

unread,
Jun 8, 2010, 3:10:12 PM6/8/10
to bigbluebu...@googlegroups.com
Can you do sudo ls -lt /etc/nginx/sites-enabled ?

To edit
sudo vi /etc/nginx/sites-enabled/bigbluebutton

It seems like you have it installed as you mention in your original
post that you get these:

======


I do bbb-conf -c and get:

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
IP for tunnel check: 10.0.0.65
IP for rtmp (red5): 10.0.0.65
host for bbb-web interface: 10.0.0.65

/etc/nginx/sites-available/bigbluebutton (configuration file nginx)
server_name: 10.0.0.65
port: 80
client document root: /var/www/bigbluebutton

===========

Richard

On Tue, Jun 8, 2010 at 11:09 AM, Auffant <auf...@caribe.net> wrote:
> How about putty.  What would be the command? I tried sudo /etc/nginx/
> sites-enabled/bigbluebutton (no luck) also nano and root.
>

> --
> You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
> To post to this group, send email to bigbluebu...@googlegroups.com.
> To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.
>
>

--
---
BigBlueButton
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton

Auffant

unread,
Jun 8, 2010, 3:39:30 PM6/8/10
to BigBlueButton-Setup
Richard:

Thank you. This is what I got with your suggestion.

[root@elastix ~]# sudo ls -lt /etc/nginx/sites-enabled
total 0
lrwxrwxrwx 1 root root 40 Jun 8 09:42 bigbluebutton -> /etc/nginx/
sites-available/bigbluebutton
[root@elastix ~]# sudo vi /etc/nginx/sites-enabled/bigbluebutton
server {
listen 81;
# Change to your ip address.
server_name 10.0.0.65;

access_log /var/log/nginx/bigbluebutton.access.log;

# Commands used by Flash client for RTMPT.
location ~ (/open/|/close/|/idle/|/send/) {
proxy_pass http://127.0.0.1:8088;
proxy_redirect off;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;

client_max_body_size 10m;
client_body_buffer_size 128k;

proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;

proxy_buffering off;
}

"/etc/nginx/sites-enabled/bigbluebutton" 84L, 2656C

Richard Alam

unread,
Jun 8, 2010, 3:50:57 PM6/8/10
to bigbluebu...@googlegroups.com
Seems like your nginx bigbluebutton is listening on port 81

Auffant

unread,
Jun 8, 2010, 4:04:00 PM6/8/10
to BigBlueButton-Setup
Yes and I opened the port. The same is reachable from the outside
too.
I noticed there is no /bigbluebutton links in that enabled file only
to RTMPT. What about the other links....

Richard Alam

unread,
Jun 8, 2010, 4:09:47 PM6/8/10
to bigbluebu...@googlegroups.com
If you scroll down on the file there should be a bigbluebutton
section. What you copy-and-pasted was just the top portion on
/etc/nginx/sites-enabled/bigbluebutton

Auffant

unread,
Jun 8, 2010, 4:12:06 PM6/8/10
to BigBlueButton-Setup
Richard... trust me there is no more data there. That's what I am
saying.

Richard Alam

unread,
Jun 8, 2010, 4:26:48 PM6/8/10
to bigbluebu...@googlegroups.com
Hmmm...not sure why your nginx/sites-enabled/bigbluebutton is
truncated..here's a complete one...if you can replace what you have
there with this and try again


server {
listen 80;
server_name 192.168.0.196;

access_log /var/log/nginx/bigbluebutton.access.log;

# Handle RTMPT (RTMP Tunneling). Forwards requests
# to Red5 on port 8088.


location ~ (/open/|/close/|/idle/|/send/) {
proxy_pass http://127.0.0.1:8088;
proxy_redirect off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

client_max_body_size 10m;
client_body_buffer_size 128k;

proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;

proxy_buffering off;
}

# Handle desktop sharing tunneling. Forwards
# requests to Red5 on port 5080.
location /deskshare {
proxy_pass http://127.0.0.1:5080;
proxy_redirect default;


proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;

proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
include fastcgi_params;
}

# Handle request to bbb-web running within Tomcat. This is for
# the BBB-API and Presentation.
location /bigbluebutton {
proxy_pass http://127.0.0.1:8080;
proxy_redirect default;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

# Allow 30M uploaded presentation document.
client_max_body_size 30m;
client_body_buffer_size 128k;

proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;

proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;

include fastcgi_params;
}

# BigBlueButton landing page.
location / {
root /var/www/bigbluebutton-default;
index index.html index.htm;
}

# BigBlueButton Flash client.
location /client {
root /var/www/bigbluebutton;
index index.html index.htm;
}

#error_page 404 /404.html;

# Redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/nginx-default;
}
}


On Tue, Jun 8, 2010 at 4:12 PM, Auffant <auf...@caribe.net> wrote:
> Richard... trust me there is no more data there.  That's what I am
> saying.
>

Auffant

unread,
Jun 8, 2010, 5:58:59 PM6/8/10
to BigBlueButton-Setup
They both look the same. I did sudo again. No luck yet.
When I checked symbolic link and is connected.

Maybe error is with tomcat.

Auffant

unread,
Jun 9, 2010, 12:39:30 AM6/9/10
to BigBlueButton-Setup

Okay I did some research. I went into bbb web-log and found some
errors related to tomcat.
There is some issues:

Caused by:
org.codehaus.groovy.grails.exceptions.NewInstanceCreationException:
Could not create a new instance of class [JsecurityGrailsPlugin]!
... 21 more
Caused by: java.lang.UnsupportedClassVersionError: Bad version number
in .class file (unable to load class
org.jsecurity.grails.RealmArtefactHandler)

-- This maybe related to conflict when i do yum update I get:
Error: Missing Dependency: /usr/bin/rebuild-security-providers is
needed by package java-1.4.2-gcj-compat

1. I re-installed tomcat with source code instructions got nothing.
2. I tried to get java-1.4.2-gcj-compact Sun dont have it anymore.
3. If I disable Jpackage repo get error related to tomcat6-lib that
wants java/ecj.jar

JAVA at the moment

java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)

I am all ears.... thank you. You guys are very responsive.

Fred Dixon

unread,
Jun 9, 2010, 6:45:43 AM6/9/10
to bigbluebu...@googlegroups.com
Hi Auffant,

A few more questions:

What version of CentOS are you using?
Did you install BigBlueButton from packages or source?

Regards,... Fred

Auffant

unread,
Jun 9, 2010, 10:02:13 AM6/9/10
to BigBlueButton-Setup
Centos 5.2 (final)
Kernel 2.6.18-92.1.22.el5 on a i686
Asterisk 1.4.24

I tried the RPM 1st then got error with kernel. After that started
doing it from source.


Fred Dixon

unread,
Jun 9, 2010, 12:19:00 PM6/9/10
to bigbluebu...@googlegroups.com
Hi Auffant,

We tested the installation from source on CentOS 5.4, so we might be
running into an underlying difference in the distribution that we are
not aware of.

Do you have access to a CentOS 5.4 machine -- even as a VM running
within VMWare player -- that you could try installing BigBlueButton
from RPM packages? It should work, and it would give you a reference
for a working implementation that you could begin comparing log files,
versions of executables, directory permissions, etc. to see what
difference between a working version and your setup.

Regards,... Fred

Auffant

unread,
Jun 12, 2010, 6:17:58 AM6/12/10
to BigBlueButton-Setup
Fred:

I wanted to give you and update. I went ahead an installed a fresh
Centos 5.4 on a pc. I had to download the entire 7 CD's. I followed
BBB website RPM instructions and is working like magic. In the
beginning had some coflict with adobe server in our network. I only
opened 81 port on the box. So far dont have any other ports open.

Trying to install bbb on top of elastix/asterisk wasnt working for
some reason. I am glad to just leave this box entirely for bbb.

Thanks to all of you at bbb.

Fred Dixon

unread,
Jun 12, 2010, 8:41:25 AM6/12/10
to bigbluebu...@googlegroups.com
Hi Auffant,

Glad to hear it worked! We spent a few months building and testing
the RPM packages so that folks could get BigBlueButton installed with
minimum fuss.

Do you have visibility into the elastix/asterisk project? If so, let
them know about BigBlueButton and encourage them to contact us. We'd
like to make this work out-of-the-box for you, and god prodding from
enthusiastic users/customers are the best way to encourage two
projects to work together.

Regards,... Fred

Auffant

unread,
Jun 16, 2010, 12:16:17 AM6/16/10
to BigBlueButton-Setup
I am trying the outside world to see mee.
I changed the the ip using bbb-conf --setip and i got this error

cut: the delimiter must be a single character
Try `cut --help' for more information.
/usr/local/bin/bbb-conf: line 597: [: !=: unary operator expected
Host IP does not match BigBlueButton: 10.0.0.68 != auffant.selfip.org
cut: the delimiter must be a single character
Try `cut --help' for more information.


Auffant

unread,
Jun 16, 2010, 3:42:53 AM6/16/10
to BigBlueButton-Setup

Fred:

I found out the issue with difference in ip's. I was able to be reach
from the outside.
But had to release port 80 and 1935 from another server.

I noticed that rtmp and rtmpt were the ones binding still to port 80 &
1935.

Where else do I need to change the ports in Tomcat? Also, do you know
of any other port similar to 1935 that I can use instead.

Reply all
Reply to author
Forward
0 new messages