Error: Could not connect to the configured hostname/IP address

2,863 views
Skip to first unread message

Alex Nyamweya

unread,
Jul 1, 2018, 9:39:54 PM7/1/18
to BigBlueButton-Setup

Hello,

 

I did the install of BigBlueButton as shown on http://docs.bigbluebutton.org/install/install.html. When I run bbb-conf --check, here are the problems I'm getting.

 

** Potential problems described below **

# Warning: API URL IPs do not match host:

#

#                                IP from ifconfig: xx.xx.xx.xx

# /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: mydomainname.com

 

#

# 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 connect to the configured hostname/IP address

#

#    http://mydomainname.com

 

#

# If your BigBlueButton server is behind a firewall, see FAQ.

 

# Error: FreeSWITCH is listening on IP address <ip-address-1> for SIP calls, but

# The IP address <ip-address-2> set bbb.set.app.ip.

#

 

# Warning: The API demos are installed and accessible from:

#

#    http://mydomainname.com/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:

#

#    sudo apt-get purge bbb-demo


# Warning: The client self-check is installed and accessible from:

#

#    http://mydomainname.com/check

#

 

# Error: Unable to reach default URL for presentation:

#

#    http://mydomainname.com/default.pdf

 

Note that http://mydomainname.com is just a placeholder and not my actual domain name. I’m fairly new to BigBlueButton so any help will be appreciated. When I go to http://mydomainname.com on my browser, I’m getting the Welcome to Nginx page. When I go the demo page (http://mydomainname.com/demo/demo1.jsp ) I’m getting the 404 not found page. The same applies to when I go to the self-check page (http://mydomainname.com/check) and default URL for presentation (http://mydomainname.com/default.pdf). I tried to use bbb-conf –setip mydomainname.com but I’m still getting the same errors when I use bbb-conf --check. I made sure that the domain name resolves to the IP address in the warning (which is also <ip-address-2>). I’m not sure if it has anything to do with my firewall since I’m able to ping the IP address from an external device. Also, note that I did change the files according to this link http://docs.bigbluebutton.org/install/install.html#configuring-bigbluebutton-behind-a-firewall and I noticed that was when the FreeSWITCH error started happening. I reverted the files back to their defaults and I have been getting the FreeSWITCH error since then.


Fred Dixon

unread,
Jul 2, 2018, 6:28:56 AM7/2/18
to BigBlueButton-.
It might be that you have a public/private IP setup.  Can you try using the bbb-install.sh script, see


as it can automate the configuration of the network (except any changes to your firewall/security group).  It can also setup a Let's Encrypt certificate so you can use


Try the above and let us know if it gets you going.


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-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@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
Message has been deleted

Alex Nyamweya

unread,
Jul 2, 2018, 8:54:08 AM7/2/18
to BigBlueButton-Setup
Hello Fred,

I tried to run the following command as shown on the page you sent to me:
wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v xenial-200

But I'm getting this message:
bbb-install: You must unisntall apache2 first

I tried uninstalling apache2 on my server by using the following commands:
$ sudo apt-get remove --purge apache2 apache2-utils
$ sudo rm -rf /etc/apache2

I even used dpkg -l | grep -q apache2 to check if there are any apache2 packages and nothing shows up.

Alex Nyamweya

unread,
Jul 2, 2018, 9:22:13 AM7/2/18
to BigBlueButton-Setup
Never mind. I got the script to run but I'm still getting the same errors when I run bbb-conf --check.

bbb-conf --check

BigBlueButton Server 2.0.0-RC1 (1001)
                    Kernel version: 4.13.0-45-generic
                      Distribution: Ubuntu 16.04.4 LTS (64-bit)
                            Memory: 4039 MB

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

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 69.142.118.153
                              port: 80, [::]:80
                    bbb-client dir: /var/www/bigbluebutton

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

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                               url: 69.142.118.153

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: 69.142.118.153

/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: 69.142.118.153
                            ffmpeg: 3.4.2



** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 10.0.2.15
#   /etc/nginx/sites-available/bigbluebutton: 69.142.118.153

# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 10.0.2.15
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: 69.142.118.153

# Warning: The installed ffmpeg version '3.4.2' is not recommended.
# Recommend you update to the 4.0.x version of ffmpeg.  To upgrade, do the following
#
#        sudo apt-get install software-properties-common
#        sudo add-apt-repository ppa:jonathonf/ffmpeg-4
#        sudo apt-get update
#        sudo apt-get dist-upgrade

#

....................
# Error: Could not connect to the configured hostname/IP address
#

#
# If your BigBlueButton server is behind a firewall, see FAQ.

# 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:
#
#    sudo apt-get purge bbb-demo

# Warning: The client self check is installed and accessible from:
#
#    http://69.142.118.153/check

#

