Help Center/ GeminiDB/ GeminiDB Redis API/ FAQs/ Database Usage/ What Do I Do If the Error "ERR Unknown Command Sentinel" Is Displayed?
Updated on 2024-10-08 GMT+08:00

What Do I Do If the Error "ERR Unknown Command Sentinel" Is Displayed?

Scenarios

When SENTINEL commands are executed on a GeminiDB Redis instance, the error message "ERR unknown command sentinel" may be displayed.

Error Cause

If the value of CompatibleMode of a GeminiDB Redis cluster instance is not 3 or the value of CompatibleMode of a primary/standby GeminiDB Redis instance is not 2, executing SENTINEL commands is not allowed.

Solution

  1. Log in to the GeminiDB console.
  2. In the service list, choose Databases > GeminiDB Redis API.
  3. On the Instances page, click the instance whose specifications you want to change. The Basic Information page is displayed.
  4. In the navigation pane on the left, choose Parameters.
  5. Change the value of CompatibleMode and click Save.

    • For a cluster DB instance, change the value of CompatibleMode to 3.
    • For a primary/standby DB instance, change the value of CompatibleMode to 2.
    Figure 1 Changing parameters