bbb-html5.services not starting

984 views
Skip to first unread message

Ronald Mweshi

unread,
Jul 25, 2021, 12:06:40 PM7/25/21
to BigBlueButton-Setup
Good day, I have spent two days search for a solution to the error above but to no avail.
Am able to login to greenlight but when I start a session, a 404 Not Found nginx error appears. my installation was done using wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v xenial-220 -s live1.host.edu -e in...@host.edu -t -g

 bbb-conf --check

BigBlueButton Server 2.2.36 (2416)
                    Kernel version: 4.4.0
                      Distribution: Ubuntu 16.04.7 LTS (64-bit)
                            Memory: 16777 MB
                         CPU cores: 48

/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: https://live1.live.edu
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server_name: live1.host.edu
                              port: 80
                              port: 443 ssl

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: xx.xx.xx.68
                   external_rtp_ip:  xx.xx.xx .68
                   external_sip_ip:  xx.xx.xx .68

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                        ext-rtp-ip: $${local_ip_v4}
                        ext-sip-ip: $${local_ip_v4}
                        ws-binding:  xx.xx.xx .68:5066
                       wss-binding:  xx.xx.xx .68:7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: live1.host.edu
                 playback_protocol: https
                            ffmpeg: 4.2.4-1ubuntu0.1bbb1~16.04.1

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass:  xx.xx.xx .68
                          protocol: http

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip:  xx.xx.xx  .68
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip:  xx.xx.xx  .68
                    localIpAddress:  xx.xx.xx  .68
               recordScreenSharing: true
                     recordWebcams: true
                  codec_video_main: VP8
               codec_video_content: VP8

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)
                             build: 1157
                        kurentoUrl: wss://live1.host.edu/bbb-webrtc-sfu
                  enableListenOnly: true
                    sipjsHackViaWs: true

/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml (STUN Server)
                              stun:stun.l.google.com:19302


# Potential problems described below

# Error: Found text in freeswitch.log:
#
#    Thread ended for mod_event_socket
#
# FreeSWITCH may not be responding to requests on port 8021 (event socket layer)
# and users may have errors joining audio.
#

#
# Error: Unable to connect to the FreeSWITCH Event Socket Layer on port 8021
#

# Warning: The API demos are installed and accessible from:
#
#
# and
#
#    https:// live1.host.edu  /demo/demo1.jsp
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    apt-get purge bbb-demo


When I run  bbb-conf --status
nginx —————————————————► [✔ - active]
freeswitch ————————————► [✔ - active]
redis-server ——————————► [✔ - active]
bbb-apps-akka —————————► [✔ - active]
bbb-transcode-akka ————► [✔ - active]
bbb-fsesl-akka ————————► [✔ - active]
red5 ——————————————————► [✔ - active]
tomcat7 ———————————————► [✔ - active]
mongod ————————————————► [✔ - active]
bbb-html5 —————————————► [✘ - failed]
bbb-webrtc-sfu ————————► [✔ - active]
kurento-media-server ——► [✔ - active]
etherpad ——————————————► [✔ - active]
bbb-web ———————————————► [✔ - active]

Also  systemctl status freeswitch 

● freeswitch.service - freeswitch
   Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2021-07-25 15:31:29 UTC; 29min ago
  Process: 25713 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, status=0/SUCCESS)
 Main PID: 25777 (freeswitch)
    Tasks: 25
   Memory: 48.5M
      CPU: 7.368s
   CGroup: /system.slice/freeswitch.service
           └─25777 /opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait -nonat


And running systemctl status bbb-html5.service

● bbb-html5.service - BigBlueButton HTML5 service
   Loaded: loaded (/usr/lib/systemd/system/bbb-html5.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2021-07-25 15:31:36 UTC; 31min ago
  Process: 26729 ExecStart=/usr/share/meteor/bundle/systemd_start.sh (code=exited, status=214/SETSCHEDULER)
 Main PID: 26729 (code=exited, status=214/SETSCHEDULER)

Jul 25 15:31:36   live1.host.edu   systemd[1]: Started BigBlueButton HTML5 service.
Jul 25 15:31:36   live1.host.edu   systemd[1]: bbb-html5.service: Main process exited, code=exited, status=214/SETSCHEDULER
Jul 25 15:31:36   live1.host.edu   systemd[1]: bbb-html5.service: Unit entered failed state.
Jul 25 15:31:36   live1.host.edu   systemd[1]: bbb-html5.service: Failed with result 'exit-code'.

Please help.
Thank you in advance

Militades sunfire

unread,
Jul 26, 2021, 6:53:43 AM7/26/21
to bigbluebu...@googlegroups.com

please don't use v2.2 anymore

BBB 2.2. is not supported any more, also the underlying ubuntu 16.04 is EOL and doesn't get any more updates

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/f380d0bf-9f10-42bc-8326-1676189b3d7fn%40googlegroups.com.

Ronald Mweshi

unread,
Jul 26, 2021, 8:49:14 AM7/26/21
to BigBlueButton-Setup
Thanks for the reply. I had installed 2.3 on ubuntu 18.04 but got alot of problems to join a conference using audio but given that I have successfully installed 2.2 on ubuntu 16.04 before, I though I could give it a short there.

Ronald Mweshi

unread,
Jul 28, 2021, 5:43:43 AM7/28/21
to BigBlueButton-Setup
Hi, So I upgraded to ubuntu 18.04 via script and reinstalled bbb bionics using script also.
when I do  bbb-conf --status I get fails on bbb-hmtl* as seen below
nginx —————————————————► [✔ - active]
freeswitch ————————————► [✔ - active]
redis-server ——————————► [✔ - active]
bbb-apps-akka —————————► [✔ - active]
bbb-fsesl-akka ————————► [✔ - active]
tomcat8 ———————————————► [✔ - active]
mongod ————————————————► [✔ - active]
bbb-html5 —————————————► [✔ - active]
bbb-webrtc-sfu ————————► [✔ - active]
kurento-media-server ——► [✔ - active]
bbb-html5-backend@1 ———► [✘ - failed]
bbb-html5-backend@2 ———► [✘ - failed]
bbb-html5-frontend@1 ——► [✘ - failed]
bbb-html5-frontend@2 ——► [✘ - failed]
etherpad ——————————————► [✔ - active]
bbb-web ———————————————► [✔ - active]


Checking  systemctl status bbb-html5

● bbb-html5.service - BigBlueButton HTML5 service
   Loaded: loaded (/usr/lib/systemd/system/bbb-html5.service; enabled; vendor preset: enabled)
   Active: active (exited) since Wed 2021-07-28 09:27:40 UTC; 7min ago
  Process: 29569 ExecStart=/usr/share/meteor/bundle/workers-start.sh (code=exited, status=0/SUCCESS)
 Main PID: 29569 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/bbb-html5.service

Jul 28 09:27:38  rms.mydomain   systemd[1]: Starting BigBlueButton HTML5 service...
Jul 28 09:27:40  rms.mydomain   systemd[1]: Started BigBlueButton HTML5 service.

I purged html5 and reinstalled it and ran bbb-conf --setip mydomain but still have the same results

also checked mongod.service using  systemctl status mongod.service
● mongod.service - High-performance, schema-free document-oriented database
   Loaded: loaded (/etc/systemd/system/mongod.service; disabled; vendor preset: enabled)
   Active: active (running) since Wed 2021-07-28 09:27:37 UTC; 11min ago
  Process: 29346 ExecStartPre=/usr/share/meteor/bundle/mongod_start_pre.sh (code=exited, status=0/SUCCESS)
 Main PID: 29537 (mongod)
   CGroup: /system.slice/mongod.service
           └─29537 /usr/bin/mongod --config /usr/share/meteor/bundle/mongo-ramdisk.conf --oplogSize 8 --replSet rs0 --noauth

Restarted the server but results are the same. I am able to login in to demo but starting a conference redirects to 404 Not Found nginx

Please help

Militades sunfire

unread,
Jul 28, 2021, 5:46:08 AM7/28/21
to bigbluebu...@googlegroups.com

you noticed that upgrading from 2.2 to 2.3 is discouraged?

see https://docs.bigbluebutton.org/2.3/install.html

suggested procedure is backup what you want to keep (like recordings and greenlight database) and start with a clean fresh install of ubuntu 18.04

Ali Alhaidary

unread,
Jul 28, 2021, 6:11:51 AM7/28/21
to bigbluebu...@googlegroups.com

Few months back, we did the same with one our servers, that is upgraded 16.04 LTS to 18.04 LTS, and then installed BBB using the bbb-install script, we had the same issues (and may be more). However, installing a fresh 18.04 LTS, and then installing BBB and then putting back all previous recordings in place went very smooth with only one issue of previous recordings that we fixed.

So my advice is to start with fresh installation of 18.04 LTS and the bbb-install

Ali

Ronald Mweshi

unread,
Jul 28, 2021, 7:36:57 AM7/28/21
to BigBlueButton-Setup
OK. Thanks for the quick advise. I will do just that for now.
Thanks

Ali Alhaidary

unread,
Jul 28, 2021, 7:49:13 AM7/28/21
to bigbluebu...@googlegroups.com

Just make sure to backup all important files such as recordings that are published and not published, greenlight settings and database and custom files ...

Ali

Ronald Mweshi

unread,
Jul 29, 2021, 6:54:24 AM7/29/21
to BigBlueButton-Setup
Good day,
So I did a fresh installation of ubuntu 18.04 and installed bigbluebutton.  after installation the following are the results

 bbb-conf --check

BigBlueButton Server 2.3.8 (2397)
                    Kernel version: 4.15.0
                      Distribution: Ubuntu 18.04.5 LTS (64-bit)
                            Memory: 16777 MB
                         CPU cores: 48

/etc/bigbluebutton/bbb-web.properties (override for bbb-web)
/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: https://live1.hostname.com
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server_name: live1.hostname.com
                              port: 80, [::]:80
                              port: 443 ssl

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 127.0.0.1
                   external_rtp_ip: 102.xxx.xxx.xxx.60
                   external_sip_ip: 102.xxx.xxx.xxx.60

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                        ext-rtp-ip: $${external_rtp_ip}
                        ext-sip-ip: $${external_sip_ip}
                        ws-binding: 102.xxx.xxx.xxx.60:5066
                       wss-binding: 102.xxx.xxx.xxx.60:7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: live1.hostname.com
                 playback_protocol: https
                            ffmpeg: 4.2.4-1ubuntu0.1bbb2~18.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: 102.xxx.xxx.xxx.60
                          protocol: http

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: 102.xxx.xxx.xxx.60
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: 102.xxx.xxx.xxx.60
                    localIpAddress: inet
               recordScreenSharing: true
                     recordWebcams: true
                  codec_video_main: VP8
               codec_video_content: VP8

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)
                             build: 1813
                        kurentoUrl: wss://live1.hostname.com/bbb-webrtc-sfu
                  enableListenOnly: true
                    sipjsHackViaWs: true

