Azmy
Azmy

Reputation: 203

Cannot Start Sentinel

Getting below error when starting sentinel. anyone can help, please.

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 69
>>> 'sentinel monitor My_Master xx.xx.xxx.xxx 61010 2'
sentinel directive while not in sentinel mode

Upvotes: 3

Views: 2202

Answers (1)

for_stack
for_stack

Reputation: 22936

You need to add a command line argument, i.e. --sentinel, to tell Redis to start in sentinel mode:

redis-server sentinel.conf --sentinel

Upvotes: 4

Related Questions