Installation Issues on 2.3.x

510 views
Skip to first unread message

Ronald Mweshi

unread,
Aug 7, 2021, 1:42:00 AM8/7/21
to BigBlueButton-Setup
Good day, I need help with the installation of Bigbluebutton. I am running Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0 x86_64). I tried to install many times but results are the same. Please help.

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]

 bbb-conf --check

BigBlueButton Server 2.3.10 (2419)
                    Kernel version: 4.15.0
                      Distribution: Ubuntu 18.04.5 LTS (64-bit)
                            Memory: 16777 MB
                         CPU cores: 8

/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: inet
                   external_rtp_ip: xxx.xxx.xxx.60
                   external_sip_ip: 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: xxx.xxx.xxx.60:5066
                       wss-binding: 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: xxx.xxx.xxx.60
                          protocol: http

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: xxx.xxx.xxx.60
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: 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: 1829
                        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:
#
#
# and
#
#
# 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
#
#

#
# Warning: Detected that systemctl does not define a UTF-8 language.
#
# To temporarily correct, run the command
#
#   sudo systemctl set-environment LANG=en_US.UTF-8
#
#

 systemctl status freeswitch
● freeswitch.service - freeswitch
   Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset:
   Active: failed (Result: exit-code) since Fri 2021-08-06 17:25:34 UTC; 12h ago
  Process: 1042 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -

Aug 06 17:25:33 live1.hostname.com systemd[1]: freeswitch.service: Con
Aug 06 17:25:33 live1.hostname.com systemd[1]: freeswitch.service: Fai
Aug 06 17:25:33 live1.hostname.com systemd[1]: Failed to start freeswi
Aug 06 17:25:34 live1.hostname.com systemd[1]: freeswitch.service: Ser
Aug 06 17:25:34 live1.hostname.com systemd[1]: freeswitch.service: Sch
Aug 06 17:25:34 live1.hostname.com systemd[1]: Stopped freeswitch.
Aug 06 17:25:34 live1.hostname.com systemd[1]: freeswitch.service: Sta
Aug 06 17:25:34 live1.hostname.com systemd[1]: freeswitch.service: Fai
Aug 06 17:25:34 live1.hostname.com systemd[1]: Failed to start freeswi
lines 1-14/14 (END)...skipping...
● freeswitch.service - freeswitch
   Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2021-08-06 17:25:34 UTC; 12h ago
  Process: 1042 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, status=214/SETSCHEDULER)

Aug 06 17:25:33 live1.hostname.com systemd[1]: freeswitch.service: Control process exited, code=exited status=214
Aug 06 17:25:33 live1.hostname.com systemd[1]: freeswitch.service: Failed with result 'exit-code'.
Aug 06 17:25:33 live1.hostname.com systemd[1]: Failed to start freeswitch.
Aug 06 17:25:34 live1.hostname.com systemd[1]: freeswitch.service: Service hold-off time over, scheduling restart.
Aug 06 17:25:34 live1.hostname.com systemd[1]: freeswitch.service: Scheduled restart job, restart counter is at 5.
Aug 06 17:25:34 live1.hostname.com systemd[1]: Stopped freeswitch.
Aug 06 17:25:34 live1.hostname.com systemd[1]: freeswitch.service: Start request repeated too quickly.
Aug 06 17:25:34 live1.hostname.com systemd[1]: freeswitch.service: Failed with result 'exit-code'.
Aug 06 17:25:34 live1.hostname.com systemd[1]: Failed to start freeswitch.

NOTE: I have reinstalled linux for the seventh time now but this version of bbb has been a headache to me. If you may, I can give you logins to help directly from the server.

Thank you in advance

sd...@distancelearning.cloud

unread,
Aug 7, 2021, 7:57:15 AM8/7/21
to bigbluebu...@googlegroups.com

Login as sudo.

 

Run this at shell  /opt/freeswitch/bin/freeswitch -u freeswitch

 

Take the output and look at the logs for errors…   paste it in forums.

 

Should give you the errors.

