bbb-conf -check errors

3,195 views
Skip to first unread message

Sotiris77

unread,
Apr 5, 2012, 11:04:48 AM4/5/12
to BigBlueButton-Setup
Hi,

I tried to install bbb 0.8 beta 4 on a remote ubuntu 10.04 server x64.
I can see the initial demo page (set it to a static public IP), when I
try to login I get the 404 Not Found nginx/0.7.65 message.

the bbb-conf -check returns me the following:

** Potential problems described below **
# File does not exist: /opt/freeswitch/conf.dist/vars.xml
# Not Running: red5 OpenOffice OpenOffice redis-server bbb-record-
core
grep: /etc/bigbluebutton/nginx/client.nginx: No such file or directory
cat: /etc/bigbluebutton/nginx/client.nginx: No such file or directory
# Warning: nginx is not serving the client from /var/www/
bigbluebutton/.
# Instead, it's being served from
#
#
#
# (This is OK if you have setup a development environment.)

grep: /etc/bigbluebutton/nginx/web.nginx: No such file or directory
# Warning: nginx is not serving BigBlueButton's web application
# from port 8080
#
# (This is OK if you have setup a development environment.)

# Unavailable Red5 logs (/usr/share/red5/log): bigbluebutton.log
sip.log video.log deskshare.log
# /usr/share/red5/log/sip.log not found
# /usr/share/red5/log/video.log not found
# /usr/share/red5/log/bigbluebutton.log not found
# /usr/share/red5/log/deskshare.log not found
# Error: /usr/share/red5/log/sip.log

# No /usr/share/red5/log/bigbluebutton.log
grep: /etc/bigbluebutton/nginx/web.nginx: No such file or directory
# Error: Unable to connect to port 1935 (RTMP) on 85.17.143.205

# Error: Unable to connect to port 9123 (desktop sharing) on
85.17.143.205

any ideas about what to do next?

thanks in advance
Sotiris

Fred Dixon

unread,
Apr 5, 2012, 11:43:31 AM4/5/12
to bigbluebu...@googlegroups.com
Hi Sotiris77,

Did you get any errors during the installed?  It looks like all the packages are not installed.  Can you give us the output of the command

   dpkg -l | grep bbb

Regards,... Fred



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




--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

Sotiris77

unread,
Apr 5, 2012, 5:27:40 PM4/5/12
to bigbluebu...@googlegroups.com
Hi Fred,

this is the output of the dpkg -l | grep bbb command:

login as: root
ro...@85.17.143.205's password:
Linux WEIV039.local 2.6.32-40-generic #87-Ubuntu SMP Tue Mar 6 00:56:56 UTC 2012                                             x86_64 GNU/Linux
Ubuntu 10.04.4 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/

Last login: Thu Apr  5 16:46:19 2012 from mast67.static.otenet.gr
root@WEIV039:~# dpkg -l | grep bbb
iU  bbb-apps                             0.80ubuntu34                                    BigBlueButton applicati            ons for Red5
iU  bbb-apps-deskshare                   0.80ubuntu19                                    BigBlueButton deskshare             module for Red5
iU  bbb-apps-sip                         0.80ubuntu13                                    BigBlueButton SIP modul            e for Red5
iU  bbb-apps-video                       0.80ubuntu17                                    BigBlueButton video mod            ule for Red5
iU  bbb-client                           0.80ubuntu246                                   BigBlueButton Flash cli            ent
iU  bbb-common                           0.80ubuntu68                                    BigBlueButton common fi            les
iU  bbb-config                           0.80ubuntu74                                    BigBlueButton group pac            kage
iU  bbb-freeswitch-config                0.80ubuntu8                                     BigBlueButton group pac            kage
iU  bbb-openoffice-headless              0.71ubuntu6                                     BigBlueButton wrapper f            or OpenOffice
iU  bbb-playback-slides                  0.80ubuntu81                                    BigBluebutton playback             of slides and audio
iU  bbb-record-core                      0.80ubuntu104                                   BigBlueButton record an            d playback
iU  bbb-web                              0.80ubuntu108                                   BigBlueButton API
iU  bigbluebutton                        0.80ubuntu4                                     Open Source Web Confere            ncing System (bbb)
root@WEIV039:~#

Fred Dixon

unread,
Apr 5, 2012, 8:22:55 PM4/5/12
to bigbluebu...@googlegroups.com
Can you try the following commands,

  sudo bbb-conf --setip 85.17.143.205

and try it again.  If it does not work, post the output of the following commands

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

and we'll dig deeper.

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

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.

Sotiris77

unread,
Apr 6, 2012, 5:24:52 AM4/6/12
to bigbluebu...@googlegroups.com
Hi Fred,

