Mongod Failed to Start

300 views
Skip to first unread message

ragul ragul

unread,
Apr 6, 2019, 6:36:52 AM4/6/19
to BigBlueButton-Setup
Hi,
       I am using bigbluebutton 2.2 , and mongod failed to start 

sudo service mongod status

● mongod.service - High-performance, schema-free document-oriented database
   Loaded: loaded (/etc/systemd/system/mongod.service; disabled; vendor preset:
   Active: failed (Result: exit-code) since Sat 2019-04-06 15:50:58 IST; 14min a
  Process: 25643 ExecStart=/usr/bin/mongod --config /usr/share/meteor/bundle/mon
  Process: 25505 ExecStartPre=/usr/share/meteor/bundle/mongod_start_pre.sh (code
 Main PID: 25643 (code=exited, status=2)

Apr 06 15:50:46 e2e-57-175.e2enetworks.net.in systemd[1]: Starting High-performa
Apr 06 15:50:47 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performan
Apr 06 15:50:52 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performan
Apr 06 15:50:58 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Main p
Apr 06 15:50:58 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Unit e
Apr 06 15:50:58 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Failed
lines 1-14/14 (END)

Regards,
Ragul

Fred Dixon

unread,
Apr 6, 2019, 8:43:10 AM4/6/19
to BigBlueButton-.
Hi Ragul,

> I am using bigbluebutton 2.2 , and mongod failed to start 

What is the output of

  sudo journalctl -u mongod
  dpkg -l | grep mongo
 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.


--
BigBlueButton Developer
@bigbluebutton

ragul ragul

unread,
Apr 6, 2019, 9:27:31 AM4/6/19
to BigBlueButton-Setup
Hi Fred,

       Thanks for your Reply
                These are the output for following commands

  sudo journalctl -u mongod    

OUTPUT:
-- Logs begin at Sat 2019-04-06 15:09:26 IST, end at Sat 2019-04-06 18:51:58 IST. --
Apr 06 15:11:01 e2e-57-175.e2enetworks.net.in systemd[1]: Stopped High-performance, schema-free document-oriented database.
Apr 06 15:11:06 e2e-57-175.e2enetworks.net.in systemd[1]: Starting High-performance, schema-free document-oriented database...
Apr 06 15:11:07 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performance, schema-free document-oriented database.
Apr 06 15:11:12 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performance, schema-free document-oriented database.
Apr 06 15:11:17 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 06 15:11:17 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Unit entered failed state.
Apr 06 15:11:17 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Failed with result 'exit-code'.
Apr 06 15:11:23 e2e-57-175.e2enetworks.net.in systemd[1]: Stopped High-performance, schema-free document-oriented database.
Apr 06 15:11:28 e2e-57-175.e2enetworks.net.in systemd[1]: Starting High-performance, schema-free document-oriented database...
Apr 06 15:11:29 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performance, schema-free document-oriented database.
Apr 06 15:11:34 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performance, schema-free document-oriented database.
Apr 06 15:11:40 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 06 15:11:40 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Unit entered failed state.
Apr 06 15:11:40 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Failed with result 'exit-code'.
Apr 06 15:21:16 e2e-57-175.e2enetworks.net.in systemd[1]: Stopped High-performance, schema-free document-oriented database.
Apr 06 15:45:34 e2e-57-175.e2enetworks.net.in systemd[1]: Starting High-performance, schema-free document-oriented database...
Apr 06 15:45:34 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performance, schema-free document-oriented database.
Apr 06 15:45:36 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 06 15:45:36 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Unit entered failed state.
Apr 06 15:45:36 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Failed with result 'exit-code'.
Apr 06 15:50:40 e2e-57-175.e2enetworks.net.in systemd[1]: Stopped High-performance, schema-free document-oriented database.
Apr 06 15:50:46 e2e-57-175.e2enetworks.net.in systemd[1]: Starting High-performance, schema-free document-oriented database...
Apr 06 15:50:47 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performance, schema-free document-oriented database.
Apr 06 15:50:52 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performance, schema-free document-oriented database.
Apr 06 15:50:58 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 06 15:50:58 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Unit entered failed state.
Apr 06 15:50:58 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Failed with result 'exit-code'.
Apr 06 17:23:29 e2e-57-175.e2enetworks.net.in systemd[1]: Stopped High-performance, schema-free document-oriented database.
Apr 06 17:23:35 e2e-57-175.e2enetworks.net.in systemd[1]: Starting High-performance, schema-free document-oriented database...
Apr 06 17:23:36 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performance, schema-free document-oriented database.
Apr 06 17:23:41 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performance, schema-free document-oriented database.
Apr 06 17:23:47 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 06 17:23:47 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Unit entered failed state.
Apr 06 17:23:47 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Failed with result 'exit-code'.
Apr 06 17:32:35 e2e-57-175.e2enetworks.net.in systemd[1]: Stopped High-performance, schema-free document-oriented database.
Apr 06 17:32:40 e2e-57-175.e2enetworks.net.in systemd[1]: Starting High-performance, schema-free document-oriented database...
Apr 06 17:32:41 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performance, schema-free document-oriented database.
Apr 06 17:32:46 e2e-57-175.e2enetworks.net.in systemd[1]: Started High-performance, schema-free document-oriented database.
Apr 06 17:32:51 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 06 17:32:51 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Unit entered failed state.
Apr 06 17:32:51 e2e-57-175.e2enetworks.net.in systemd[1]: mongod.service: Failed with result 'exit-code'.

  dpkg -l | grep mongo

OUTPUT:
ii  mongodb-org                           4.0.8                                      amd64        MongoDB open source document-oriented database system (metapackage)
ii  mongodb-org-mongos                    4.0.8                                      amd64        MongoDB sharded cluster query router
ii  mongodb-org-server                    4.0.8                                      amd64        MongoDB database server
ii  mongodb-org-shell                     4.0.8                                      amd64        MongoDB shell client
ii  mongodb-org-tools                     4.0.8                                      amd64        MongoDB tools

 bbb-conf --check

OUTPUT:

BigBlueButton Server 2.2.0-beta3 (835)
                    Kernel version: 4.4.0-127-generic
                      Distribution: Ubuntu 16.04.6 LTS (64-bit)
                            Memory: 6007 MB
                         CPU cores: 1

/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: http://101.53.157.175
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true

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

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

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 101.53.157.175
                   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: :7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: 101.53.157.175
                 playback_protocol: http
                            ffmpeg: 4.1.1-0york1~16.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: 101.53.157.175

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

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)
                             build: 349
                        kurentoUrl: ws://101.53.157.175/bbb-webrtc-sfu
                  enableListenOnly: true


** 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
#
#
# 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

Regards,
Ragul

Fred Dixon

unread,
Apr 6, 2019, 1:02:11 PM4/6/19
to BigBlueButton-.
Hi Ragul,

Just checking one of our servers and we are running mongod 3.4.20

dpkg -l| grep mongo
ii  mongodb-org          3.4.20    amd64        MongoDB open source document-oriented database system (metapackage)
ii  mongodb-org-mongos   3.4.20    amd64        MongoDB sharded cluster query router
ii  mongodb-org-server   3.4.20    amd64        MongoDB database server
ii  mongodb-org-shell    3.4.20    amd64        MongoDB shell client
ii  mongodb-org-tools    3.4.20    amd64        MongoDB tools

Try installing the recommended version


and let us know if that gets you going.  Also, you can use bbb-install.sh to setup your server (it will automatically install the correct version of mongo).


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.

ragul ragul

unread,
Apr 7, 2019, 3:12:15 AM4/7/19
to BigBlueButton-Setup
Hi Fred,


            Thanks , I have tried what you have suggested , and now html5 works in our server , but while joining audio we choose microphone on that time we
get 
 
error:1007 ICE negotiation failed and  error:1007 ICE negotiation timedout . Kindly help me to overcome this issue.

Regards,
Ragul

Fred Dixon

unread,
Apr 7, 2019, 7:46:49 AM4/7/19
to BigBlueButton-.
Hi Ragul,

>  but while joining audio we choose microphone on that time we get 

Have you setup your BigBlueButton server to use a fully qualified domain name or only IP address?  Can you test against


and let us know if you can connect via audio to this server.


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.

ragul ragul

unread,
Apr 8, 2019, 12:40:08 AM4/8/19
to BigBlueButton-Setup
Hi  Fred,

          > Have you setup your BigBlueButton server to use a fully qualified domain name or only IP address?

                            We use only IP address , and while testing   https://test.bigbluebutton.org/ it works fine.

Regards,
Ragul

                 

Fred Dixon

unread,
Apr 9, 2019, 7:39:02 PM4/9/19
to BigBlueButton-.
Hi Ragul,

> We use only IP address , and while testing   https://test.bigbluebutton.org/ it works fine.

Recommend setting up your server with bbb-install.sh as it can automate setting up a SSL certificate with your server.  You'll need to obtain a fully qualified domain name that points to your server, but once you have that, bbb-install.sh can setup the SSL certificate from Let's Encrypt.  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.
Reply all
Reply to author
Forward
0 new messages