--
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/61de06c9-f8b0-431f-97ef-e5c674ff8b00n%40googlegroups.com.

Ronald Mweshi

unread,
Aug 10, 2021, 5:54:52 AM8/10/21
to BigBlueButton-Setup
Thank you for your response.

some of the copied information from the command:
 
/opt/freeswitch/bin/freeswitch -u freeswitch
ERROR: Failed to set SCHED_FIFO scheduler (Operation not permitted)
ERROR: Could not set nice level
2021-08-10 09:33:15.359126 [INFO] switch_event.c:712 Activate Eventing Engine.
2021-08-10 09:33:15.370879 [WARNING] switch_event.c:682 Create additional event                                                                                         dispatch thread 0
2021-08-10 09:33:15.471031 [INFO] switch_nat.c:417 Scanning for NAT
2021-08-10 09:33:15.473730 [DEBUG] switch_nat.c:170 Checking for PMP 1/5
2021-08-10 09:33:15.473828 [ERR] switch_nat.c:199 Error checking for PMP [wait s                                                                                        ock failed]
2021-08-10 09:33:15.473845 [DEBUG] switch_nat.c:422 Checking for UPnP
setsockopt: Cannot assign requested address
2021-08-10 09:33:27.487827 [INFO] switch_nat.c:438 No PMP or UPnP NAT devices de                                                                                        tected!
2021-08-10 09:33:28.714820 [NOTICE] switch_scheduler.c:186 Starting task thread
2021-08-10 09:33:28.724563 [DEBUG] switch_scheduler.c:263 Added task 1 heartbeat                                                                                         (core) to run at 1628588008
2021-08-10 09:33:28.724664 [DEBUG] switch_scheduler.c:263 Added task 2 check_ip                                                                                         (core) to run at 1628588008
2021-08-10 09:33:28.725094 [NOTICE] switch_core.c:1467 Created ip list rfc6598.a                                                                                        uto default (deny)
2021-08-10 09:33:28.725139 [NOTICE] switch_utils.c:658 Adding 100.64.0.0/10 (all                                                                                        ow) [] to list rfc6598.auto
2021-08-10 09:33:28.725161 [NOTICE] switch_core.c:1473 Created ip list rfc1918.a                                                                                        uto default (deny)
2021-08-10 09:33:28.725179 [NOTICE] switch_utils.c:658 Adding 10.0.0.0/8 (allow)                                                                                         [] to list rfc1918.auto
2021-08-10 09:33:28.725209 [NOTICE] switch_utils.c:658 Adding 172.16.0.0/12 (all                                                                                        ow) [] to list rfc1918.auto
2021-08-10 09:33:28.725225 [NOTICE] switch_utils.c:658 Adding 192.168.0.0/16 (al                                                                                        low) [] to list rfc1918.auto
2021-08-10 09:33:28.725248 [NOTICE] switch_utils.c:658 Adding fe80::/10 (allow)                                                                                         [] to list rfc1918.auto
2021-08-10 09:33:28.725266 [NOTICE] switch_core.c:1482 Created ip list wan.auto                                                                                         default (allow)
2021-08-10 09:33:28.725282 [NOTICE] switch_utils.c:658 Adding 0.0.0.0/8 (deny) [                                                                                        ] to list wan.auto
2021-08-10 09:33:28.725298 [NOTICE] switch_utils.c:658 Adding 10.0.0.0/8 (deny)                                                                                         [] to list wan.auto
2021-08-10 09:33:28.725313 [NOTICE] switch_utils.c:658 Adding 172.16.0.0/12 (den                                                                                        y) [] to list wan.auto
2021-08-10 09:33:28.725328 [NOTICE] switch_utils.c:658 Adding 192.168.0.0/16 (de                                                                                        ny) [] to list wan.auto
2021-08-10 09:33:28.725352 [NOTICE] switch_utils.c:658 Adding 169.254.0.0/16 (de                                                                                        ny) [] to list wan.auto
2021-08-10 09:33:28.725370 [NOTICE] switch_utils.c:658 Adding 100.64.0.0/10 (den                                                                                        y) [] to list wan.auto
2021-08-10 09:33:28.725385 [NOTICE] switch_utils.c:658 Adding fe80::/10 (deny) [                                                                                        ] to list wan.auto
2021-08-10 09:33:28.725401 [NOTICE] switch_core.c:1494 Created ip list wan_v6.au                                                                                        to default (allow)
2021-08-10 09:33:28.725416 [NOTICE] switch_utils.c:658 Adding 0.0.0.0/0 (deny) [                                                                                        ] to list wan_v6.auto
2021-08-10 09:33:28.725432 [NOTICE] switch_utils.c:658 Adding fe80::/10 (deny) [                                                                                        ] to list wan_v6.auto

