Trouble Setting Up External Access

169 views
Skip to first unread message

Jeffrey Columb II

unread,
Jul 29, 2013, 1:04:57 PM7/29/13
to bigbluebu...@googlegroups.com
Left my server running fine for a week, came back to nginx.

Results of: sudo bbb-conf --check

BigBlueButton Server 0.8-beta-4 (951)
                    Kernel version: 2.6.32-49-generic-pae
                      Distribution: Ubuntu 10.04.4 LTS (32-bit)
                            Memory: 2012 MB

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: http
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

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

/var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: http

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

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


** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 10.10.10.77
#   /etc/nginx/sites-available/bigbluebutton: http
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 10.10.10.77
#  /var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp: http

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

nc: getaddrinfo: Name or service not known
# Error: Unable to connect to port 1935 (RTMP) on http

nc: getaddrinfo: Name or service not known
# Error: Unable to connect to port 9123 (desktop sharing) on http

# Warning: The value (http) for playback_host in
#
#    /usr/local/bigbluebutton/core/scripts/slides.yml
#
# does not match the local IP address (10.10.10.77).

# Warning: The API demos are installed and accessible from:
#
#
# Use the API demos test your BigBlueButton setup. To remove
#
#    sudo apt-get purge bbb-demo

My etc/hosts is as follows: (Note: xx.xxx.xxx.xxx is hiding my ip and.hostname.local is hiding my address)

127.0.0.1	localhost
127.0.1.1	UbuntuBlue.hostname.local	UbuntuBlue
xx.xxx.xxx.xxx	http://bbb.usalearning.biz				BigBlueButton
# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Fred Dixon

unread,
Jul 29, 2013, 1:57:28 PM7/29/13
to bigbluebu...@googlegroups.com
Hi Jeffrey,

Can you try

  sudo bbb-conf --setip bbb.usalearning.biz

and change your /etc/hosts from

127.0.1.1 UbuntuBlue.hostname.local UbuntuBlue 10.10.10.77 http://bbb.usalearning.biz BigBlueButton

to

127.0.1.1 UbuntuBlue.hostname.local UbuntuBlue
xx.xxx.xxx.xxx bbb.usalearning.biz

and try it again.


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



--
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/groups/opt_out.
 
 




Message has been deleted

Jeffrey Columb II

unread,
Jul 29, 2013, 2:32:47 PM7/29/13
to bigbluebu...@googlegroups.com
after running bbb-conf:

Assigning bbb.usalearning.biz for testing for firewall in /var/www/bigbluebutton                                                                          /client/conf/config.xml
Assigning bbb.usalearning.biz for rtmp:// in /var/www/bigbluebutton/client/conf/                                                                          config.xml
Assigning bbb.usalearning.biz for servername in /etc/nginx/sites-available/bigbl                                                                          uebutton
Assigning bbb.usalearning.biz for http:// in /var/www/bigbluebutton/client/conf/                                                                          config.xml
Assigning bbb.usalearning.biz for web application URL in /var/lib/tomcat6/webapp                                                                          s/bigbluebutton/WEB-INF/classes/bigbluebutton.properties
Assigning bbb.usalearning.biz for api demos in /var/lib/tomcat6/webapps/demo/bbb                                                                          _api_conf.jsp
Assigning bbb.usalearning.biz for record and playback in /usr/local/bigbluebutto                                                                          n/core/scripts/slides.yml
Restarting the bigbluebutton server ...
 * Stopping Red5 Server red5                                             [ OK ]
 * Stopping Tomcat servlet engine tomcat6                                [ OK ]
Stopping nginx: nginx.
Killing: 25094
Stopping OpenOffice headless server.
Record and Playback monitoring stopped

Starting FreeSWITCH
Error: stacksize 4194303 is too large: run ulimit -s 240 or run /opt/freeswitch/                                                                          bin/freeswitch -waste.
auto-adjusting stack size for optimal performance...
28368 Backgrounding.
Waiting for FreeSWITCH to start: ..............................
Starting OpenOffice headless server
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):
(It sat here for about a half-hour)

etc/hosts:
bigpt@UbuntuBlue:~$ sudo vim /etc/hosts
127.0.0.1       localhost
127.0.1.1       UbuntuBlue.hostname.local     UbuntuBlue
75.103.240.194  bbb.usalearning.biz

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


At this time, it still says waiting for BBB to finish starting up.

Jeffrey Columb II

unread,
Jul 29, 2013, 2:49:51 PM7/29/13
to bigbluebu...@googlegroups.com
Okay, so a couple things. First, I found out I needed to use vim to change the etc/hosts file as SSH wasn't allowing me to replace it (owned by root, which is inaccessible). Secondly, --check outputs the following with BBB startup hanging:

