BBB server inaccessible

1,574 views
Skip to first unread message

tarik

unread,
Aug 7, 2012, 1:50:21 PM8/7/12
to bigbluebu...@googlegroups.com
Hello,
thank you for helping find out what s wrong with my installation.
I think that applied some bbb updates about 3 days ago and then my bbb server stopped working with the error below:
(I can access the Demo page on my server, but when I try to log in I have the error below)
---------------------------------------

An Error has occured:

Status Code 500
Exception Type null
Message null
Exception
java.lang.NullPointerException
	at org.apache.jsp.demo1_jsp.getJoinURL(demo1_jsp.java:200)
	at org.apache.jsp.demo1_jsp._jspService(demo1_jsp.java:945)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:679)
Root Cause

Header List
Name Value
x-forwarded-for 192.168.100.2
host 127.0.0.1:8080
connection close
user-agent Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:14.0) Gecko/20100101 Firefox/14.0.1
accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
accept-encoding gzip, deflate
referer http://xxxxxxxxxx:9080/
cookie JSESSIONID=XXXXXXXXXXXXXXXXXXXX
Attribute List
javax.servlet.forward.request_uri /demo/demo1.jsp
javax.servlet.forward.context_path /demo
javax.servlet.forward.servlet_path /demo1.jsp
javax.servlet.forward.query_string username=titi&action=create
javax.servlet.jsp.jspException java.lang.NullPointerException
javax.servlet.error.status_code 500
javax.servlet.error.servlet_name jsp
javax.servlet.error.exception java.lang.NullPointerException
javax.servlet.error.request_uri /demo/demo1.jsp


-----------------------------------------------------------------------------------------------
tried to change the domain name with a new port number with #bbb-conf -setip xxxxxx:8080
but I have the following error too:
-------------------

Starting nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
configuration file /etc/nginx/nginx.conf test is successful
nginx.
 * Starting Red5 Server red5                                                    
                                                                         [ OK ]
 * Starting Tomcat servlet engine tomcat6                                [ OK ]
Record and Playback monitoring started
Waiting for BigBlueButton to finish starting up (this may take a minute): Startup unsuccessful: could not connect to http://xx.xxxx.com/bigbluebutton/api
admin@serv:~$
--------------------------------------
Any advise please on the root cause of this problem??

KR,
Tarik.

Chad Pilkey

unread,
Aug 7, 2012, 2:04:53 PM8/7/12
to bigbluebu...@googlegroups.com
Tarik,

I don't know the cause of your 500 error, but your use of the setip command is incorrect. You can't put a port on the end of your ip address like that. Nginx listens on port 80 and forwards requests to http://xxxx.com/bigbluebutton to the tomcat6 server which is listening on port 8080 (which is where you're getting that port from). 

Chad

tarik

unread,
Aug 7, 2012, 2:17:51 PM8/7/12
to bigbluebu...@googlegroups.com
thank you Chad,

just entered the  setip commad without the port number,
#bbb-conf -check
#bbb-conf -clean
but still unsuccessful??
----------------------------------

 * Starting Tomcat servlet engine tomcat6                                [ OK ]
Record and Playback monitoring started
Waiting for BigBlueButton to finish starting up (this may take a minute): Startup unsuccessful: could not connect to http://conf.ostadi.net/bigbluebutton/api
admin1@conf:~$
------------------------------------
Kr,
Tarik.

Richard Alam

unread,
Aug 7, 2012, 2:21:28 PM8/7/12
to bigbluebu...@googlegroups.com
On Tue, Aug 7, 2012 at 1:50 PM, tarik <tarik...@gmail.com> wrote:
Hello,
thank you for helping find out what s wrong with my installation.
I think that applied some bbb updates about 3 days ago and then my bbb server stopped working with the error below:
(I can access the Demo page on my server, but when I try to log in I have the error below)


Did you setup your development environment? The error is s symptom of mismatch salt. It might have changed when you updated.

Compare your salt in /var/lib/tomcat6/webapps/demo/bbb_conf_api.jsp and /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties.

