# Not Running: tomcat7 or grails

2,018 views
Skip to first unread message

Abdessalem ben dhia

unread,
Mar 4, 2015, 2:57:28 AM3/4/15
to bigblueb...@googlegroups.com
Hello ,
I have problem when I configure my bbb environment for devlopment.
when i run :
sudo bbb-conf --clean

 I have this output: 
-----------------------------------
                              Startup unsuccessful: could not connect to http://192.168.100.9/bigbluebutton/api
------------------------------------
when i run :
sudo bbb-conf --check

I have this output:
----------------------------------------------------------------------
BigBlueButton Server 0.9.0-beta (614)
                    Kernel version: 3.13.0-45-generic
                      Distribution: Ubuntu 14.04.2 LTS (64-bit)
                            Memory: 11970 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
          Port test (tunnel): 192.168.100.9
                              Red5: 192.168.100.9
              useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 192.168.100.9
                              port: 80
                    bbb-client dir: /home/munask-d1/dev/bigbluebutton/bigbluebutton-client

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: 192.168.100.9

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH
                     capture video: true
                   capture desktop: true

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: 192.168.100.9


** Potential problems described below **
# Not Running:  tomcat7 or grails
# Warning: nginx is not serving the client from /var/www/bigbluebutton/.
# Instead, it's being served from
#
#    /home/munask-d1/dev/bigbluebutton/bigbluebutton-client
#
# (This is OK if you have setup a development environment.)

# Error: Could not connect to the configured hostname/IP address
#
#    http://192.168.100.9/
#
# If your BigBlueButton server is behind a firewall, see FAQ:
#
#   http://code.google.com/p/bigbluebutton/wiki/FAQ
#
# (See entry for setting up BigBlueButton behind a firewall.)


--------------------------------------------------------------
Please reply me as soon as possible,Thanks.


Fred Dixon

unread,
Mar 4, 2015, 8:42:41 AM3/4/15
to BigBlueButton-dev
Hi Abdessalem,

The output from `sudo bbb-conf --check` shows

> # Not Running:  tomcat7 or grails

The BigBlueButton API is implemented in the webapps application bbb-web, which runs within tomcat7, which if tomcat7 is not running there is no endpoint for accepting incoming API calls.

Did you get any errors during installation of BigBlueButton?

Regards,.. Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

Abdessalem ben dhia

unread,
Mar 4, 2015, 9:01:10 AM3/4/15
to bigblueb...@googlegroups.com
Hi Fred Thanks for reply,
when I run this command to test status tomcat :

sudo /etc/init.d/tomcat7 status

the output :
----------------------------------------------
Tomcat servlet engine is running with pid 12436
----------------------------------------------
No I don't have any error when the installation.

 I think the problem from grails framework not tomcat server .
and
when I run : bbb-conf --debug
---------------------------------------------------
-- Errors found in /var/log/nginx/error.log --
2015/03/04 16:55:03 [emerg] 13757#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/default~:22
-------------------------------------------------

Thanks,

Fred Dixon

unread,
Mar 4, 2015, 9:09:23 AM3/4/15
to BigBlueButton-dev
Hi,

> 2015/03/04 16:55:03 [emerg] 13757#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/default~:22

Have you made custom changes to the default site for nginx?  

I would recommend installing BigBlueButton on a clean machine and making sure everything works first.  Then, setup the development environment step-by-step and make sure nothing breaks.  If at one step you are unable to make API requests and are not sure of what to do next, post the step your at and we can help

Regards,... Fred

Abdessalem ben dhia

unread,
Mar 4, 2015, 2:31:26 PM3/4/15
to bigblueb...@googlegroups.com
Hi,
No I didn't make any change to the default site for nginx.
Ok Fred . I will remove this installation and i try to install in clean machine.
Thanks.   

Abdessalem ben dhia

unread,
Mar 9, 2015, 2:26:41 AM3/9/15
to bigblueb...@googlegroups.com
Hi Fred ,when I install the dev env I have the same problem but I find  the problem is port of tomcat server  :
<Connector port="8888" protocol="HTTP/1.1"
               connectionTimeout="20000"
               URIEncoding="UTF-8"
               redirectPort="8443" />

to solve it, I change to  default port of tomcat:

<Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               URIEncoding="UTF-8"
               redirectPort="8443" />

 This time I didn' t have any problem in env dev .
Thanks Fred. 

Chad Pilkey

unread,
Mar 9, 2015, 11:04:53 AM3/9/15
to bigblueb...@googlegroups.com
Port 8888 is correct for the bbb-web development environment. When you start up bbb-web you specify a port to use and the command in the documentation uses "8888" which matches the file.

Abdessalem ben dhia

unread,
Mar 10, 2015, 1:55:47 AM3/10/15
to bigblueb...@googlegroups.com
yes that for test of running bbb-web by grails command but the  tomcat port where deploy war is 8080 not 8888.
Reply all
Reply to author
Forward
0 new messages