mac redis安装过程中 关闭服务redis报错 redis (error) ERR Errors trying to SHUTDOWN. Check logs.
2017-10-02 08:29
465 查看
小编这几日刚入手redis 安装过程一直是一帆风顺,无奈在最后关闭redis的服务的时候,redis服务报错redis (error) ERR Errors trying to SHUTDOWN. Check logs.,怎么关都关不掉,百度一番,信息很少,无奈多次尝试,终于解决。方法如下:
打开redis安装目录下的redis.conf找到
# The working directory.
#
# The DB will be written inside this directory, with the filename specified
# above using the 'dbfilename' configuration directive.
#
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
dir ./
这一段
把die ./改为相应的目录,如"dir /home/distance/redis_dbfiles/"(这里需要注意最后的斜杠不能忘记,如果缺失斜杠可能会解析为文件而非目录),保存。
参考文献:
redis的安装: http://www.cnblogs.com/chinesern/p/5580665.html
问题的解决:http://www.cnblogs.com/distanceN/p/6243616.html
打开redis安装目录下的redis.conf找到
# The working directory.
#
# The DB will be written inside this directory, with the filename specified
# above using the 'dbfilename' configuration directive.
#
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
dir ./
这一段
把die ./改为相应的目录,如"dir /home/distance/redis_dbfiles/"(这里需要注意最后的斜杠不能忘记,如果缺失斜杠可能会解析为文件而非目录),保存。
参考文献:
redis的安装: http://www.cnblogs.com/chinesern/p/5580665.html
问题的解决:http://www.cnblogs.com/distanceN/p/6243616.html
相关文章推荐
- reidis关闭服务报错误:redis shutdown (error) ERR Errors trying to SHUTDOWN. Check logs.解决办法
- redis关闭服务失败报错:(error) ERR Errors trying to SHUTDOWN. Check logs.
- redis 报(error) ERR Errors trying to SHUTDOWN. Check logs
- redis shutdown (error) ERR Errors trying to SHUTDOWN. Check logs.
- #Redis Error #MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details a
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- How to collect TrustZone debug logs and check the meaning of error code in the logs
- mysql 安装过程中的错误:my-template.ini could not be processed and written to XXX\my.ini.Error code-1
- GitHub安装出现An error occurred trying to download...错误
- mac下如何安装并启动关闭zookeeper和redis
- 报错:[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQ
- Unexpected error occurred while trying to check for group existence.
- CentOS(Linux) - SVN使用笔记(一) - 安装SVN过程及开启和关闭svn服务指令
- Mac系统上安装redis服务
- windows7 x86_64系统安装xampp后apache无法启动,报Error: Apache shutdown unexpectedlyThis may be due to a blocked
- MAC无法安装ruby-debug-ide gems包(ERROR: Failed to build gem native extension)的解决办法
- mac下安装mysql-python包报unable to execute llvm-gcc-4.2: No such file or directory error: command 'llvm-gcc-4.2' failed with exit status 1解决方法
- 创建存储过程错误(已解决):Error Code : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ver
- 在Mac系统上安装redis服务