Desktop Sharing (Port 9123) doesn't start. bbb-conf --start fails

530 views
Skip to first unread message

Gesine Relvar

unread,
Jan 2, 2016, 9:36:06 AM1/2/16
to BigBlueButton-Setup
Hi,

I'm running bbb on my ubuntu 14.04 and having issues starting it. It hangs forever (waiting up to 20 minutes)

bbb-conf --restart
# IP does not match:
#                           IP from ifconfig: 192.168.122.34
#   /etc/nginx/sites-available/bigbluebutton: xxx.yyy
Restarting BigBlueButton ...
 * Stopping daemon monitor monit                                                    
 * Stopping Red5 Server red5                                                        
 * Stopping Tomcat servlet engine tomcat7                                           
Killing: 13339
 * Stopping bbb-record-core
bbb-apps-akka stop/waiting
bbb-fsesl-akka stop/waiting
 * nginx is not running
 * Red5 Server is not running.
 * Tomcat servlet engine is not running.
15559 Backgrounding.
Waiting for FreeSWITCH to start: ...............
 * Starting Red5 Server red5                                                         
                                                                                    
 * Starting Tomcat servlet engine tomcat7                                           
 * Starting daemon monitor monit                                                    
Note: monit will automatically start bbb-record-core and LibreOffice within 60 secon
bbb-apps-akka start/running, process 15845
bbb-fsesl-akka start/running, process 15865
Waiting for BigBlueButton to finish starting up (this may take a minute): .........................................................................................................................................................................................................................................................................

I'm running it on a VM that has only a public IPv6. The VM-host has a public IPv4 but its port 80 and 443 is already in use. I have configured bbb to use a TLS certificate (from letsencrypt). But this issue with the service on port 9123 not coming up happened already before I enabled TLS on bbb.

When I navigate to https://xxx.yyy/bigbluebutton I get the 

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<response>
<returncode>SUCCESS</returncode>
<version>0.9</version>
</response>

response. So I guess nginx is working fine.
What could be issue with the service not coming up and what is the provider and where can I check its config files?

Thanks a lot for your help in advance!

P.S. Here the check log:

# bbb-conf --check                                                                      :(
BigBlueButton Server 1.0.0-beta (986)
                    Kernel version: 3.19.0-42-generic
                      Distribution: Ubuntu 14.04.3 LTS (64-bit)
                            Memory: 3952 MB
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): xxx.yyy
                              Red5: xxx.yyy
              useWebrtcIfAvailable: true
/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true
/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: xxx.yyy
                              port: [::]:80 ipv6only=on
[::]:443 ipv6only=on ssl default
                    bbb-client dir: /var/www/bigbluebutton
/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: xxx.yyy
/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: xxx.yyy
/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: xxx.yyy
/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: xxx.yyy

** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 192.168.122.34
#   /etc/nginx/sites-available/bigbluebutton: xxx.yyy
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 192.168.122.34
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: xxx.yyy
# Error: Unable to connect to port 9123 (desktop sharing) on xxx.yyy
# Warning: The API demos are installed and accessible from:
#
#    http://xxx.yyy/
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo
# Warning: The client self check is installed and accessible from:
#
#    http://xxx.yyy/check
#

 

Fred Dixon

unread,
Jan 2, 2016, 9:57:04 AM1/2/16
to bigbluebu...@googlegroups.com
Hi Gesine,

> # Error: Unable to connect to port 9123 (desktop sharing) on xxx.yyy

You'll need to setup rules that forward 9123 from the VM host to the VM.

If your setting up BigBlueButton to server other computers on your network, you'll need to ensure that port 80 and 443 are not already in use on the host computer in which the BigBlueButton VM is running.

See also


Regards,.. Fred



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



--
BigBlueButton Developer
@bigbluebutton

Gesine Relvar

unread,
Jan 2, 2016, 10:17:11 AM1/2/16
to BigBlueButton-Setup
Thanks for your reply. 
The VM has a public IPv6 and the domain uses it directly (I'm not using the public IPV4 from the VM-host and therefore I'm also not forwarding traffic between them). 
On the VM, the ports 80 and 443 are solely used by BBB (the VM only hosts BBB). 

I guess the issue is that the service doesn't start up (here from the VM itself):

 # nmap localhost 
Starting Nmap 6.40 ( http://nmap.org ) at 2016-01-02 16:13 CET
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000080s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 989 closed ports
PORT     STATE SERVICE
21/tcp   open  ftp
22/tcp   open  ssh
80/tcp   open  http
1935/tcp open  rtmp
3306/tcp open  mysql
5080/tcp open  onscreen
8021/tcp open  ftp-proxy
8080/tcp open  http-proxy
8100/tcp open  xprint-server
9998/tcp open  distinct32
9999/tcp open  abyss

Fred Dixon

unread,
Jan 2, 2016, 11:31:02 AM1/2/16
to bigbluebu...@googlegroups.com
Hi Gesine,

Hmm ... check the log files in

  /usr/share/red5/logs

for any errors on startup.  One way to quickly check for errors is to do

  sudo bbb-conf --clean
  sudo bbb-conf --debug

the --debug will scan the log files for errors.  If --debug does not detect any issues, look through the log files manually for errors.

Regards,... Fred

On Sat, Jan 2, 2016 at 11:17 AM, Gesine Relvar <fant...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages