Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-aof --fix <filename>

服务器异常重启之后,在 启动 redis 时,redis-server不断的从日志文件加载数据到内存,到了6G左右时,redis-server 又挂了,再次启动重复这个过程。查看日志,发现报错:

处理方法:redis-check-aof --fix appendonly_6379.aof

然后启动:redis-server:

redis-server /etc/redis-6379.conf &

ok,搞定。

原文地址:https://www.cnblogs.com/digdeep/p/12642750.html

时间: 2024-10-16 18:59:56

Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-aof --fix <filename>的相关文章

redis报错 Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check

redis无法启动,aop文件损坏 运行:   /usr/local/bin/redis-check-aof --fix appendonly.aof 不知道存放路径的可以查找find / -name redis-check-aof 参考来源:https://blog.csdn.net/wang0112233/article/details/86438789 原文地址:https://www.cnblogs.com/weidaijie/p/12122875.html

The Portable Executable File Format from Top to Bottom(每个结构体都非常清楚)

The Portable Executable File Format from Top to Bottom Randy KathMicrosoft Developer Network Technology Group Created: June 12, 1993 Click to open or copy the files in the EXEVIEW sample application for this technical article. Click to open or copy t

3ds Max File Format (Part 1: The outer file format; OLE2)

The 3ds Max file format, not too much documentation to be found about it. There are some hints here and there about how it’s built up, but there exists no central documentation on it. Right now we are in the following situation. A few thousand of max

Unknown command &#39;flushall&#39; reading the append only file

为了redis cluster禁用一些危险命令,使用的方法都是在配置文件中增加以下内容: rename-command flushall hufuflushall rename-command flushdb hufuflushdb rename-command keys hufukeys 这就带来了问题,在服务器以外重启后,会造成cluster中redis服务启动不了,而且还会报" Unknown command 'flushall' reading the append only file&

JVMS Specification(3)-The class File Format

Subsections 3 The class File Format 3.1 The ClassFile Structure 3.2 The Internal Form of Names 3.2.1 Binary Class and Interface Names 3.2.2 Unqualified Names 3.3 Descriptors and Signatures 3.3.1 Grammar Notation 3.3.2 Field Descriptors 3.3.3 Method D

iTunesDB File Format 文件格式

为了有兴趣研究的朋友留下记录方便后人! 开始因为不爽ipod class歌曲去重手动搜索歌曲问题一直纠结,于是萌发想自己动手写个工具自动去重,但是却没有能导出歌曲列表的功能! 于是就从ipod里面找希望能看到什么配置文件或者DB是存着这些歌曲列表信息的文件:就找到了字眼DB文件"iTunesDB" 接着开始找资料!零散的资料就如下了! 关于ipod的文件类型说明 http://blog.chinaunix.net/uid-7773715-id-2044084.html 基础信息 iPo

dnSpy PE format ( Portable Executable File Format)

Portable Executable File Format PE Format  微软官方的 What is a .PE file in the .NET framework? [closed] The PE file you are talking about is the "Portable Executable" format. Almost every EXE and DLL on the Windows platform is formatted in PE format

ShopEx访问提示Incompatible file format: The encoded file has format major ID 2, whereas the Loader expects 4

今天测试了下ShopEx程序,但是ShopEx安装时(程序放在public_html目录下的test目录中)遇到了问题,提示错误如下:Fatal error: Incompatible file format: The encoded file has format major ID 2, whereas the Loader expects 4 in /home/cpusername/public_html/test/core/include_v5/defined.php on line 0检

Java class file format specfication

Java class file format spec Link: https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html Here is an example: -----------------------------------------------------java source file---------------------------------------------------------public