/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml (STUN Server)
                              stun: stun.l.google.com:19302

/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini (STUN Server)
                              stun: 172.217.212.127:19302


# Potential problems described below
grep: /opt/freeswitch/var/log/freeswitch/freeswitch.log: No such file or directory

#
# Error: Unable to connect to the FreeSWITCH Event Socket Layer on port 8021
#

# Warning: The API demos are installed and accessible from:
#
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    apt-get purge bbb-demo

# Error: FreeSWITCH failed to start with SETSCHEDULER error, see
#
#

bbb-conf --status
nginx ▒————————————————————► [✔ - active]
freeswitch ▒▒——————————————————► [✘ - failed]
redis-server ——————————————————► [✔ - active]
bbb-apps-akka ▒▒—————————————————► [✔ - active]
bbb-fsesl-akka ▒—————————————————► [✔ - active]
tomcat8 ▒▒———————————————————► [✔ - active]
mongod ————————————————————► [✔ - active]
bbb-html5 ———————————————————► [✔ - active]
bbb-webrtc-sfu ▒—————————————————► [✔ - active]
kurento-media-server ▒———————————————► [✔ - active]
bbb-html5-backend@1 ▒▒———————————————► [✘ - failed]
bbb-html5-backend@2 ▒▒———————————————► [✘ - failed]
bbb-html5-frontend@1 ▒———————————————► [✘ - failed]
bbb-html5-frontend@2 ▒———————————————► [✘ - failed]
etherpad ▒———————————————————► [✔ - active]
bbb-web ▒▒———————————————————► [✔ - active]

 systemctl status freeswitch.service
● freeswitch.service - freeswitch
   Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2021-07-29 09:35:11 UTC; 1h 14min ago
  Process: 30756 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, stat

Jul 29 09:35:11 live1.hostname.com systemd[1]: freeswitch.service: Service hold-off time over, scheduling res
Jul 29 09:35:11 live1.hostname.com systemd[1]: freeswitch.service: Scheduled restart job, restart counter is
Jul 29 09:35:11 live1.hostname.com systemd[1]: Stopped freeswitch.
Jul 29 09:35:11 live1.hostname.com systemd[1]: freeswitch.service: Start request repeated too quickly.
Jul 29 09:35:11 live1.hostname.com systemd[1]: freeswitch.service: Failed with result 'exit-code'.
Jul 29 09:35:11 live1.hostname.com systemd[1]: Failed to start freeswitch.