And if you are running bigbluebutton-web manually, check grails-app/conf/bigbluebutton.properties

Richard
 

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-setup/-/bKXqiTCFny0J.
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 Developer
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton

Fred Dixon

unread,
Aug 8, 2012, 7:57:02 AM8/8/12
to bigbluebu...@googlegroups.com

tarik

unread,
Aug 8, 2012, 8:06:46 AM8/8/12
to bigbluebu...@googlegroups.com
Thank you Richard,

The salt is the same in both bbb_conf_api.jsp and bigbluebutton.properties !

would you need any log file in order to see what happened ??

Le mardi 7 août 2012 20:21:28 UTC+2, Richard Alam a écrit :


On Tue, Aug 7, 2012 at 1:50 PM, tarik <tarik...@gmail.com> wrote:
Hello,
thank you for helping find out what s wrong with my installation.
I think that applied some bbb updates about 3 days ago and then my bbb server stopped working with the error below:
(I can access the Demo page on my server, but when I try to log in I have the error below)


Did you setup your development environment? The error is s symptom of mismatch salt. It might have changed when you updated.

Compare your salt in /var/lib/tomcat6/webapps/demo/bbb_conf_api.jsp and /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties.

And if you are running bigbluebutton-web manually, check grails-app/conf/bigbluebutton.properties

Richard


tarik

unread,
Aug 8, 2012, 10:46:36 AM8/8/12
to bigbluebu...@googlegroups.com
thank you Fred,

heres the output
admin@serv:/$ wget http://serv.domain.com/bigbluebutton/api/isMeetingRunning?meetingID=abcdef
--2012-08-08 16:39:57--  http:///serv.domain.com/bigbluebutton/api/isMeetingRunning?meetingID=abcdef
Résolution de /serv.domain.com... 192.168.100.2
Connexion vers serv.domain.com|192.168.100.2|:80... connecté.
requête HTTP transmise, en attente de la réponse... 404 Not Found
2012-08-08 16:39:57 ERREUR 404: Not Found.
---------------------------------------
when I do a bbb-conf -check I have
--------------------------
/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: xxx.xxx.com
                              port: 9080
                    bbb-client dir: /var/www/bigbluebutton
------------------------------
im trying to put the config back to server.domain.com (with default port 80), but the port "9080" is stuck and

I also can't change it manually on the file  /etc/nginx/sites-available/bigbluebutton

Any suggestion ??
To unsubscribe from this group, send email to bigbluebutton-setup+unsub...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.



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

--
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-setup+unsub...@googlegroups.com.

Fred Dixon

unread,
Aug 8, 2012, 12:30:06 PM8/8/12
to bigbluebu...@googlegroups.com
Hi Tarik,

Can you edit

   /etc/nginx/sites-available/bigbluebutton

and change the value for listen: to 80.  If your having problems editing the file, google

  "Unable to edit unix file"

There's lots of good tutorials on the internet for understanding basic Unix concepts.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-setup/-/KfDR8iwDc18J.

To post to this group, send email to bigbluebu...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.

tarik

unread,
Aug 9, 2012, 11:16:05 AM8/9/12
to bigbluebu...@googlegroups.com

Thank you Fred,
I changed it back to port 80 and now the comands bbb-conf -check and clean look much better (all the processes restart with an ok status)
there's only the minor glitch below , but I read that it should be ignored
------------
** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 192.168.100.2
#   /etc/nginx/sites-available/bigbluebutton: serv.domain.com
# Warning: API URL IPs do not match host:
---------------------------

Before, I had the Demo page at http://serv.domain.com/bigbluebutton
But now I have an Error: "  This page is no longer available, please use the api. "

Where should I find that bbb front page??

-----------------------------
admin1@serv:~$ sudo bbb-conf -salt

[sudo] password for admin1:

       URL: http://serv.domain.com/bigbluebutton/
      Salt: xxxxxxxxxxxxxxxxxxxxxxxxxxx

admin1@serv:~$
-------------------------------