BigBlueButton Server 0.8-beta-4 (951) Kernel version: 2.6.32-49-generic-pae Distribution: Ubuntu 10.04.4 LTS (32-bit) Memory: 2012 MB /var/www/bigbluebutton/client/conf/config.xml (bbb-client) Port test (tunnel): bbb.usalearning.biz Red5: bbb.usalearning.biz /etc/nginx/sites-available/bigbluebutton (nginx) server name: bbb.usalearning.biz port: 80 bbb-client dir: /var/www/bigbluebutton /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web) bbb-web host: bbb.usalearning.biz /var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp (API demos) api url: bbb.usalearning.biz /usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5) voice conference: FreeSWITCH /usr/local/bigbluebutton/core/scripts/slides.yml (record and playback) playback host: bbb.usalearning.biz ** Potential problems described below ** # IP does not match: # IP from ifconfig: 10.10.10.77 # /etc/nginx/sites-available/bigbluebutton: bbb.usalearning.biz # Warning: API URL IPs do not match host: # # IP from ifconfig: 10.10.10.77 # /var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp: bbb.usalearning.biz # Not Running: OpenOffice OpenOffice bbb-record-core

and bbb-conf --clean hangs as well.

Fred Dixon

unread,
Jul 29, 2013, 3:03:30 PM7/29/13
to bigbluebu...@googlegroups.com
Hi Jeffrey,

Before proceeding further, did you get any errors with the installation before modifying it work with an external IP?

Can you make sure it works stand-alone (from within your network) first.


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/groups/opt_out.
 
 

Jeffrey Columb II

unread,
Jul 29, 2013, 3:15:19 PM7/29/13
to bigbluebu...@googlegroups.com
It was working fine AND accessible from my external IP last week. Now that I'm back on Monday from the weekend, I don't work weekends, the external IP shows nginx and it looks like it was never set up for BBB in the first place.
Message has been deleted

Jeffrey Columb II

unread,
Jul 29, 2013, 3:24:56 PM7/29/13
to bigbluebu...@googlegroups.com
I imagine it would be easy to do a clean install, but considering that's what I did last week... until I know what caused this I have no guarantee it won't happen again this weekend.

Jeffrey Columb II

unread,
Jul 29, 2013, 3:32:01 PM7/29/13
to bigbluebu...@googlegroups.com
I was trying to find a post I commented on here when I was setting it up. I had a problem with ruby that I resolved by removing ruby, and doing apt-get update again, then re-installing ruby which solved that problem; supposedly, given the current circumstances I don't have much confidence anymore.

Fred Dixon

unread,
Jul 29, 2013, 3:48:19 PM7/29/13
to bigbluebu...@googlegroups.com
Hi Jeff,

Sending four messages in 30 minutes to this mailing list is not cool.   One message will suffice.

In the output for bbb-conf we saw

#    http://http/

Which suggested someone ran bbb-conf on your server.  If you didn't do it, recommend you modify your passwords.

Before you try to setup external access, you need to be able to run

  sudo bbb-conf --clean
  sudo bbb-conf --check 

and not see

# Not Running: OpenOffice OpenOffice bbb-record-core

If your server is only accessible from within your network (i.e. not from an external IP address), then configure BigBlueButton to work first with the internal IP address. Then, follow the steps for setting up with an external network (go through them slowly to make sure you've got the settings right).

If you try the above and it doesn't work, the please post and we'll help.


Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton
  
On Mon, Jul 29, 2013 at 3:32 PM, Jeffrey Columb II <jpcol...@gmail.com> wrote:
I was trying to find a post I commented on here when I was setting it up. I had a problem with ruby that I resolved by removing ruby, and doing apt-get update again, then re-installing ruby which solved that problem; supposedly, given the current circumstances I don't have much confidence anymore.

Jeffrey Columb II

unread,
Jul 29, 2013, 4:02:26 PM7/29/13
to bigbluebu...@googlegroups.com
In all fairness I would have loved to only put one message, but I am not able to edit messages on this list.

I did run bbb-conf --check as shown in the first message, bbb-conf --setip as you requested in your message to which it ended with and never recovered from: "Waiting for BigBlueButton to finish starting up (this may take a minute):" After a half an hour I could wait no more as it would take less time to do a clean install. Then, I ran bbb-conf --check and it output the http://http://

But, you'll not have to worry about 4 messages in 30 minutes again. This is a waste of my time and I'm going to do a clean install. If I have any trouble and trust this board enough I might post future troubles here.

Thank you for your time and I hope it wasn't as much of a waste for you as it was for me. 
Reply all
Reply to author
Forward
0 new messages