Another "Welcome to nginx!" issue on a clean bare-metal install

700 views
Skip to first unread message

AUPhil

unread,
Feb 21, 2011, 1:33:51 PM2/21/11
to BigBlueButton-Setup
Hello Everyone,

I'm trying to do some BBB testing. On a clean server with the
following specs:

Sun Fire x2100 M2 dual core Opteron 2.8Ghz 8GB RAM, LSI 3041E RAID1 w/
dual WD RE4-GP 2TB drives

I perform the following steps:

- do a clean install of Ubuntu 10.04.2 x86_64 LTS (wiping all previous
data)
- update and patch
- set my DHCP server to hand out a public Class-B IP address to this
server
- reboot the server
- following the information on this URL:
http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu I get
to step 4. "Do a Clean Restart" which returns:

cosam-bbb@cosam-meetings:~$ sudo bbb-conf --clean
[sudo] password for cosam-bbb:
Doing a clean restart of BigBlueButton ...
* Stopping Red5 Server red5
...done.
* Stopping Tomcat servlet engine tomcat6
...done.
Stopping nginx: nginx.
Stopping Asterisk PBX: asterisk.
* Stopping Apache ActiveMQ service activemq
...done.
Stopping OpenOffice headless server.

Cleaning Log Files ...
* Apache ActiveMQ service is not running.
* could not access PID file for nginx
* Red5 Server is not running.
* Tomcat servlet engine is not running.

Starting Asterisk
Starting Asterisk PBX: asterisk.
* Starting Apache ActiveMQ service activemq
...done.
Waiting for ActiveMQ to start:
Waiting for Asterisk 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

...done.
* Starting Tomcat servlet engine tomcat6
...done.
Waiting for BigBlueButton to finish starting up (this may take a
minute): done


** Potential problems described below **
cosam-bbb@cosam-meetings:~$ sudo bbb-conf --check

BigBlueButton Server 0.71a
Kernel version: 2.6.32-28-server
Distribution: Ubuntu 10.04.2 LTS (64-bit)
Memory: 8003 MB

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

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

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

/var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp (API
demos)
bbb-web-api host: 131.204.210.108

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


** Potential problems described below **
cosam-bbb@cosam-meetings:~$

The result of the setup checks do not seem to return any issues (at
least that I could find). Therefore, one of two things is happening:

1 - I cannot follow directions
2 - The setup directions are incomplete

Please advise, I hope it is issue 1 above as that is the easiest to
change.

Thanks,
AUPhil

Oresoft Live Web Class

unread,
Feb 21, 2011, 1:38:33 PM2/21/11
to bigbluebu...@googlegroups.com
I had same issue. It worked after I opened  ports are 80 (HTTP), 9123 (Desktop Sharing), and 1935 (RTMP).

Refer: http://code.google.com/p/bigbluebutton/wiki/FAQ#What_ports_must_be_open_for_external_users_to_connect_to_BigBlue

Thanks





--
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-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.


AUPhil

unread,
Feb 21, 2011, 1:52:30 PM2/21/11
to BigBlueButton-Setup
Thanks for the tip.

On this clean Ubuntu install, the only port I was unable to telnet to
was 1935.

But, to be safe I explicitly opened all 3 ports:

cosam-bbb@cosam-meetings:~$ sudo ufw enable
[sudo] password for cosam-bbb:
Command may disrupt existing ssh connections. Proceed with operation
(y|n)? y
Firewall is active and enabled on system startup
cosam-bbb@cosam-meetings:~$
cosam-bbb@cosam-meetings:~$ sudo ufw allow 1935
Rule added
cosam-bbb@cosam-meetings:~$ sudo ufw allow 9123
Rule added
cosam-bbb@cosam-meetings:~$ sudo ufw allow 80
Rule added
cosam-bbb@cosam-meetings:~$ sudo ufw status
Status: active

To Action From
-- ------ ----
1935 ALLOW Anywhere
9123 ALLOW Anywhere
80 ALLOW Anywhere

cosam-bbb@cosam-meetings:~$

Still, no joy. The "Welcome to nginx!" remains.

Stumped for now,
AUPhil