# Error: Unable to reach default URL for presentation:
#
#    http://69.142.118.153/default.pdf
#
# Check value for beans.presentationService.defaultUploadedPresentation in
#   /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties

Fred Dixon

unread,
Jul 2, 2018, 11:35:40 AM7/2/18
to BigBlueButton-.
Hi Alex,

> bbb-install: You must unisntall apache2 first

You need to install BigBlueButton 2.0 on a clean server -- one that does not have prior web applications installed (such as Apache2).  

Is it an option for you to start over with a new Ubuntu 16.04 64-bit server that meets the minimal requirements, see



Otherwise, your likely going to encounter a lot of resource conflicts that introduce subtle errors.  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-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Alex Nyamweya

unread,
Jul 2, 2018, 2:29:50 PM7/2/18
to BigBlueButton-Setup
Hello Fred,

Unfortunately, no it is not an option to start on a clean server. Is there another way I could work around these errors on my existing server? Also how do I fix this freeswitch error I got from my first post? The bbb-conf --check in my first post comes from my actual server and everything is the same with the exception of

# Error: FreeSWITCH is listening on IP address <ip-address-1> for SIP calls, but

# The IP address <ip-address-2> set bbb.set.app.ip.


The bbb-conf --check on my second post was from my VM on my desktop. I ran the script on a new virtual machine on my desktop and it works fine although when I uninstall bbb-demo I get the HTTP 404 not found page when I try to join a meeting.

Thank you,
Alex Nyamweya

Fred Dixon

unread,
Jul 2, 2018, 9:38:31 PM7/2/18
to BigBlueButton-.
Hi Alex,

> Unfortunately, no it is not an option to start on a clean server.

It makes it harder for others to volunteer their time to help out on such a setup as the resource conflicts are subtle and may not be immediately apparent.

> I ran the script on a new virtual machine on my desktop and it works fine although when I uninstall bbb-demo I get the HTTP 404 not found page when I try to join a meeting.

That's the correct result. 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-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Alex Nyamweya

unread,
Jul 3, 2018, 12:08:11 AM7/3/18
to BigBlueButton-Setup
Hello Fred,

I'll try to get the script running on a clean server. If anything comes up, I'll let you know. Thank you for your help so far!

Thank you,
Alex Nyamweya

Alex Nyamweya

unread,
Jul 4, 2018, 7:51:30 PM7/4/18
to BigBlueButton-Setup

Hello Fred,

I tried running the script on a clean server and I'm getting the following errors:

** Potential problems described below **
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: xx.xx.xx.xx
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: channel1.aquadamediacommons.com

....................# Error: red5 log files not found

# Unavailable red5 logs (/usr/share/red5/log):   bigbluebutton.log red5.log sip.log video.log screenshare-slf.log

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
#
# Error: The following log file was not found
#     /usr/share/red5/log/sip.log

#           No /usr/share/red5/log/bigbluebutton.log
...................
# Error: Could not connect to the configured hostname/IP address
#
#
# If your BigBlueButton server is behind a firewall, see FAQ.

# 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:
#
#    sudo apt-get purge bbb-demo

# Error: Unable to reach default URL for presentation:
#
#
# Check value for beans.presentationService.defaultUploadedPresentation in
#   /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties
/usr/bin/bbb-conf: line 493: echo: write error: broken pipe
/usr/bin/bbb-conf: line 493: echo: write error: broken pipe
/usr/bin/bbb-conf: line 493: echo: write error: broken pipe
/usr/bin/bbb-conf: line 493: echo: write error: broken pipe
/usr/bin/bbb-conf: line 493: echo: write error: broken pipe
/usr/bin/bbb-conf: line 493: echo: write error: broken pipe
/usr/bin/bbb-conf: line 493: echo: write error: broken pipe
/usr/bin/bbb-conf: line 493: echo: write error: broken pipe

# Error: Detected some processes have not started correctly
#
#   freeswitch: inactive
kurento-media-server: inactive\
#

I noticed that the error about the red5 log files appeared after I ran bbb-conf --clean. Also I can't get freeswitch to run. When I use systemctl restart freeswitch I get the following error message:
Job for freeswitch.service failed because the control process exited with error code. See "systemctl status freeswitch.service" and "journalctl -xe" for details.

Here is the output for 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 Wed 2018-07-04 00:45:36 EDT; 18h ago
    Process: 1663 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, status=1/FAILURE)

Jul 04 00:45:36 (server name) systemd[1]: Failed to start freeswitch.
Jul 04 00:45:36 (server name) systemd[1]: freeswitch.service: Unit entered failed state.
Jul 04 00:45:36 (server name) systemd[1]: freeswitch.service: Failed with result 'exit-code'. Jul 04 00:45:36 (server name) systemd[1]: freeswitch.service: Server hold-off time over, scheduling restart. Jul 04 00:45:36 (server name) systemd[1]: Stopped freeswitch. Jul 04 00:45:36 (server name) systemd[1]: freeswitch.service: Start request repeated too quickly.
Jul 04 00:45:36 (server name) systemd[1]: Failed to start freeswitch.

