解决(error) ERR Errors trying to SHUTDOWN. Check logs.问题~

简介: 解决(error) ERR Errors trying to SHUTDOWN. Check logs.问题~

该问题出现在我在使用shutdown关闭redis服务器时,出现该问题的原因是由于配置文件的日志文件位置未配置或者缺少日志文件

我自己出现该问题是因为缺少日志文件,解决步骤如下所示:

第一步:在该目录下使用touch命令创建日志文件

第二步:将日志文件配置到redis.conf中

配置完成后需要重启服务器

相关实践学习
日志服务之使用Nginx模式采集日志
本文介绍如何通过日志服务控制台创建Nginx模式的Logtail配置快速采集Nginx日志并进行多维度分析。
相关文章
|
8月前
使用errors.Wrapf()代替log.Error()
使用errors.Wrapf()代替log.Error()
35 0
|
9月前
ERR Errors trying to SHUTDOWN. Check logs.
ERR Errors trying to SHUTDOWN. Check logs.
45 0
|
11月前
|
关系型数据库 MySQL C++
Error:fatal error C1010: unexpected end of file while looking for precompiled head
Error:fatal error C1010: unexpected end of file while looking for precompiled head
84 0
unknown type name err_status_t; did you mean srtp_err_status_t/err_status_ok/err_status_replay_fail
unknown type name err_status_t; did you mean srtp_err_status_t/err_status_ok/err_status_replay_fail
132 0
|
应用服务中间件 nginx
[error] OpenEvent(“Global\ngx_reload_11812“) failed (2: The system cannot find the file specified
[error] OpenEvent(“Global\ngx_reload_11812“) failed (2: The system cannot find the file specified
ERROR node.Application: A fatal error occurred while running
ERROR node.Application: A fatal error occurred while running
|
C++
ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1:
209 0
ERROR: Command errored out with exit status 1:
|
Java 应用服务中间件 Windows
|
SQL 监控
backup log is terminating abnormally because for write on file failed: 112(error not found)
昨天遇到一个案例,YourSQLDba做事务日志备份时失败,检查YourSQLDba输出的错误信息如下:   yMaint.backups backup log [gewem] to disk = 'M:\DB_BACKUP\LOG_BACKUP\xxxx_[2016-11-22_01h11m05_Tue]_logs.
1203 0