Skip to main content
MISCONF Errors writing to the AOF file: Bad file descriptor

ERROR: MISCONF Errors writing to the AOF file: Bad file descriptor

确认问题根源

尝试远程连接到redis服务器

# 如果你能直接登录该服务器,则直接登陆服务器,进入redis的客户端
$ redis-cli -h <redis-server-ip> -p <redis-port> -a <password>

# 在服务端直接尝试写入数据
$ 127.0.0.1:6379> set key value EX 60
MISCONF Errors writing to the AOF file: Bad file descriptor

# 至此确认是redis服务端的问题


MarshioAbout 1 minredistrouble shooting