...
...

frees...@live.mydomain.com> 2021-08-10 09:33:37.706858 [ERR] sofia.c:3322 Error Creating SIP UA for profile: external (sip:mod_...@xxx.xxx.xxx.60:5060;maddr=inet;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2021-08-10 09:33:38.246800 [ERR] sofia.c:3322 Error Creating SIP UA for profile: internal (sip:mod_sofia@inet:5090;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2021-08-10 09:33:43.046787 [ERR] sofia.c:3322 Error Creating SIP UA for profile: external (sip:mod_...@xxx.xxx.xxx.60:5060;maddr=inet;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2021-08-10 09:33:43.046787 [ERR] sofia.c:3333 Error Creating SIP UA for profile: external (sip:mod_...@xxx.xxx.xxx.60:5060;maddr=inet;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.
2021-08-10 09:33:43.607618 [ERR] sofia.c:3322 Error Creating SIP UA for profile: internal (sip:mod_sofia@inet:5090;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2021-08-10 09:33:43.607618 [ERR] sofia.c:3333 Error Creating SIP UA for profile: internal (sip:mod_sofia@inet:5090;transport=udp,tcp)
The likely causes for this are:
1) Another application is already listening on the specified address.
2) The IP the profile is attempting to bind to is not local to this system.


Ronald Mweshi

unread,
Aug 18, 2021, 10:11:09 AM8/18/21
to BigBlueButton-Setup
I still need help if anyone is willing to help please

Thank you very much.

Philipp Memmel

unread,
Aug 18, 2021, 10:19:15 AM8/18/21
to bigbluebu...@googlegroups.com

Looks like you are trying to run BBB inside a container or other virtualized environment where freeswitch cannot set CPU priority level.

Maybe https://docs.bigbluebutton.org/support/troubleshooting.html#freeswitch-fails-to-start-with-a-setscheduler-error helps?

There might be some network issues as well. Can you provide some more information about your (network) setup? Have you used bbb-install.sh? This script usually will determine your network setup all by itself.

Pypo

JarrodJay

unread,
Aug 23, 2021, 7:36:39 AM8/23/21
to BigBlueButton-Setup
I had this issue with 2.3 (Never had the issue before in a LXC container with <2.3). 
Doing the following solved it for me: 

# Override /lib/systemd/system/freeswitch.service
mkdir /etc/systemd/system/freeswitch.service.d
cat <<EOF | tee /etc/systemd/system/freeswitch.service.d/override.conf
[Service]
CPUSchedulingPolicy=other
EOF

# override /usr/lib/systemd/system/bbb-html5-frontend@.service
mkdir /etc/systemd/system/bbb-html5-frontend@.service.d
cat <<EOF | tee /etc/systemd/system/bbb-html5-frontend@.service.d/override.conf
[Service]
CPUSchedulingPolicy=other
EOF

# override /usr/lib/systemd/system/bbb-html5-backend@.service
mkdir /etc/systemd/system/bbb-html5-backend@.service.d
cat <<EOF | tee /etc/systemd/system/bbb-html5-backend@.service.d/override.conf
[Service]
CPUSchedulingPolicy=other
EOF

systemctl daemon-reload
bbb-conf --restart
bbb-conf --status

Reply all
Reply to author
Forward
0 new messages