I did sudo bbb-conf --setip 85.17.143.205 :

root@WEIV039:~#  sudo bbb-conf --setip 85.17.143.205
/usr/local/bin/bbb-conf: line 52: /etc/bigbluebutton/bigbluebutton-release: No such file or directory
Assigning 85.17.143.205 for testing for firewall in /var/www/bigbluebutton/client/conf/config.xml
Assigning 85.17.143.205 for rtmp:// in /var/www/bigbluebutton/client/conf/config.xml
Assigning 85.17.143.205 for servername in /etc/nginx/sites-available/bigbluebutton
Assigning 85.17.143.205 for http:// in /var/www/bigbluebutton/client/conf/config.xml
Assigning 85.17.143.205 for web application URL in /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties
Assigning 85.17.143.205 for record and playback in /usr/local/bigbluebutton/core/scripts/slides.yml
Restarting the bigbluebutton server ...
 * Stopping Red5 Server red5                                             [ OK ]
 * Stopping Tomcat servlet engine tomcat6                                [ OK ]
Stopping nginx: nginx.
/usr/local/bin/bbb-conf: line 250: /etc/init.d/bbb-freeswitch: No such file or directory
Stopping OpenOffice headless server.
soffice: no process found

Starting FreeSWITCH
/usr/local/bin/bbb-conf: line 270: /etc/init.d/bbb-freeswitch: No such file or directory
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
                                                                         [fail]
 * Starting Tomcat servlet engine tomcat6                                [ OK ]
Waiting for BigBlueButton to finish starting up (this may take a minute): .

At that point  it crashed, lost connection and called the my host provider for reconnection, once the connection was back on,
I executed the  bbb-conf --clean and returned me the following:

root@WEIV039:~# bbb-conf --clean
/usr/local/bin/bbb-conf: line 52: /etc/bigbluebutton/bigbluebutton-release: No such file or directory

# File does not exist: /opt/freeswitch/conf.dist/vars.xml
Doing a clean restart of BigBlueButton ...
 * Stopping Red5 Server red5                                                             [ OK ]
 * Stopping Tomcat servlet engine tomcat6                                                [ OK ]
Stopping nginx: nginx.
/usr/local/bin/bbb-conf: line 250: /etc/init.d/bbb-freeswitch: No such file or directory
Stopping OpenOffice headless server.

Cleaning Log Files ...
 * could not access PID file for nginx
 * Red5 Server is not running, but pid file exists.
 * Tomcat servlet engine is not running.

Starting FreeSWITCH
/usr/local/bin/bbb-conf: line 270: /etc/init.d/bbb-freeswitch: No such file or directory
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
                                                                                         [fail]
 * Starting Tomcat servlet engine tomcat6                                                [ OK ]
Waiting for BigBlueButton to finish starting up (this may take a minute): ...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................^C
root@WEIV039:~#

I had to do Ctrl+C to continue because otherwise its going on for ages, it just never end.
And finally I run bbb-conf --check which gave me the following output:

root@WEIV039:~# bbb-conf --check
/usr/local/bin/bbb-conf: line 52: /etc/bigbluebutton/bigbluebutton-release: No such file or directory

BigBlueButton Server
                    Kernel version: 2.6.32-40-generic
                      Distribution: Ubuntu 10.04.4 LTS (64-bit)
                            Memory: 7932 MB

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 85.17.143.205
                              port: 80

cat: /etc/bigbluebutton/nginx/client.nginx: No such file or directory
                    bbb-client dir:

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

/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: 85.17.143.205
root@WEIV039:~#

I hope that helps
Thanks
Sotiris77

Fred Dixon

unread,
Apr 6, 2012, 8:50:53 AM4/6/12
to bigbluebu...@googlegroups.com
Hi Sotiris,

There is something wrong with the installation of FreeSWITCH

 > /usr/local/bin/bbb-conf: line 250: /etc/init.d/bbb-freeswitch: No such file or directory

Can you try the following

  sudo apt-get dist-upgrade
  sudo apt-get install -f
  
and then try

  sudo bbb-conf --check

and let us know if you still get the erro that bbb-freeswitch does not exist.  Without FreeSWITCH, BigBlueButton cannot provide audio and will not finish the startup sequence.


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

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
Message has been deleted

Sotiris77

unread,
Apr 6, 2012, 11:26:05 AM4/6/12
to bigbluebu...@googlegroups.com
Hello Fred,

I did all the action that you suggested me. Here are the outputs:

sudo apt-get dist-upgrade returned me:

root@WEIV039:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  bbb-freeswitch-config: Depends: bbb-freeswitch but it is not installed
  red5: Depends: bbb-freeswitch but it is not installed
E: Unmet dependencies. Try using -f.

sudo apt-get install -f returned:

