Start-up and shutdown on Windows

Start-up and shutdown on Windows

Start-up and shutdown scripts are used to manually start up or shut down Couchbase Server.

On Windows, Couchbase Server is installed as a Windows service. You can use the Services tab within the Windows Task Manager to start and stop Couchbase Server.

You will need a power user or administrator privileges, or have separately granted rights to manage services to start and stop Couchbase Server. By default, the service automatically starts when the machine boots.

Couchbase Server can be started and stopped via Windows Task Manager, Windows system net command, and Couchbase-supplied .bat scripts.

Start and stop Couchbase Server via Windows Task Manager

To manually start the service from the Windows interface:
  1. Open the Windows Task Manager and select the Services tab to open the Services management console.

    Alternatively, select the Start , select Run and then type Services.msc to open the Services management console.

  2. Locate the Couchbase Server service and right-click.
  3. Select Start or Stop as appropriate.
Note: You can also alter the configuration so that the service is not automatically started during boot.

Start and stop Couchbase Server via Windows system net command

To start and stop Couchbase Server using net :

net start CouchbaseServer
net stop CouchbaseServer

Start and stop Couchbase Server via Couchbase-supplied .bat scripts

The Couchbase-supplied start and stop scripts are provided in the standard installation in the bin directory.

To start and stop Couchbase Server, use the scripts located in:

C:\Program Files\Couchbase\Server\bin\service_start.bat

C:\Program Files\Couchbase\Server\bin\service_stop.bat