我将Redis作为我正在处理的应用程序的一部分运行,但是我从不直接使用它,因此我不熟悉对其进行故障排除。今天,它在使用Ctrl + C退出时开始引发错误,该命令曾经可以运行,但仍然可以在另一台计算机上运行。
错误是:
^C84445:signal-handler (1583959690) Received SIGINT scheduling shutdown...
84445:M 11 Mar 2020 16:48:10.750 # User requested shutdown...
84445:M 11 Mar 2020 16:48:10.750 * Saving the final RDB snapshot before exiting.
84445:M 11 Mar 2020 16:48:10.750 # Failed opening the RDB file dump.rdb (in server root dir /) for saving: Read-only file system
84445:M 11 Mar 2020 16:48:10.750 # Error trying to save the DB, can't exit.
84445:M 11 Mar 2020 16:48:10.750 # SIGTERM received but errors trying to shut down the server, check the logs for more information
我正在运行通过Homebrew安装的v5.0.5。我使用redis-server
启动Redis。我假设这是由于macOS Catalina的安全性更改引起的,但是正如我所说,它可以在另一台同时运行Catalina的计算机上运行。我该如何解决?
如果我使用redis-server /usr/local/etc/redis.conf
运行它,我可以将其关闭,但是我从来不需要使用它。有什么区别?