Starting and stopping MongoDB

Before you begin

Configuring MongoDB for Sametime

About this task

When you complete the prerequisite task, a service is created. Use the service to start and stop the MongoDB server.

Windows:

  1. Navigate to the Control Panel and open the Services.
  2. Locate the MongoDB service from the list and use the start and stop buttons.

Linux:

  1. Services are started and stopped using a command line.
  2. To start the server, enter the command:

    service mongod start

  3. To stop the server, enter the command:

    service mongod stop