I am instaling bbb 2.0 and freeswitch error

784 views
Skip to first unread message

Александр Любимов

unread,
Apr 16, 2018, 5:02:26 AM4/16/18
to BigBlueButton-Setup
Starting BigBlueButton
Job for freeswitch.service failed because the control process exited with error code. See "systemctl status freeswitch.service" and "journalctl -xe" for details.

BigBlueButton Server 2.0.0-beta (785)
                    Kernel version: 4.4.0-119-generic
                      Distribution: Ubuntu 16.04.4 LTS (64-bit)
                            Memory: 4046 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
          Port test (tunnel): rtmp://bbbnkzu.hldns.ru
                              red5: bbbnkzu.hldns.ru
              useWebrtcIfAvailable: true

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                         websocket: 88.204.242.46:7443
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: bbbnkzu.hldns.ru
                              port: 80, [::]:80, [::]:443
                              port: 443 ssl
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: bbbnkzu.hldns.ru

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: bbbnkzu.hldns.ru

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: bbbnkzu.hldns.ru


** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 192.168.1.150
#   /etc/nginx/sites-available/bigbluebutton: bbbnkzu.hldns.ru

#
# Error: Unable to connect to the FreeSWITCH Event Socket Layer on port 8021
#
# Warning: The voice application may not have registered with the sip server.
#   Try running:
#
#      sudo bbb-conf --clean
#


# Error: Could not detect FreeSWITCH listening on port 5060

# Warning: The setting of 88.204.242.46 for proxy_pass in
#
#    /etc/bigbluebutton/nginx/sip.nginx
#
# does not match the local IP address (192.168.1.150).
# (This is OK if you've manually changed the values)

# Warning: The client self check is installed and accessible from:
#
#    https://bbbnkzu.hldns.ru/check
#

# Error: Unable to reach default URL for presentation:
#
#    https://bbbnkzu.hldns.ru/default.ppt
#
# Check value for beans.presentationService.defaultUploadedPresentation in
#   /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties



root@ubuntuwebconf:~# journalctl -xe
Apr 09 14:42:46 ubuntuwebconf bbb-fsesl-akka[12825]:         at java.lang.Thread.run(Thread.java:748)
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]: Attempting to connect to FreeSWITCH ESL
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]: 2018-04-09 14:42:51,050 WARN  o.f.esl.client.inbound.Client  - Failed to connect to [12
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]: 2018-04-09 14:42:51,053 WARN  o.f.esl.client.inbound.Client  -   * reason: {}
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]: java.net.ConnectException: Connection refused
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_162]
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[na:
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processS
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioC
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at java.lang.Thread.run(Thread.java:748) [na:1.8.0_162]
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]: Failed to connect to ESL
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]: Apr 09, 2018 2:42:51 PM org.jboss.netty.channel.SimpleChannelUpstreamHandler
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]: WARNING: EXCEPTION, please implement org.freeswitch.esl.client.inbound.InboundClientHan
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]: java.net.ConnectException: Connection refused
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processS
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioC
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
Apr 09 14:42:51 ubuntuwebconf bbb-fsesl-akka[12825]:         at java.lang.Thread.run(Thread.java:748)
Apr 09 14:42:53 ubuntuwebconf systemd[1]: Started BigBlueButton recording and playback sanity check worker.
-- Subject: Unit bbb-rap-sanity-worker.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit bbb-rap-sanity-worker.service has finished starting up.
--
-- The start-up result is done.
Apr 09 14:42:53 ubuntuwebconf systemd[1]: Reached target BigBlueButton recording & playback processing.
-- Subject: Unit bbb-record-core.target has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit bbb-record-core.target has finished starting up.
--
-- The start-up result is done.
Apr 09 14:42:53 ubuntuwebconf systemd[1]: bbb-record-core.target: Unit not needed anymore. Stopping.
Apr 09 14:42:53 ubuntuwebconf systemd[1]: Stopped target BigBlueButton recording & playback processing.
-- Subject: Unit bbb-record-core.target has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit bbb-record-core.target has finished shutting down.
 ESCOC
xception: Connection refused
o.ch.SocketChannelImpl.checkConnect(Native Method)
o.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
oss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(NioClientSocketPipelineSink.java:384)
oss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:354)
oss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:276)
oss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
til.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
til.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
ang.Thread.run(Thread.java:748)
nect to FreeSWITCH ESL
51,050 WARN  o.f.esl.client.inbound.Client  - Failed to connect to [127.0.0.1:8021]
51,053 WARN  o.f.esl.client.inbound.Client  -   * reason: {}
xception: Connection refused
o.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_162]
o.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[na:1.8.0_162]
oss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(NioClientSocketPipelineSink.java:384) ~[org.jboss.netty.netty-3.2.1.Fi
oss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:354) ~[org.jboss.netty.ne
oss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:276) ~[org.jboss.netty.netty-3.2.1.Final.
oss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) ~[org.jboss.netty.netty-3.2.1.Final.jar:na]
oss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46) ~[org.jboss.netty.netty-3.2.1.Final.jar:na]
til.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_162]
til.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_162]
ang.Thread.run(Thread.java:748) [na:1.8.0_162]
 to ESL
:51 PM org.jboss.netty.channel.SimpleChannelUpstreamHandler
N, please implement org.freeswitch.esl.client.inbound.InboundClientHandler.exceptionCaught() for proper handling.
xception: Connection refused
o.ch.SocketChannelImpl.checkConnect(Native Method)
o.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
oss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(NioClientSocketPipelineSink.java:384)
oss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:354)
oss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:276)
oss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
til.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
til.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
ang.Thread.run(Thread.java:748)
ing and playback sanity check worker.


l
root@ubuntuwebconf:~# systemctl status freeswitch.service
● freeswitch.service - freeswitch
   Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset: enabled)
   Active: inactive (dead) (Result: exit-code) since Mon 2018-04-09 14:42:22 +06; 3min 49s ago
  Process: 8481 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, status=1/FAILURE)

Apr 09 14:42:22 ubuntuwebconf systemd[1]: Failed to start freeswitch.
Apr 09 14:42:22 ubuntuwebconf systemd[1]: freeswitch.service: Unit entered failed state.
Apr 09 14:42:22 ubuntuwebconf systemd[1]: freeswitch.service: Failed with result 'exit-code'.
Apr 09 14:42:22 ubuntuwebconf systemd[1]: freeswitch.service: Service hold-off time over, scheduling restart.
Apr 09 14:42:22 ubuntuwebconf systemd[1]: Stopped freeswitch.
Apr 09 14:42:22 ubuntuwebconf systemd[1]: freeswitch.service: Start request repeated too quickly.
Apr 09 14:42:22 ubuntuwebconf systemd[1]: Failed to start freeswitch.


Fred Dixon

unread,
Apr 16, 2018, 8:03:44 AM4/16/18
to BigBlueButton-.
Hi Александр,

Can you try setting up BigBlueButton 2.0-beta using


You might be hitting the issue where running FreeSWITCH in a virtual environment, see



Regards,... Fred

--
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-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton
Reply all
Reply to author
Forward
0 new messages