[Solved] (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.

n error occurred while running Redis today. The error message is as follows:

(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.

Redis is configured to save database snapshots, but it currently cannot be persisted to the hard disk. The command used to modify the collection data cannot be used. Please check the detailed error information in the Redis log.

 

the reason:

Forcibly shutting down Redis snapshots results in inability to persist.

 

solution:

After running the config set stop-writes-on-bgsave-error no command , close the configuration item stop-writes-on-bgsave-error to solve the problem.

root@ubuntu:/usr/local/redis/bin# ./redis-cli
127.0.0.1:6379> config set stop-writes-on-bgsave-error no
OK
127.0.0.1:6379> lpush myColour “red”
(integer ) 1

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *