Startup unsuccessful: could not connect to http://192.168.1.6/bigbluebutton/api

1,775 views
Skip to first unread message

surbhi khurana

unread,
Apr 2, 2015, 2:07:15 PM4/2/15
to bigbluebu...@googlegroups.com
hey i was installing bigbluebutton and i got stuck on the following step:
surbhi@surbhi:~$ sudo bbb-conf --clean
[sudo] password for surbhi:
Doing a restart of BigBlueButton and cleaning out all log files...
 * Stopping daemon monitor monit                                         [ OK ]
 * Stopping Red5 Server red5                                             [ OK ]
 * Stopping Tomcat servlet engine tomcat7                                [ OK ]
Killing: 27283
 * Stopping bbb-record-core

Cleaning Log Files ...
 * nginx is not running
 * Red5 Server is not running.
 * Tomcat servlet engine is not running.

9734 Backgrounding.
Waiting for FreeSWITCH to start: ......
 * Starting Red5 Server red5                                                    
                                                                         [ OK ]
 * Starting Tomcat servlet engine tomcat7                                [ OK ]
 * Starting daemon monitor monit                                         [ OK ]

Note: monit will automatically start bbb-record-core and LibreOffice within 60 seconds.

Waiting for BigBlueButton to finish starting up (this may take a minute): ..............Startup unsuccessful: could not connect to http://192.168.1.6/bigbluebutton

Fred Dixon

unread,
Apr 2, 2015, 3:51:08 PM4/2/15
to bigbluebu...@googlegroups.com
Hi Subrhi,

Can you post the output of

  sudo bbb-conf --check

Also, did you get any errors during the installation?

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 http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

surbhi khurana

unread,
Apr 3, 2015, 2:15:40 AM4/3/15
to bigbluebu...@googlegroups.com
surbhi@surbhi:~$ sudo bbb-conf --check
[sudo] password for surbhi:

BigBlueButton Server 0.9.0-beta (720)
                    Kernel version: 3.16.0-33-generic
                      Distribution: Ubuntu 14.04.2 LTS (64-bit)
                            Memory: 7889 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
          Port test (tunnel): 192.168.1.6
                              Red5: 192.168.1.6
              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.1.6
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

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

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: 192.168.1.6

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: 192.168.1.6

/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.1.6


** Potential problems described below **
# Error: Could not connect to the configured hostname/IP address
#
#    http://192.168.1.6/
#
# 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.)

# Warning: The API demos are installed and accessible from:
#
#    http://192.168.1.6/
#
# 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://192.168.1.6/check
#

# Error: Unable to reach default URL for presentation:
#
#    http://192.168.1.6/default.pdf
#
# Check value for beans.presentationService.defaultUploadedPresentation in
#   /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties





and i didnt get any errors during installation

thank you

Fred Dixon

unread,
Apr 3, 2015, 9:35:20 AM4/3/15
to bigbluebu...@googlegroups.com
Hi Surbhi,


The default presentation isn't accessible.  

Are you running another web server?  BigBlueButton installs nginx, but you will have problems running it if you already have another webserver running (such as apache2).

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 http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

surbhi khurana

unread,
Apr 3, 2015, 10:04:41 AM4/3/15
to bigbluebu...@googlegroups.com
no i dont have any other webserver running on my computer

thank you

On Thursday, April 2, 2015 at 11:37:15 PM UTC+5:30, surbhi khurana wrote:

Fred Dixon

unread,
Apr 3, 2015, 10:34:20 AM4/3/15
to bigbluebu...@googlegroups.com
Hi Surbhi,

Can you open an SSH prompt to your server and post the output of the following commands

   ls /var/www/bigbluebutton-default/default.pdf
   sudo netstat -tulpn | grep :80


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 http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

surbhi khurana

unread,
Apr 3, 2015, 11:24:08 AM4/3/15
to bigbluebu...@googlegroups.com
surbhi@surbhi:~$ ls /var/www/bigbluebutton-default/default.pdf
/var/www/bigbluebutton-default/default.pdf
surbhi@surbhi:~$ sudo netstat -tulpn | grep :80
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      9800/nginx     
tcp        0      0 127.0.0.1:8021          0.0.0.0:*               LISTEN      9734/freeswitch
tcp        0      0 127.0.0.1:8000          0.0.0.0:*               LISTEN      1769/python    
tcp        0      0 0.0.0.0:8099            0.0.0.0:*               LISTEN      9800/nginx     
tcp        0      0 127.0.0.1:8040          0.0.0.0:*               LISTEN      1751/python    
tcp        0      0 127.0.0.1:8010          0.0.0.0:*               LISTEN      1770/python    
tcp6       0      0 :::8081                 :::*                    LISTEN      9854/java      
tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN      9952/java      


On Thursday, April 2, 2015 at 11:37:15 PM UTC+5:30, surbhi khurana wrote:

Fred Dixon

unread,
Apr 3, 2015, 12:12:19 PM4/3/15
to bigbluebu...@googlegroups.com
Hi Surbhi,

This is what we have on one of our test servers

$ sudo netstat -tulpn | grep :80
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      31476/nginx     
tcp        0      0 127.0.0.1:8021          0.0.0.0:*               LISTEN      31391/freeswitch
tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN      31630/java      
tcp6       0      0 :::8080                 :::*                    LISTEN      31630/java      
tcp6       0      0 :::80                   :::*                    LISTEN      31476/nginx     
tcp6       0      0 :::8081                 :::*                    LISTEN      31527/java      

Python is not installed by BigBlueButton.  Try shutting down your python application and restarting BigBlueButton.  We recommend installing BigBlueButton on a clean server (no other web applications running) as there are possibilities for conflict.

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 http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

surbhi khurana

unread,
Apr 3, 2015, 12:29:42 PM4/3/15
to bigbluebu...@googlegroups.com
actually i have edx installed and running on ports 8080 and 18010....if i stop the python application edx will stop....any other way out ??
thank you



On Thursday, April 2, 2015 at 11:37:15 PM UTC+5:30, surbhi khurana wrote:

Fred Dixon

unread,
Apr 3, 2015, 1:05:44 PM4/3/15
to bigbluebu...@googlegroups.com
Hi Subrhi,

We recommend not running BigBlueButton on the same server with other web-based applications.  For reasons why, see
  


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 http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

surbhi khurana

unread,
Apr 3, 2015, 1:31:01 PM4/3/15
to bigbluebu...@googlegroups.com
there is no application that is using port 80 on my server .



On Thursday, April 2, 2015 at 11:37:15 PM UTC+5:30, surbhi khurana wrote:

Fred Dixon

unread,
Apr 3, 2015, 2:47:20 PM4/3/15
to bigbluebu...@googlegroups.com
Hi Surbhi,

Yet the file


is not available via HTTP request.  Can you check that the file
  
  /var/www/bigbluebutton-default/default.pdf

exists.  The output of netstat shows nginx is listening on port 80 -- did you make any changes to the nginx configuration or did you have any errors when installing BigBlueButton?

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 http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

surbhi khurana

unread,
Apr 4, 2015, 12:22:32 AM4/4/15
to bigbluebu...@googlegroups.com
yes the file exists...and i didnt make any changes to nginx config. file...finally when i was installing bigbluebutton there were no errors for  sure
thank you


On Thursday, April 2, 2015 at 11:37:15 PM UTC+5:30, surbhi khurana wrote:

Fred Dixon

unread,
Apr 4, 2015, 12:30:34 AM4/4/15
to bigbluebu...@googlegroups.com
Hi Surbhi,

Can you post the output of commands

  cat /etc/nginx/sites-available/default
  sudo ifconfig


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 http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

surbhi khurana

unread,
Apr 4, 2015, 1:12:21 AM4/4/15
to bigbluebu...@googlegroups.com
surbhi@surbhi:~$ cat /etc/nginx/sites-available/default
# You may add here your
# server {
#    ...
# }
# statements for each of your virtual hosts to this file

##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
##

