couchbase-server command is used to start, stop, and retrieve status on a non-root-installed server, on any supported Linux platform.
couchbase-server [ [ --start ] [ --status | -s ] [ --stop | -k ] [ --help | -h ] [ --version | -v ] ]
couchbase-server command is used to control aspects of a Couchbase Server that has been installed, on a supported Linux platform, by means of the non-root procedure; as described in Non-Root Install and Upgrade.
This command cannot be used to control a Couchbase Server installed by the standard, package-based install procedure.
--start flag causes the non-root Couchbase Server to start.
This is the default option, and is invoked if no flag is specified.
--status flag returns status on the non-root Couchbase Server, indicating whether it has been started, or has been stopped.
--stop flag causes a running non-root Couchbase Server to stop.
--help flag prints help text to the console.
--version flag prints to the console the version number of the non-root Couchbase Server.
The following examples show how the
couchbase-server command and its parameters can be used.
The examples assumes that the current working directory is
To start a non-root Couchbase Server, enter the following command:
This starts a non-root Couchbase Server. No output is displayed.
To get status on whether a non-root Couchbase Server is running, enter the following command.
If a non-root Couchbase Server is running, the following is displayed:
Couchbase Server is running
If a non-root-installed Couchbase Server is not running, the following is displayed:
Couchbase Server is not running
To stop a non-root Couchbase Server, enter the following command:
This stops a running, non-root Couchbase Server. The output might appear as follows:
2020-06-30 09:33:03 cb_dist: terminating with reason: shutdown
If no non-root Couchbase Server was running, no output is displayed.