Here is the output of
journalctl -u freeswitch.service:

Jul 04 00:45:04 (server name) systemd[1]: Starting freeswitch...
Jul 04 00:45:28 (server name) freeswitch [1178]: 1513 Backgrounding.
Jul 04 00:45:34 (server name) systemd[1]: freeswitch.service: Control process exited, code=exited status=1
Jul 04 00:45:34 (server name) systemd[1]: Failed to start freeswitch.
Jul 04 00:45:34 (server name) systemd[1]: freeswitch.service: Unit entered failed state.
Jul 04 00:45:34 (server name) systemd[1]: freeswitch.service: Failed with result 'exit-code'. Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Server hold-off time over, scheduling restart. Jul 04 00:45:35 (server name) systemd[1]: Stopped freeswitch.

Jul 04 00:45:35 (server name) systemd[1]: Starting freeswitch...
Jul 04 00:45:35 (server name) freeswitch [1611]: 1612 Backgrounding.
Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Control process exited, code=exited status=1
Jul 04 00:45:35 (server name) systemd[1]: Failed to start freeswitch.
Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Unit entered failed state.
Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Failed with result 'exit-code'. Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Server hold-off time over, scheduling restart. Jul 04 00:45:35 (server name) systemd[1]: Stopped freeswitch.

Jul 04 00:45:35 (server name) systemd[1]: Starting freeswitch...
Jul 04 00:45:35 (server name) freeswitch [1631]: 1632 Backgrounding.
Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Control process exited, code=exited status=1
Jul 04 00:45:35 (server name) systemd[1]: Failed to start freeswitch.
Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Unit entered failed state.
Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Failed with result 'exit-code'. Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Server hold-off time over, scheduling restart. Jul 04 00:45:35 (server name) systemd[1]: Stopped freeswitch.

Jul 04 00:45:35 (server name) systemd[1]: Starting freeswitch...
Jul 04 00:45:35 (server name) freeswitch [1639]: 1640 Backgrounding.
Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Control process exited, code=exited status=1
Jul 04 00:45:35 (server name) systemd[1]: Failed to start freeswitch.
Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Unit entered failed state.
Jul 04 00:45:35 (server name) systemd[1]: freeswitch.service: Failed with result 'exit-code'. Jul 04 00:45:36 (server name) systemd[1]: freeswitch.service: Server hold-off time over, scheduling restart. Jul 04 00:45:36 (server name) systemd[1]: Stopped freeswitch.


Fred Dixon

unread,
Jul 4, 2018, 10:10:25 PM7/4/18
to BigBlueButton-.
Hi Alex,

Can you post the full contents of 

  sudo bbb-conf --check

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

Alex Nyamweya

unread,
Jul 4, 2018, 11:40:04 PM7/4/18
to BigBlueButton-Setup
Ok here it is:

BigBlueButton Server 2.0.0-RC1 (1414)
                    Kernel version: 4.4.0-130-generic

                      Distribution: Ubuntu 16.04.4 LTS (64-bit)
                            Memory: 30882 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): rtmp://channel1.aquadamediacommons.com
                                 Red5: channel1.aquadamediacommons.com
           useWebrtcIfAvailable: true

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

/etc/nginx/sites-available/bigbluebutton (nginx)                         
                        server name: channel1.aquadamediacommons.com
                                    port: 80, [::]:80
                       bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host:
channel1.aquadamediacommons.com

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                                      url: channel1.aquadamediacommons.com

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

/usr/local/bigbluebutton/core/
scripts/slides.yml (record and playback)
                     playback host:
channel1.aquadamediacommons.com


/usr/local/bigbluebutton/core/bbb-webrtc-sfu/config/default.yml (Kurento)
                           kurentoUrl: ws://channel1.aquadamediacommons.com:8888/kurento
                             kurentoIp: xx.xx.xx.xx
                     localIpAddress: xx.xx.xx.xx (same as kurentoIp)
            recordScreenSharing: true
                   recordWebcams: true
                                   Node: v8.11.3
                            mongoDB: v3.4.15

Alex Nyamweya

unread,
Jul 5, 2018, 2:39:33 PM7/5/18
to BigBlueButton-Setup
I think I figured it out. I was able to install BigBlueButton on another clean server (this time I didn't install anything before bigbluebutton). It didn't work before because I had it setup as a LAMP server before I installed BigBlueButton. I didn't realize it was conflicting with the LAMP Server installation. Thank you very much for your help Fred! If anything comes up, I'll let you know.
Reply all
Reply to author
Forward
0 new messages