* Restarting nginx nginx [fail]

678 views
Skip to first unread message

Mark Lin

unread,
Oct 2, 2014, 7:54:31 PM10/2/14
to bigbluebu...@googlegroups.com
Hello,

i set up the developer invoierment according to - 

when - sudo service nginx restart

* Restarting nginx nginx                                                                                                        [fail]



when command - sudo bbb-conf --clean

firstuser@u1404:~/dev/bigbluebutton/bigbluebutton-client$ sudo bbb-conf --clean
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: 15262
 * Stopping bbb-record-core

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

16530 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://My_IP_ADD/bigbluebutton/api

when - sudo bbb-conf --check


firstuser@u1404:~/dev/bigbluebutton/bigbluebutton-client$ sudo bbb-conf --check

BigBlueButton Server 0.9.0-beta (421)
                    Kernel version: 3.13.0-36-generic
                      Distribution: Ubuntu 14.04.1 LTS (64-bit)
                            Memory: 3953 MB

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

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: My_IP_ADD
                              port: 80
                    bbb-client dir: /home/firstuser/dev/bigbluebutton/bigbluebutton-client

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

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


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

# Warning: The directory
#
#    /home/firstuser/dev/bigbluebutton/bigbluebutton-client
#
# does not exist.  The BigBlueButton client will not load.

# Warning: The installed ffmpeg version '2.4.git' is not supported
#          Recording processing may not function correctly

# 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.)

# Error: Unable to reach default URL for presentation:
#
#
# Check value for beans.presentationService.defaultUploadedPresentation in
#   /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties
firstuser@u1404:~/dev/bigbluebutton/bigbluebutton-client$

Thank you

Chad Pilkey

unread,
Oct 3, 2014, 12:35:23 PM10/3/14
to bigbluebu...@googlegroups.com
Hi Mark,
 
# Warning: The directory
#
#    /home/firstuser/dev/bigbluebutton/bigbluebutton-client
#
# does not exist.  The BigBlueButton client will not load.

 Did you clone the repository to the above location or did you put it somewhere else? If you put the repo somewhere else you will need to edit the nginx file to point to the correct directory. I'm not sure if a missing directory will cause nginx to fail to start up or not, but it's a good place to start looking.

Chad

Mark Lin

unread,
Oct 3, 2014, 2:41:16 PM10/3/14
to bigbluebu...@googlegroups.com
sorry for bothering ,
my problem was that when i setup nginx to redirect calls to the client towards my development version,  
i copied and pasted the all code to the client_dev instead using it as the command line.

so now i can restart nginx - $ sudo service nginx restart
* Restarting nginx nginx       [ OK ]

But without any comment as the guide shown

" "Restarting nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
configuration file /etc/nginx/nginx.conf test is successful
nginx."

ant locals & ant for building the client - BUILD SUCCESSFUL

and when trying log to the demo i see the BBB app download and then stacking at the next page where " connecting to the server "


So i don't know where i'm wrong.

Thank you

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/wK7vZIXXsH0/unsubscribe.
To unsubscribe from this group and all its topics, 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.

Chad Pilkey

unread,
Oct 3, 2014, 3:23:23 PM10/3/14
to bigbluebu...@googlegroups.com
Check "~/dev/bigbluebutton/bigbluebutton-client/src/conf/config.xml" and make sure that the IP addresses match the IP that "bbb-conf --salt" reports. If they are different update your config.xml and run "ant" again and restart tomcat7.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

Mark Lin

unread,
Oct 3, 2014, 4:13:58 PM10/3/14
to bigbluebu...@googlegroups.com
Thank you Sir for your help...
seems that every thing is in place...

attached my "~/dev/bigbluebutton/bigbluebutton-client/src/conf/config.xml" - 

URL: http://My_IP_address/bigbluebutton/
      Salt: xxxxxx3d00f5c3ab1e36yyyy

$ ant  clean-build-all:

BUILD SUCCESSFUL

sudo service tomcat7 restart


but getting the same result

Thank you


To unsubscribe from this group and all its topics, send an email to bigbluebutton-s...@googlegroups.com.
config.xml

Chad Pilkey

unread,
Oct 3, 2014, 5:00:18 PM10/3/14
to bigbluebu...@googlegroups.com
A couple of other things to check.

Could you change "showLogButton=false" to "showLogButton=true", run ant again, restart tomcat7. Then load up the client again and you should see a new button in the bottom right hand corner of the screen next to the language drop down. Wait for a bit and click that button and a new window will pop up. Could copy the contents and paste it here. It might give a clue as to where the process is getting stuck.

Could you also switch back to the packaged client and verify that you can connect successfully. If the client loads then we know that everything else is working. Running the following command will change you back to the packaged client:

sudo ln -f -s /etc/bigbluebutton/nginx/client /etc/bigbluebutton/nginx/client.nginx
sudo service nginx restart


To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsubscribe...@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.

Mark Lin

unread,
Oct 3, 2014, 6:21:36 PM10/3/14
to bigbluebu...@googlegroups.com
I started with your second suggestion...

sudo ln -f -s /etc/bigbluebutton/nginx/client /etc/bigbluebutton/nginx/client.nginx
sudo bbb-conf --clean
and there is no problem loging.
but when switched back to developer... 
sudo ln -f -s /etc/bigbluebutton/nginx/client_dev /etc/bigbluebutton/nginx/client.nginx
change the config.xml to - <layout showLogButton="true"
$ ant
sudo bbb-conf --clean
getting the same result - can not log to bbb
and there is no new button 


Thank you Sir for your patience
To unsubscribe from this group and all its topics, send an email to bigbluebutton-s...@googlegroups.com.

Fred Dixon

unread,
Oct 3, 2014, 6:33:14 PM10/3/14
to bigbluebu...@googlegroups.com
Hi Mark,

Can you confirm the config.xml file in your development environment has the same IP addresses as the default file in

  /var/www/bigbluebutton/client/conf/config.xml


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

Mark Lin

unread,
Oct 3, 2014, 7:11:53 PM10/3/14
to bigbluebu...@googlegroups.com
Yes, files are matched except the VERSION...

.swf?v=158"  in var.../config.xml

.swf?v=VERSION" in /home/firstuser/dev/bigbluebutton/config.xml

Thank you

Mark Lin

unread,
Oct 5, 2014, 10:03:34 AM10/5/14
to bigbluebu...@googlegroups.com
Thank you very much chad & Fred for your  patience help.
i don't know where i was wrong, 
but i reinstall my VPS and start everything from beginning and 
its seems that now BBB can load the client from the developer environment
Thank you
Reply all
Reply to author
Forward
0 new messages