BigBlueButtonセットアップ

OSSのテレビ会議システムであるBigBlueButtonをセットアップする際のキーポイントをここに紹介します。
This page describes the key point of setting up BigBlueButton of the video conference system of OSS.

インストール手順として利用したページは下記です。
The page used as an installation procedure is the following.

(すごく助かりました、ありがとうございました。)


サーバーは下記
Server information

Kernel version: 3.11.0-15-generic
Distribution: Ubuntu 12.04.4 LTS (64-bit)
Memory: 7865 MB

(1). swftools-0.9.1

下記エラーとなる。
The following error will occur.

root@IPD-0197:/usr/local/src/BigBlueButtonSetup# apt-get install swftools-0.9.1                                                               
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 swftools-0.9.1 : Depends: libmpfr1ldbl (>= 2.3.2.dfsg.1-1ubuntu1) but it is not installable
E: Unable to correct problems, you have held broken packages.

The following page solves this matter.
解決方法はswftools-0.9.1 : Depends: libmpfr1ldbl (>= 2.3.2.dfsg.1-1ubuntu1) which is a virtual package | Ziresにある。このページに従えば解決。

(2). nginx install

「apt-get install bigbluebutton」すると、bbb-clientのところで下記のように失敗する。
When you execute “apt-get install bigbluebutton” command, “bbb-client” will fail as follows.

All done, no errors.
All fonts downloaded and installed.
Processing triggers for install-info ...
Processing triggers for ufw ...
Processing triggers for ureadahead ...
Errors were encountered while processing:
 /var/cache/apt/archives/bbb-client_0.80ubuntu282_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

apt-getで解決してみる。
It may be able to solve by a “apt-get” command. ……

root# apt-get -f install                                                                           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  bbb-client
The following NEW packages will be installed:
  bbb-client
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
157 not fully installed or removed.
Need to get 0 B/5,234 kB of archives.
After this operation, 5,919 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 105578 files and directories currently installed.)
Unpacking bbb-client (from .../bbb-client_0.80ubuntu282_amd64.deb) ...
cp: cannot stat `/var/www/nginx-default/50x.html': No such file or directory
dpkg: error processing /var/cache/apt/archives/bbb-client_0.80ubuntu282_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/bbb-client_0.80ubuntu282_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

「cp: cannot stat `/var/www/nginx-default/50x.html’: No such file or directory」というエラーで失敗しているので、nginxのインストール状態を調べる
Since the error was “cp: cannot stat `/var/www/nginx-default/50x.html’: No such file or directory”, the installation state of nginx is investigated.

root# dpkg -l | grep nginx
iU  nginx                              1.1.19-1ubuntu0.6                       small, but very powerful and efficient web server and mail proxy
iU  nginx-common                       1.1.19-1ubuntu0.6                       small, but very powerful and efficient web server (common files)
iU  nginx-full                         1.1.19-1ubuntu0.6                       nginx web server with full set of core modules

The following page solves this matter. I think that it is just only workaround…. But since any solution other than this is not known, this must be followed.
InstallationBigBlueButtonDebian – bigbluebutton – How to install BigBlueButton on Debian – Open Source Web Conferencing – Google Project Hostingに強引な解決方が記述してあったが、それに従う・・・・・

root# mkdir -p /var/www/nginx-default/
root# touch /var/www/nginx-default/50x.html

(3) gherkin-2.2.9

Furthermore, if installation is advanced, “gherkin-2.2.9″ will failed as follows.
(2)が解決後、インストールを進めると今度は「gherkin-2.2.9」で、下記のように失敗する。

root# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up bbb-record-core (0.80ubuntu107) ...

Record and Playback monitoring started
Fetching gem metadata from http://rubygems.org/.........
Fetching additional metadata from http://rubygems.org/..
Resolving dependencies...
Using builder 2.1.2
Using diff-lcs 1.1.2
Using json 1.4.6
Using term-ansicolor 1.0.5

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.2 extconf.rb 
checking for main() in -lc... yes
creating Makefile

make
gcc -I. -I/usr/include/ruby-1.9.2/x86_64-linux -I/usr/include/ruby-1.9.2/ruby/backward -I/usr/include/ruby-1.9.2 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -O0 -Wall -Werror  -o gherkin_lexer_ar.o -c gherkin_lexer_ar.c
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl: In function ‘CLexer_scan’:
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:199:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:199:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
cc1: all warnings being treated as errors
make: *** [gherkin_lexer_ar.o] Error 1

Gem files will remain installed in /usr/lib/ruby/gems/1.9.2/gems/gherkin-2.2.9 for inspection.
Results logged to /usr/lib/ruby/gems/1.9.2/gems/gherkin-2.2.9/ext/gherkin_lexer_ar/gem_make.out
An error occurred while installing gherkin (2.2.9), and Bundler cannot continue.
Make sure that `gem install gherkin -v '2.2.9'` succeeds before bundling.
dpkg: error processing bbb-record-core (--configure):
 subprocess installed post-installation script returned error exit status 5
dpkg: dependency problems prevent configuration of bbb-playback-slides:
 bbb-playback-slides depends on bbb-record-core; however:
  Package bbb-record-core is not configured yet.
dpkg: error processing bbb-playback-slides (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bbb-config:
 bbb-config depends on bbb-playback-slides; however:
  Package bbb-playback-slides is not configured yet.
dpkg: error processing bbb-config (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bigbluebutton:
 bigbluebutton depends on bbb-config; however:
  Package bbb-config is not configured yet.
dpkg: error processing bigbluebutton (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                         No apport report written because MaxReports is reached already
                                                                                                                       Errors were encountered while processing:
 bbb-record-core
 bbb-playback-slides
 bbb-config
 bigbluebutton
E: Sub-process /usr/bin/dpkg returned an error code (1)

Although it does not understand well, the error message was in the log file of “/usr/lib/ruby/gems/1.9.2/gems/gherkin-2.2.9/ext/gherkin_lexer_ar/gem_make.out”.
よくわからんが、「Results logged to /usr/lib/ruby/gems/1.9.2/gems/gherkin-2.2.9/ext/gherkin_lexer_ar/gem_make.out」らしいので、catしてみる。

root# cat /usr/lib/ruby/gems/1.9.2/gems/gherkin-2.2.9/ext/gherkin_lexer_ar/gem_make.out

/usr/bin/ruby1.9.2 extconf.rb 
checking for main() in -lc... yes
creating Makefile

make
gcc -I. -I/usr/include/ruby-1.9.2/x86_64-linux -I/usr/include/ruby-1.9.2/ruby/backward -I/usr/include/ruby-1.9.2 -I.   -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -O0 -Wall -Werror  -o gherkin_lexer_ar.o -c gherkin_lexer_ar.c
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl: In function ‘CLexer_scan’:
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:199:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:199:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
cc1: all warnings being treated as errors
make: *** [gherkin_lexer_ar.o] Error 1

I found nice solution in the following page. I’ll tried it as following:

‘raise_lexer_error’ will never be NULL [-Werror=address]でgoogleすると、ruby – Troubleshooting installing Gherkin 2.1.5 – Stack Overflowに良い手順が記載されていたので、それを試す。

root# gem install gherkin -v '2.2.9' -- --with-cflags=-w
Building native extensions.  This could take a while...
Successfully installed gherkin-2.2.9
1 gem installed
Installing ri documentation for gherkin-2.2.9...
Installing RDoc documentation for gherkin-2.2.9...

Yes ! succeed to install.
やった成功した。


firewallの後ろでNATで稼動しているサーバー

firewallの後ろでNATで稼動しているサーバーの場合は、FAQ – bigbluebutton – BigBlueButton Frequently Asked Questions – Open Source Web Conferencing – Google Project Hostingに解決方法がある。
80(http)でトンネルしてくれているみたい?かな。

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>