On Feb 21, 12:38 pm, Oresoft Live Web Class
<contact.ores...@gmail.com> wrote:
> I had same issue. It worked after I opened  ports are 80 (HTTP), 9123
> (Desktop Sharing), and 1935 (RTMP).
>
> Refer:http://code.google.com/p/bigbluebutton/wiki/FAQ#What_ports_must_be_op...
>
> Thanks
>
>
>
>
>
>
>
> On Mon, Feb 21, 2011 at 10:33 AM, AUPhil <philforr...@gmail.com> wrote:
> > Hello Everyone,
>
> > I'm trying to do some BBB testing. On a clean server with the
> > following specs:
>
> > Sun Fire x2100 M2 dual core Opteron 2.8Ghz 8GB RAM, LSI 3041E RAID1 w/
> > dual WD RE4-GP 2TB drives
>
> > I perform the following steps:
>
> > - do a clean install of Ubuntu 10.04.2 x86_64 LTS (wiping all previous
> > data)
> > - update and patch
> > - set my DHCP server to hand out a public Class-B IP address to this
> > server
> > - reboot the server
> > - following the information on this URL:
> >http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntuI get

born...@live.ru

unread,
Feb 21, 2011, 2:13:46 PM2/21/11
to BigBlueButton-Setup
can you give us
nginx -V
and your nginx.conf?

On 21 фев, 21:33, AUPhil <philforr...@gmail.com> wrote:
> Hello Everyone,
>
> I'm trying to do some BBB testing. On a clean server with the
> following specs:
>
> Sun Fire x2100 M2 dual core Opteron 2.8Ghz 8GB RAM, LSI 3041E RAID1 w/
> dual WD RE4-GP 2TB drives
>
> I perform the following steps:
>
> - do a clean install of Ubuntu 10.04.2 x86_64 LTS (wiping all previous
> data)
> - update and patch
> - set my DHCP server to hand out a public Class-B IP address to this
> server
> - reboot the server
> - following the information on this URL:http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntuI get

Joe Miller

unread,
Feb 21, 2011, 2:21:40 PM2/21/11
to bigbluebu...@googlegroups.com
Phil,

I'm a n00b here, so bear with me, but I had an identical problem with an EC2 instance until I created a FQDN and did a "sudo bbb-conf --setip {fqdn} to replace the installed IP addy's with the external address.  I don not understand why but that immediately cleared the problem for me.  Do you have  131.204.210.108 mapped to a PTR record somewhere that would allow you to test that for yourself?

-- joe

p.s. I have an elastic IP set for the EC2 instance so it doesn't move around between active sessions.  I do have to set the internal IP address for Freeswitch between restarts to enable the voice conference, but that's an easy single edit.

:~$

Still, no joy. The "Welcome to nginx!" remains.

Stumped for now,
AUPhil


On Feb 21, 12:38 pm, Oresoft Live Web Class
 wrote:
> I had same issue. It worked after I opened  ports are 80 (HTTP), 9123
> (Desktop Sharing), and 1935 (RTMP).
>
> Refer:http://code.google.com/p/bigbluebutton/wiki/FAQ#What_ports_must_be_op...
>
> Thanks
>
>
>
>
>
>
>
> On Mon, Feb 21, 2011 at 10:33 AM, AUPhil  wrote:
> > Hello Everyone,
>
> > I'm trying to do some BBB testing. On a clean server with the
> > following specs:
>
> > Sun Fire x2100 M2 dual core Opteron 2.8Ghz 8GB RAM, LSI 3041E RAID1 w/
> > dual WD RE4-GP 2TB drives
>
> > I perform the following steps:
>
> > - do a clean install of Ubuntu 10.04.2 x86_64 LTS (wiping all previous
> > data)
> > - update and patch
> > - set my DHCP server to hand out a public Class-B IP address to this
> > server
> > - reboot the server
> > - following the information on this URL:
> >http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntuI get
> > to step 4. "Do a Clean Restart" which returns:
>
> > cosam-bbb@cosam-meetings:~$ sudo bbb-conf --clean
> > [sudo] password for cosam-bbb:
> > Doing a clean restart of BigBlueButton ...
> >  * Stopping Red5 Server red5
> >   ...done.
> >  * Stopping Tomcat servlet engine tomcat6
> >   ...done.
> > Stopping nginx: nginx.
> > Stopping Asterisk PBX: asterisk.
> >  * Stopping Apache ActiveMQ service activemq
> >   ...done.
> > Stopping OpenOffice headless server.
>
> > Cleaning Log Files ...
> >  * Apache ActiveMQ service is not running.
> >  * could not access PID file for nginx
> >  * Red5 Server is not running.
> >  * Tomcat servlet engine is not running.
>
> > Starting Asterisk
> > Starting Asterisk PBX: asterisk.
> >  * Starting Apache ActiveMQ service activemq
> >   ...done.
> > Waiting for ActiveMQ to start:
> > Waiting for Asterisk 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
>
> >   ...done.
> >  * Starting Tomcat servlet engine tomcat6
> >   ...done.
> > Waiting for BigBlueButton to finish starting up (this may take a
> > minute):  done
>
> > ** Potential problems described below **
> > cosam-bbb@cosam-meetings:~$ sudo bbb-conf --check
>
> > BigBlueButton Server 0.71a
> >                    Kernel version: 2.6.32-28-server
> >                      Distribution: Ubuntu 10.04.2 LTS (64-bit)
> >                            Memory: 8003 MB
>
> > /var/www/bigbluebutton/client/conf/config.xml
> >                Port test (tunnel): 131.204.210.108
> >                              Red5: 131.204.210.108
>
> > /etc/nginx/sites-available/bigbluebutton
> >                       server name: 131.204.210.108
> >                              port: 80
> >                    bbb-client dir: /var/www/bigbluebutton
>
> > /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/
> > bigbluebutton.properties (bbb-web)
> >                      bbb-web host: 131.204.210.108
>
> > /var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp (API
> > demos)
> >                  bbb-web-api host: 131.204.210.108
>
> > /usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml
> >                  voice conference: konference (asterisk)
>
> > ** Potential problems described below **
> > cosam-bbb@cosam-meetings:~$
>
> > The result of the setup checks do not seem to return any issues (at
> > least that I could find). Therefore, one of two things is happening:
>
> > 1 - I cannot follow directions
> > 2 - The setup directions are incomplete
>
> > Please advise, I hope it is issue 1 above as that is the easiest to
> > change.
>
> > Thanks,
> > AUPhil
>
> > --
> > 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-s...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/bigbluebutton-setup?hl=en.

