Starting RethinkDB

To start your RethinkDB instance, open a terminal window and run the following command:

sudo /etc/init.d/rethinkdb start

Note

If you're running an OS that doesn't support the init start-stop daemon, such as OS X, you'll have to start RethinkDB by running the rethinkdb command followed by the appropriate command-line options. RethinkDB must be run with superuser privileges.

If the database starts up successfully, you will get an output similar to this:

rethinkdb: instance1: Starting instance. (logging to `/var/lib/rethinkdb/instance1/data/log_file')

As you can see from the previous output, RethinkDB gives you the path of the log file. If, by any chance, the database refuses to start, check the log for any error. In a clean installation ...

Get Getting Started with RethinkDB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.