Kind regards,
Tarik.

Fred Dixon

unread,
Aug 9, 2012, 11:25:26 AM8/9/12
to bigbluebu...@googlegroups.com
Hi Tarik,

The demos have changed to


You have to manually install the demos now (see installation instructions for details).

Regards,.. Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton



Tarik.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.

tarik

unread,
Aug 9, 2012, 1:45:46 PM8/9/12
to bigbluebu...@googlegroups.com
Thank you Fred,

I followed the instructions of  http://code.google.com/p/bigbluebutton/wiki/FAQ#How_do_I_setup_new_classrooms_in_BigBlueButton_?
=>changed index.html to point to /demo/demo3.jsp + execute permissions
but I still can't have externel users to land on demo3.jsp (???? nor on the old interface bigbluebutton.html???)
(http://serv.domain.com/bigbluebutton/ leads to "This page is no longer available, please use the api".
1)how can I direct the external users to the traditional bbb.html page??

I'm using sakai with BBB,

if I connect to the sakai on the bbb server, I can create meetings and also connect successfully (the meeting link takes me to http://serv.domain.com/client/BigBlueButton.html  where Java loads on a page et the users environment is complete )

But if i do it from a remote client, (using the same sakai portal) the meeting link takes me to http://serv.domain.com/BigBlueButton.html) where the only thing I see is a blank page with "404 not found ------ nginx/0.7.65 "
On sakai server I changed the bbb parameters to " http://serv.domain.com/client/bigbluebutton.html " but the bbb server became unavailable !!!
So I put it back to " http://serv.domain.com/bigbluebutton.html " where I have the bbb server available.
2) what is missing in my links ??

Fred Dixon

unread,
Aug 10, 2012, 7:24:04 AM8/10/12
to bigbluebu...@googlegroups.com
if I connect to the sakai on the bbb server 

Hi Tarik,

Are you running Sakai on the same server that's running BigBlueButton?  

We recommend you setup a separate, dedicated server for BigBlueButton.  As well, don't have other applications running on the BigBlueButton server or allow other applications to use port 80.  For reasons see


Is it an option for you to run BigBlueButton on its own server?

Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton
   

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.

tarik

unread,
Aug 10, 2012, 7:44:00 AM8/10/12
to bigbluebu...@googlegroups.com
Hello Fred,
No, the bbb server is a stand alone while sakai is on another server.
I had problems with port forwarding and changed the default BBB port, but I put it back to 80.

Those two questions below are still puzzling me. Any suggestions??
cheers,
To unsubscribe from this group, send email to bigbluebutton-setup+unsub...@googlegroups.com.

Fred Dixon

unread,
Aug 10, 2012, 7:59:10 AM8/10/12
to bigbluebu...@googlegroups.com
Hi Tarik,

I think you need to slow down a bit -- your making lots of changes to the configuration, but you really need to slow down and give yourself a chance to understand how BigBlueButton works. Making random changes does not improve your setup.


> changed index.html to point to /demo/demo3.jsp + execute permissions

You don't need to give the file execute permissions.  


This URL is the entry point for API calls, which is why you are getting that message "This page is no longer accessible, please use the API"

>  Java loads on a page et the users environment is complete )

The BigBlueButton client is written in Flash, not Java.

> But if i do it from a remote client ...

This sounds like a networking problem.  Can you access the BigBlueButton demos using a full URL, such as


from both the BigBlueButton server and a separate machine?  


> On sakai server I changed the bbb parameters to " http://serv.domain.com/client/bigbluebutton.html " but the bbb server became unavailable !!!

That would be expected as you've changed the API calls for Sakai Meeting Tool to point to an HTML page, not the API endpoint.


Recommend you 

