Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Connection redis error MISCONF Redis is configured to save RDB s

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Connection redis error MISCONF Redis is configured to save RDB snapshotsdate: Mon Nov 11 16:11:24 CST 2019 author: Zhang Shoufu program error report is as follows

Redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

Translation:

Redis.exceptions.ResponseError:MISCONF Redis is configured to save RDB snapshots, but cannot currently be persisted on disk. Commands that may modify the dataset are disabled because this instance is configured to report errors during writes when the RDB snapshot fails (the stop-writes-on-bgsave-error option). Please check the Redis log for more information about RDB errors.

Analysis and treatment

From the error message above, we can clearly see that the trial redis encountered a problem when writing to disk during the RDB persistence operation. There are probably the following situations:

1, the disk is damaged (rarely)

2. The disk for writing persistent data is full.

3, disk access is not available (for remote storage)

4. Insufficient access to the disk (should be the most common)

We checked the redis log on redis and found that it was consistent with the fourth point above, so we modified the permissions of the directory, and then the problem was solved.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report