Starting a session in the demo gives the error: 404 Not Found nginx

systemctl status bbb-html5.service
● bbb-html5.service - BigBlueButton HTML5 service
   Loaded: loaded (/usr/lib/systemd/system/bbb-html5.service; enabled; vendor preset: enabled)
   Active: active (exited) since Thu 2021-07-29 09:31:10 UTC; 1h 22min ago
 Main PID: 29721 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/bbb-html5.service

Jul 29 09:31:08  live1.hostname.com   systemd[1]: Starting BigBlueButton HTML5 service...
Jul 29 09:31:10  live1.hostname.com   systemd[1]: Started BigBlueButton HTML5 service.

Please help

Ali Alhaidary

unread,
Jul 29, 2021, 2:33:21 PM7/29/21
to bigbluebu...@googlegroups.com

It seems that your installation did not go through all the way

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                        ext-rtp-ip: $${external_rtp_ip}
                        ext-sip-ip: $${external_sip_ip}
                        ws-binding: 102.xxx.xxx.xxx.60:5066
                       wss-binding: 102.xxx.xxx.xxx.60:7443

something is missing ...

Ali

detlef....@gmx.de

unread,
Jul 30, 2021, 1:10:59 AM7/30/21
to bigbluebu...@googlegroups.com

hi Ali , this is my Config

 

    <param name="ext-rtp-ip" value="$${local_ip_v4}"/>

    <param name="ext-sip-ip" value="$${local_ip_v4}"/>

    <param name="ws-binding" value="173.xxx.xxx.60:5066"/>

    <param name="wss-binding" value="173.xxx.xxx.60:7443"/>

 

Look that..

 

Detlef

Ali Alhaidary

unread,
Jul 30, 2021, 3:08:25 AM7/30/21
to bigbluebu...@googlegroups.com

I think that:

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 127.0.0.1
                   external_rtp_ip: 102.xxx.xxx.xxx.60
                   external_sip_ip: 102.xxx.xxx.xxx.60

Should be:

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 102.xxx.xxx.xxx.60
                   external_rtp_ip: 102.xxx.xxx.xxx.60
                   external_sip_ip: 102.xxx.xxx.xxx.60

You need to check host IP in hosts...

Ali

detlef....@gmx.de

unread,
Jul 30, 2021, 3:11:01 AM7/30/21
to bigbluebu...@googlegroups.com

local_ip_v4: 127.0.0.1   !!!!!

 

the local ip is always 127.0.0.1 and must not be changed. Try this

Ali Alhaidary

unread,
Jul 30, 2021, 3:13:43 AM7/30/21
to bigbluebu...@googlegroups.com

OK, you know better :-)

Ali

detlef....@gmx.de

unread,
Jul 30, 2021, 3:17:49 AM7/30/21
to bigbluebu...@googlegroups.com

You need to check host IP in hosts...

Server@root: nano /etc/hosts       look here  is it right..?

 

 

127.0.0.1       localhost

173.xxx.xxx.60  Domain.tld

 

# The following lines are desirable for IPv6 capable hosts

::1     localhost ip6-localhost ip6-loopback

xxxxx::1 ip6-allnodes

xxxxx::2 ip6-allrouters

173.xxx.xxx.60  Domain.tld

 

 

 

Von: Ali Alhaidary <ali.al...@the5stars.org>
Gesendet: Freitag, 30. Juli 2021 09:08
An: bigbluebu...@googlegroups.com
Betreff: Re: AW: [bigbluebutton-setup] bbb-html5.services not starting

 

I think that:

Ronald Mweshi

unread,
Jul 31, 2021, 1:00:12 AM7/31/21
to BigBlueButton-Setup
Hi thanks for the replies.
My hosts files look as below


127.0.0.1       localhost
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters

# Auto-generated hostname. Please do not remove this comment.
102.xxx.xxx.xxx.60 live1.mydomain.edu live1


Ali Alhaidary

unread,
Jul 31, 2021, 2:12:38 AM7/31/21
to bigbluebu...@googlegroups.com

You should have your host name added

127.0.0.1 your-host-name

Also, in /etc/hostname you should have your host name in

Ali

Reply all
Reply to author
Forward
0 new messages