root@WEIV039:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.32-37-generic linux-headers-2.6.32-37
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  bbb-freeswitch
The following NEW packages will be installed:
  bbb-freeswitch
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
88 not fully installed or removed.
Need to get 63.1MB of archives.
After this operation, 115MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ubuntu.bigbluebutton.org/lucid_dev_08/ bigbluebutton-lucid/main bbb-freeswitch 1.0.7-ubuntu41 [63.1MB]
Fetched 63.1MB in 18s (3,419kB/s)
(Reading database ... 126022 files and directories currently installed.)
Unpacking bbb-freeswitch (from .../bbb-freeswitch_1.0.7-ubuntu41_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/bbb-freeswitch_1.0.7-ubuntu41_amd64.deb (--unpack):
 trying to overwrite '/etc/default/freeswitch', which is also in package freeswitch 0:1.0.6-0ubuntu10-10-15-11-24PST.1~lucid
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/bbb-freeswitch_1.0.7-ubuntu41_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@WEIV039:~#

and bbb-conf --check gave me the same output as before (I think) :


root@WEIV039:~# bbb-conf --check
/usr/local/bin/bbb-conf: line 52: /etc/bigbluebutton/bigbluebutton-release: No such file or directory

BigBlueButton Server
                    Kernel version: 2.6.32-40-generic
                      Distribution: Ubuntu 10.04.4 LTS (64-bit)
                            Memory: 7932 MB

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 85.17.143.205
                              port: 80
cat: /etc/bigbluebutton/nginx/client.nginx: No such file or directory
                    bbb-client dir:

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

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


root@WEIV039:~#










Fred Dixon

unread,
Apr 6, 2012, 12:07:18 PM4/6/12
to bigbluebu...@googlegroups.com
Hi Sotiris,

It looks like you already have FreeSWITCH installed.  

> trying to overwrite '/etc/default/freeswitch', which is also in package freeswitch 0:1.0.6-0ubuntu10-10-15-11-24PST.1~lucid

Are you upgrading from 0.71a?  Did you already manually the default Ubuntu FreeSWITCH package?

Either way, uninstall the Ubuntu packaged version of FreeSWITCH and retry the BigBlueButton 0.8-beta-4 installation instructions.  

See



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



--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.

Sotiris77

unread,
Apr 8, 2012, 7:09:34 PM4/8/12
to bigbluebu...@googlegroups.com
Hello Fred,

I think I lost you wit the "> trying to overwrite '/etc/default/freeswitch', which is also in package freeswitch 0:1.0.6-0ubuntu10-10-15-11-
24PST.1~lucid" What am I suppose to do?

anyway tried to uninstall freeswitch but when I'm executing the 
sudo apt-get purge freeswitch freeswitch-sounds-en-us-callie-16000 freeswitch-sounds-en-us-callie-8000 freeswitch-sounds-music-16000
it returns me the following:
root@WEIV039:/# sudo apt-get purge freeswitch freeswitch-sounds-en-us-callie-16000 freeswitch-sounds-en-us-callie-8000 freeswitch-sounds-music-16000

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package freeswitch-sounds-en-us-callie-16000 is not installed, so not removed
Package freeswitch-sounds-music-16000 is not installed, so not removed
You might want to run `apt-get -f install' to correct these:

The following packages have unmet dependencies:
  bbb-freeswitch-config: Depends: bbb-freeswitch but it is not going to be installed
freeswitch-lang-en: Depends: freeswitch but it is not going to be installed
Recommends: freeswitch-sounds-en-us-callie-8000 but it is not going to be installed
red5: Depends: bbb-freeswitch but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@WEIV039:/#

then I run the command
dpkg -l | grep freesw with the following output:
root@WEIV039:/# dpkg -l | grep freesw

iU bbb-freeswitch-config 0.80ubuntu8 BigBlueButton group package
ii  freeswitch                           1.0.6-0ubuntu10-10-15-11-24PST.1~lucid          open source telephony platform
ii freeswitch-lang-en 1.0.6-0ubuntu10-10-15-11-24PST.1~lucid English language files for FreeSWITCH
ii freeswitch-sounds-en-us-callie-8000 1.0.13-0ubuntu1 English language sounds for the FreeSWITCH(T
root@WEIV039:/#

and when I tried to get rid something of the above I got this:

root@WEIV039:/# apt-get purge freeswitch-lang-en

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:

The following packages have unmet dependencies:
  bbb-freeswitch-config: Depends: bbb-freeswitch but it is not going to be installed
red5: Depends: bbb-freeswitch but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

How do I get rid of everything and start a fresh installation?
because I think this is the best way to follow. format is not an option as it is a remote server.

Reply all
Reply to author
Forward
0 new messages