ERR Errors trying to SHUTDOWN. Check logs.

本文涉及的产品
日志服务 SLS,月写入数据量 50GB 1个月
简介: ERR Errors trying to SHUTDOWN. Check logs.

使用shutdown命令报错:

ERR Errors trying to SHUTDOWN. Check logs.

原因:

  • 我们的日志文件没有配置
  • 执行命令,会进行保存,但是权限不够,也就是要给rbd文件赋予权限。

解决办法:

1、进入我们的redis.conf配置文件,找到logfile设置日志文件路径,配置日志的路径 usr/local/bin/redis-log.log,然后保存退出

2、授予权限信息

# 给日志文件授予权限
chmod 777 /usr/local/bin/redis-log.log
# 文件夹授予权限
chmod 777 /usr/local/bin/
# 给rdb文件授予权限
chmod 777 /usr/local/bin/dump.rdb

结果:

相关实践学习
日志服务之使用Nginx模式采集日志
本文介绍如何通过日志服务控制台创建Nginx模式的Logtail配置快速采集Nginx日志并进行多维度分析。
目录
相关文章
|
5月前
|
JSON 数据格式
【ERROR】Error: transaction invalidated with status (ENDORSEMENT_POLICY_FAILURE)
【ERROR】Error: transaction invalidated with status (ENDORSEMENT_POLICY_FAILURE)
45 0
|
网络安全 Docker 容器
failed to create network error response from daemon filed to setup ip tables问题
failed to create network error response from daemon filed to setup ip tables问题
202 0
|
6月前
|
NoSQL Redis
解决(error) ERR Errors trying to SHUTDOWN. Check logs.问题~
解决(error) ERR Errors trying to SHUTDOWN. Check logs.问题~
172 0
|
关系型数据库 MySQL 数据库
ERROR! MariaDB is running but PID file could not be found
在CentOS7.6上安装了MariaDB10.3,采用的yum方式安装的,用命令查看数据库的状态会报错误
159 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
|
应用服务中间件 nginx
[error] 17755#0: *58522 readv() failed (104: Connection reset by peer) while reading upstream
[error] 17755#0: *58522 readv() failed (104: Connection reset by peer) while reading upstream
5071 0
|
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.
1235 0