Installation error for freeswitch.service and docker.service
On a fresh Ubuntu 16.04 server the installtion via bbb-install fails with following main errors:
Job for freeswitch.service failed because the control process exited with error code. See "systemctl status freeswitch.service" and "journalctl -xe" for details.
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
~#systemctl status freeswitch.service ● freeswitch.service - freeswitch Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset: enabled) Active: failed (Result: start-limit-hit) since Do 2020-05-07 23:08:56 CEST; 2min 27s ago Process: 540 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, status=214/SETSCHEDULER)`
~#systemctl status docker.service ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: failed (Result: start-limit-hit) since Do 2020-05-07 23:09:46 CEST; 2min 26s ago Docs: https://docs.docker.com Process: 1192 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE) Main PID: 1192 (code=exited, status=1/FAILURE)
Can anyone please advice me tracking down the root of the errors?
Kind regards Michael
I found the solution: http://docs.bigbluebutton.org/2.2/troubleshooting.html#freeswitch-fails-to-start-with-a-setscheduler-error
Now even the docker.service is working :-)
After rebooting freeswitch.service ist up and running but docker.service is not:
~#systemctl status docker.service ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: e Active: failed (Result: start-limit-hit) since Do 2020-05-07 23:27:52 CEST; 3 Docs: https://docs.docker.com Process: 4173 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd Main PID: 4173 (code=exited, status=1/FAILURE)
Any ideas what might be wrong here?
If I do sudo bbb-conf --check the out put is:
BigBlueButton Server 2.2.9 (1891) Kernel version: 4.4.0-042stab142.1 Distribution: Ubuntu 16.04.6 LTS (64-bit) Memory: 16777 MB CPU cores: 64
/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web) bigbluebutton.web.serverURL: https://<my_hostname> defaultGuestPolicy: ALWAYS_ACCEPT svgImagesRequired: true
/etc/nginx/sites-available/bigbluebutton (nginx) server name: <my_hostname> port: 80, [::]:80 port: 443 ssl bbb-client dir: /var/www/bigbluebutton
/var/www/bigbluebutton/client/conf/config.xml (bbb-client) Port test (tunnel): rtmp://<my_hostname> red5: <my_hostname> useWebrtcIfAvailable: true
/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH) local_ip_v4: <my_ip> external_rtp_ip: stun:stun.freeswitch.org external_sip_ip: stun:stun.freeswitch.org
/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH) ext-rtp-ip: $${local_ip_v4} ext-sip-ip: $${local_ip_v4} ws-binding: :5066 wss-binding: <my_ip>:7443
/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback) playback_host: <my_hostname> playback_protocol: https ffmpeg: 4.2.2-1bbb1~ubuntu16.04
/etc/bigbluebutton/nginx/sip.nginx (sip.nginx) proxy_pass: <my_ip>
/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU) kurento.ip: <my_ip> kurento.url: ws://127.0.0.1:8888/kurento localIpAddress: <my_ip> 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: 894 kurentoUrl: wss://<my_hostname>/bbb-webrtc-sfu enableListenOnly: true
Warning: API URL IPs do not match host: Potential problems described below
IP from ifconfig: <my_ip> /var/lib/tomcat7/demo/bbb_api_conf.jsp: <my_hostname>
Not running: tomcat7 or grails ............................................................................... Error: Could not connect to the configured hostname/IP address
https://<my_hostname>/
If your BigBlueButton server is behind a firewall, see FAQ.
Warning: The API demos are installed and accessible from:
https://<my_hostname>
and
https://<my_hostname>/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
I can't tell why your docker service does not start. Probably there went something wrong in the installation process. Looking at the date this issue was reported, I'm not very confident that we will still be able to figure out, what happened. But it's worth to retry the installation and look closely at the output for any problems reported.
Here are some hints, that might be helpful:
- It is possible (and good practice) to download the install script first and to start it from the local disk. By doing so it's easy to copy the output into a file:
This way you can lookup problems later and check closely what went wrong.$ wget -q https://ubuntu.bigbluebutton.org/bbb-install.sh $ chmod 755 bbb-install.sh $ sudo ./bbb-install.sh 2>&1 | tee bbb-install.out - You can check if all services are running by issuing a
If any service is missing, BigBlueButton will not work.$ sudo bbb-conf --status - Please check, if <my_ip> and the resolved IP address from <my_hostname> are identical:
If the IP address reported here and the IP address configured locally do not match, you are likely to sit behind a firewall or NAT device.$ dig <my_hostname> IN ANY
There is some troubleshooting documentation available. Your problem might be already documented there.