Redis 不作为 Windows 7 上的 Windows 服务启动 [英] Redis doesn't start as windows service on Windows7
问题描述
我使用这个版本在我的 windows7 上安装 redis:
消息显示:本地计算机上的 Redis 服务器服务已启动然后停止".日志文件夹是空的.redis-server.exe 在没有服务的情况下正常启动.我怎样才能解决这个问题?提出任何其他工作区.如果你知道,请告诉我.
在 Windows 10 上尝试将 Redis v3.0.503 作为服务启动时遇到类似问题.
我必须使用 service-name 参数安装该服务,它神奇地开始工作.
C:\redis>redis-server --service-install redis.windows.conf --loglevel verbose --service-name redisService
[7484] 04 Feb 00:03:53.610 # 授予对NT AUTHORITY\Network Service"的读/写访问权限:C:\redis"C:\redis"[7484] 2 月 4 日 00:03:53.612 #Redis 成功安装为服务.
在这里找到解决方案:Redis-windows GitHub Wiki - 可能会发生问题
I used this build to install redis on my windows7:
https://github.com/rgl/redis (git)
http://ruilopes.com/redis-setup/binaries/redis-2.4.6-setup-64-bit.exe (binary)
Service has been installed sucessfully, but it doesn't start:
The message says: 'Redis Server service on local computer was started and then stopped'. logs folder is empty. redis-server.exe starts properly without service. How can I fix this? Propose any other working dist. plz if you know it.
Ran into a similar issue on Windows 10 when trying to start Redis v3.0.503 as a service.
I had to install the service with a service-name param and it magically started working.
C:\redis>redis-server --service-install redis.windows.conf --loglevel verbose --service-name redisService
[7484] 04 Feb 00:03:53.610 # Granting read/write access to 'NT AUTHORITY\Network Service' on: "C:\redis" "C:\redis" [7484] 04 Feb 00:03:53.612 # Redis successfully installed as a service.
Found the solution here: Redis-windows GitHub Wiki - Issues might happen
这篇关于Redis 不作为 Windows 7 上的 Windows 服务启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!