-- 
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-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.


-------You can REPLY to this message safely. Anything BELOW THIS LINE will be deleted.--------
Forrest
Phil Forrest
Phil's Linkedin
Auburn, Alabama, United States
Research Engineer - IT, Auburn University
Powered by WhoSent.It

AUPhil

unread,
Feb 21, 2011, 2:26:32 PM2/21/11
to BigBlueButton-Setup
Thanks for the offer to help. Here is the info:

cosam-bbb@cosam-meetings:~$ nginx -V
nginx version: nginx/0.7.65
TLS SNI support enabled
configure arguments: --conf-path=/etc/nginx/nginx.conf --error-log-
path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-
path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --
http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/
var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --
with-debug --with-http_stub_status_module --with-http_flv_module --
with-http_ssl_module --with-http_dav_module --with-
http_gzip_static_module --with-http_realip_module --with-mail --with-
mail_ssl_module --with-ipv6 --add-module=/build/buildd/nginx-0.7.65/
modules/nginx-upstream-fair
cosam-bbb@cosam-meetings:~$ locate nginx.conf
/etc/nginx/nginx.conf
/var/lib/dpkg/info/nginx.conffiles
cosam-bbb@cosam-meetings:~$ cat /etc/nginx/nginx.conf
user www-data;
worker_processes 1;

error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;

events {
worker_connections 1024;
# multi_accept on;
}

http {
include /etc/nginx/mime.types;

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

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;
tcp_nodelay on;

gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}

# mail {
# # See sample authentication script at:
# # http://wiki.nginx.org/NginxImapAuthenticateWithApachePhpScript
#
# # auth_http localhost/auth.php;
# # pop3_capabilities "TOP" "USER";
# # imap_capabilities "IMAP4rev1" "UIDPLUS";
#
# server {
# listen localhost:110;
# protocol pop3;
# proxy on;
# }
#
# server {
# listen localhost:143;
# protocol imap;
# proxy on;
# }
# }
cosam-bbb@cosam-meetings:~$

AUPhil

unread,
Feb 21, 2011, 2:32:01 PM2/21/11
to BigBlueButton-Setup
Joe,

Thanks! That seemed to do it. the FQDN was in DNS all along but the
BBB setup program did not seem to catch it.

As you suggested, running "sudo bbb-conf --setip server.domain.tld"
fixed the problem. The correct screen now appears.

Perhaps the Dev team needs to add this to the docs or describe when
the above command may be needed?

