Redis 服务没有自动运行

标签 redis windows-server-2012

我在 Windows Server 2012 上安装了 redis 服务。它在任务管理器中,但它已停止并且我无法运行它。 如果我手动启动 redis-server.exe 文件,它就会工作。 我可以做些什么让它自动工作?

最佳答案

您没有指定您正在运行的 Redis 的 Windows 端口(没有官方端口),但是 MSOpenTech's是目前为止最新的,相应的RedisWatcher服务将使其保持正常运行。来自 RedisWatcher 自述文件:

RedisWatcher is an application that will run one or more instances of redis-server. If the redis-server process terminates, then RedisWatcher will restart it.

RedisWatcher is installed as a Windows service. It can also run as an application by passing 'console' as a command line argument.

无论出于何种原因,他们没有在最新的 (2.6) 分支中为观察者服务提供二进制文件,但该服务的 2.4 版本是兼容的,并且他们有相应的二进制文件。 See here有关启动和运行它的详细说明。

关于Redis 服务没有自动运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17986914/

相关文章:

Windows Server 2012 上的 JavaService.exe

c++ - _getch() 在 Windows Server 2012 上不起作用

excel - Windows 任务计划程序 - 打开 Excel 文件 "How do you want to open this file"

sql-server - 错误 = [Microsoft][SQL Server 的 ODBC 驱动程序 11]警告 : BCP import with a format file will convert empty strings in delimited columns to NULL

windows - 系统重启后 Redis 集群节点断开连接(Windows)

mysql - Deis 工作流支持非 12 因素服务

node.js - ioredis 错误 : connect ETIMEDOUT - Can't get connection to local redis server

java - 如何将 netty Channel 对象存储在 Redis 数据库或任何其他解决方案中?

redis - 如何查看遗漏了哪些键?

adfs2.0 - ADFS 2.1 跟踪设置 Windows Server 2012