server {
    listen 80 default_server;
    listen [::]:80 default_server ipv6only=on;

    root /usr/share/nginx/html;
    index index.html index.htm;

    # Make site accessible from http://localhost/
    server_name localhost;

    location / {
        # First attempt to serve request as file, then
        # as directory, then fall back to displaying a 404.
        try_files $uri $uri/ =404;
        # Uncomment to enable naxsi on this location
        # include /etc/nginx/naxsi.rules
    }

    # Only for nginx-naxsi used with nginx-naxsi-ui : process denied requests
    #location /RequestDenied {
    #    proxy_pass http://127.0.0.1:8080;   
    #}

    #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 /usr/share/nginx/html;
    #}

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    #location ~ \.php$ {
    #    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    #    # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
    #
    #    # With php5-cgi alone:
    #    fastcgi_pass 127.0.0.1:9000;
    #    # With php5-fpm:
    #    fastcgi_pass unix:/var/run/php5-fpm.sock;
    #    fastcgi_index index.php;
    #    include fastcgi_params;
    #}

    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    #location ~ /\.ht {
    #    deny all;
    #}
}


# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
#    listen 8000;
#    listen somename:8080;
#    server_name somename alias another.alias;
#    root html;
#    index index.html index.htm;
#
#    location / {
#        try_files $uri $uri/ =404;
#    }
#}


# HTTPS server
#
#server {
#    listen 443;
#    server_name localhost;
#
#    root html;
#    index index.html index.htm;
#
#    ssl on;
#    ssl_certificate cert.pem;
#    ssl_certificate_key cert.key;
#
#    ssl_session_timeout 5m;
#
#    ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
#    ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
#    ssl_prefer_server_ciphers on;
#
#    location / {
#        try_files $uri $uri/ =404;
#    }
#}
surbhi@surbhi:~$ wget http://192.168.1.6/default.pdf
--2015-04-04 10:41:33--  http://192.168.1.6/default.pdf
Connecting to 192.168.1.6:80... failed: Connection refused.
surbhi@surbhi:~$ sudo ifconfig
[sudo] password for surbhi:
eth0      Link encap:Ethernet  HWaddr b8:2a:72:c1:ee:a1 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:20332 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20332 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1977655 (1.9 MB)  TX bytes:1977655 (1.9 MB)

wlan0     Link encap:Ethernet  HWaddr 9c:ad:97:4a:a9:e7 
          inet addr:192.168.1.6  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::9ead:97ff:fe4a:a9e7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7609 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6307 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5804197 (5.8 MB)  TX bytes:884109 (884.1 KB)

thank you

On Thursday, April 2, 2015 at 11:37:15 PM UTC+5:30, surbhi khurana wrote:

Fred Dixon

unread,
Apr 4, 2015, 1:18:15 AM4/4/15
to bigbluebu...@googlegroups.com
Hi Surbhi,

Thanks.  Can you post the output of the command

  cat /etc/nginx/sites-available/bigbluebutton 

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 http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

surbhi khurana

unread,
Apr 4, 2015, 1:29:07 AM4/4/15
to bigbluebu...@googlegroups.com
surbhi@surbhi:~$ cat /etc/nginx/sites-available/bigbluebutton
server {
     listen   80;
     server_name  192.168.1.6;

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

     # Handle RTMPT (RTMP Tunneling).  Forwards requests
     # to Red5 on port 5080
      location ~ (/open/|/close/|/idle/|/send/|/fcs/) {
          proxy_pass         http://127.0.0.1:5080;
          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;
          keepalive_requests         1000000000;
      }

     # 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;
       }

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

    # Include specific rules for record and playback
        include /etc/bigbluebutton/nginx/*.nginx;

        #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;

        }
}

thank you


On Thursday, April 2, 2015 at 11:37:15 PM UTC+5:30, surbhi khurana wrote:

Fred Dixon

unread,
Apr 5, 2015, 12:35:57 PM4/5/15
to bigbluebu...@googlegroups.com
Hi Surbhi,

Thanks for giving me a chance to take a closer look at your setup.  It appears you've installed edX on the same laptop as BigBlueButton.

The problem is that edX is using nginx with it's own configuration files.  It looks like you had installed BigBlueButton after the installation of edX, which means that edX had already configured nginx to serve its files.

We recommend you install BigBlueButton on a clean Ubuntu 14.04 64-bit server that does not have any other programs installed.

This way, there won't be any subtle conflicts that prevent BigBlueButton from running correctly.

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 http://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