1.  make sure you can access BigBlueButton from another server first (if not, it's a networking issue).  

Is the BigBlueButton server behind a firewall.  If so, please see


2. Set the proper parameters for the Sakai Meeting tool (please read the Sakai Meeting Tool documentation)

3.  Manually check the URL for your API demos to confirm the work from other machines.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-setup/-/07rKeeEUd1gJ.

To post to this group, send email to bigbluebu...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.

tarik

unread,
Aug 10, 2012, 1:18:19 PM8/10/12
to bigbluebu...@googlegroups.com


Le vendredi 10 août 2012 13:59:10 UTC+2, Fred Dixon a écrit :
Hi Tarik,

I think you need to slow down a bit -- your making lots of changes to the configuration, but you really need to slow down and give yourself a chance to understand how BigBlueButton works. Making random changes does not improve your setup.


> changed index.html to point to /demo/demo3.jsp + execute permissions

You don't need to give the file execute permissions.  
Tarik: I renamed the old index file and create a new one, so I gave it the same permissions as the old one.


This URL is the entry point for API calls, which is why you are getting that message "This page is no longer accessible, please use the API"

>  Java loads on a page et the users environment is complete )

The BigBlueButton client is written in Flash, not Java.

> But if i do it from a remote client ...

This sounds like a networking problem.  Can you access the BigBlueButton demos using a full URL, such as

Tarik: I can access the demo pages from the intranet , but when I connect from remote I get ""404 Not Found -------- nginx/0.7.65"
which means that my connection goes through the router till the BBB server but just doesn't access the demo pages!! 

from both the BigBlueButton server and a separate machine?  


> On sakai server I changed the bbb parameters to " http://serv.domain.com/client/bigbluebutton.html " but the bbb server became unavailable !!!

That would be expected as you've changed the API calls for Sakai Meeting Tool to point to an HTML page, not the API endpoint.


Recommend you 

1.  make sure you can access BigBlueButton from another server first (if not, it's a networking issue).  

Is the BigBlueButton server behind a firewall.  If so, please see

Tarik: I'm pretty sure that my network setup is correctly configured now (did all the steps of the link above and made sure that all  the ports are open with http://www.yougetsignal.com/tools/open-ports/    )

2. Set the proper parameters for the Sakai Meeting tool (please read the Sakai Meeting Tool documentation)
Tarik: thre are two parameters:
the bbb.url=http://serv.domain.com/bigbluebutton
bbb.salt=xxxxxxxxxxxxxxxxxxxx
=>think that the config is good since the bbb server is reported in green on sakai as " available".

3.  Manually check the URL for your API demos to confirm the work from other machines.
Tarik: the api demo pages work on the intranet, but I get the   ""404 Not Found -------- nginx/0.7.65" from remote (internet)
(If I may, I dont think its a network problem since I get "Welcome to nginx!' if I enter the name of my bbb server from internet=> Network config is ok)

tarik

unread,
Aug 10, 2012, 1:20:46 PM8/10/12
to bigbluebu...@googlegroups.com


Hello Fred,
My feedback is in green below.
Thank you for advising on the issue.
 

tarik

unread,
Aug 13, 2012, 10:51:48 AM8/13/12
to bigbluebu...@googlegroups.com

Hello BBB developpers,
Can anybody advise on the issue at hand please?

tarik

unread,
Aug 14, 2012, 11:09:59 AM8/14/12
to bigbluebu...@googlegroups.com
Hello,
I have a simple setup (3 servers in a intranet behind a router) and I'm using Port Forwarding.
Internet connexions are fine to my "sakai portal" (on a different port), but all I get on the BBB server (at port 80) is ""404 Not Found -------- nginx/0.7.65" !!

From my opinion, the last part of this error nginx/0.7.65" means that the connections are hitting the BBB server, but not at the right point (???)

is there something I can modify in order to fix these internet connexions to my BBB server or should I reinstall the BBB server ??

Chad Pilkey

unread,
Aug 14, 2012, 11:22:23 AM8/14/12
to bigbluebu...@googlegroups.com
A 404 error could have a bunch of different causes. For instance if you're trying to access "http://www.yourserver.com/demo" you're going to get a 404 error no matter what.

If you've made lots of changes to the nginx files on your BBB server though, it might be better to just start from scratch. 
Reply all
Reply to author
Forward
0 new messages