Thanks again,
AUPhil
> > For more options, visit this group athttp://groups.google.com/group/bigbluebutton-setup?hl=en.
>
> >  -------You can REPLY to this message safely. Anything BELOW THIS LINE
> > will be deleted.--------
> >     [image: Forrest]
> >   Phil Forrest   [image: Phil's Linkedin]<http://www.linkedin.com/profile?viewProfile=&key=7040636>   Auburn,
> > Alabama, United States  Research Engineer - IT, Auburn University
> >    Login to WhoSent.It <https://app.whosent.it/login/auth>
> >  Suggest Gadget <feedb...@whosent.it?subject=Suggest+Gadget>
> >  Twitter <http://twitter.com/whosentit>
> >  [image: Powered by WhoSent.It] <http://whosent.it>

born...@live.ru

unread,
Feb 21, 2011, 2:42:12 PM2/21/11
to BigBlueButton-Setup
try remove default from sites-enabled and modify in bigbluebutton
"listen 80;" to "listen 80 default;"
> #     #http://wiki.nginx.org/NginxImapAuthenticateWithApachePhpScript

Fred Dixon

unread,
Feb 21, 2011, 4:44:41 PM2/21/11
to bigbluebu...@googlegroups.com
Good suggestion Joe!

We've now highlighted this error in the installing from packages page.

http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu#Welcome_to_nginx!

Regards,... Fred

AUPhil

unread,
Feb 21, 2011, 5:41:57 PM2/21/11
to BigBlueButton-Setup
Fred,

Thanks for noting this.

Also, there's a small typo in http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu

Do a string find in the source code for "descirbe" and you will see
the typo.

Thanks again,
Phil


On Feb 21, 3:44 pm, Fred Dixon <ffdi...@gmail.com> wrote:
> Good suggestion Joe!
>
> We've now highlighted this error in the installing from packages page.
>
>    http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu#Welcom...

born...@live.ru

unread,
Feb 21, 2011, 6:04:04 PM2/21/11
to BigBlueButton-Setup
Hello Fred!
Do you know about name based virtual hosts?
and that server_name string in nginx meen its DNS name?
IP can be assigned only in listen param
and what bbb-conf do with nginx config WRONG

On 22 фев, 00:44, Fred Dixon <ffdi...@gmail.com> wrote:
> Good suggestion Joe!
>
> We've now highlighted this error in the installing from packages page.
>
>    http://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu#Welcom...

Fred Dixon

unread,
Feb 21, 2011, 7:47:31 PM2/21/11
to bigbluebu...@googlegroups.com
Hi Phil,

Fixed ... Thanks!

Regards,... Fred

born...@live.ru

unread,
Feb 22, 2011, 4:53:31 AM2/22/11
to BigBlueButton-Setup
I`d advise to disable default virtual host in nginx in bbb vm and set
"listen 80 default" in bigbluebutton.
it would solve most problems with "Welcome to nginx!"

On 22 фев, 03:47, Fred Dixon <ffdi...@gmail.com> wrote:
> Hi Phil,
>
> Fixed ... Thanks!
>
> Regards,... Fred
>
>
>
>
>
>
>
> On Mon, Feb 21, 2011 at 5:41 PM, AUPhil <philforr...@gmail.com> wrote:
> > Fred,
>
> > Thanks for noting this.
>
> > Also, there's a small typo inhttp://code.google.com/p/bigbluebutton/wiki/InstallationUbuntu

carsten aevermann

unread,
Feb 22, 2011, 5:09:31 AM2/22/11
to bigbluebu...@googlegroups.com
some just don't want to expose the bbb install to the world, as it is flash based.

I think it is a good solution to present "welcome to.."  
If you do not know how to change the default site you might also do not know how to secure it.

Greetings
Carsten
-- 
((aevermann.com))

Carsten Aevermann

Engelhardstr. 38C
63450 Hanau

Cell: +49 176 49860314
FixedLine: +49 6181 9657469

born...@live.ru

unread,
Feb 22, 2011, 7:19:46 AM2/22/11
to BigBlueButton-Setup
do you think assign ip to server name better solution?

On 22 фев, 13:09, carsten aevermann <cars...@aevermann.com> wrote:
> some just don't want to expose the bbb install to the world, as it is flash based.
>
> I think it is a good solution to present "welcome to.."  
> If you do not know how to change the default site you might also do not know how to secure it.
>
> Greetings
> Carsten
>
> > For more options, visit this group athttp://groups.google.com/group/bigbluebutton-setup?hl=en.
>
> --
> ((aevermann.com))
>
> Carsten Aevermann
>
> Engelhardstr. 38C
> 63450 Hanau
>
> Cell: +49 176 49860314
> FixedLine:+49 6181 9657469begin_of_the_skype_highlighting            +49 6181 9657469      end_of_the_skype_highlighting
Reply all
Reply to author
Forward
0 new messages