Open monganir opened 6 years ago
Hi @monganir
Please post some information on your actual setup in that Redis folder, i.e. using dir /S /B
when in "C:\Program Files\Redis". Also note that:
Finally, please be aware that this Redis port is no longer supported - for a slightly newer version (4.0.2) you can have a look into tporadowski/redis.
Regards, Tomasz
Hi Tomasz,
Thanks for your prompt response, it was my mistake, we are using redis.conf (not config). Please find attached the output (output.txt).
I tried replacing the / with \ and no luck.
Thanks for letting us know re:port.
Let me know if you see anything fishy with the output.
I've just given it a try using version 4.0.2 with "cluster-test\7000\redis.conf" set to:
bind 127.0.0.1
protected-mode no
port 7000
loglevel notice
logfile "7000.txt"
syslog-enabled yes
syslog-ident redis7000
rdbcompression yes
rdbchecksum yes
dbfilename dump7000.rdb
cluster-enabled yes
cluster-config-file cluster-test/7000/nodes.conf
cluster-node-timeout 5000
and by running
c:\Program Files\Redis>redis-server.exe --service-install --service-name Redis_cluster-test-7000 cluster-test\7000\redis.conf
You're right that it doesn't yield a thing, but it installed the service which I could see via "Services" (Control Panel/Administrative tools) - so please check it there :). Once started from there it properly got running and logged everything to Event Log. Documentation indeed says that "--service-install" should output a message, but for some reason it doesn't do this (yet, when uninstalling via "--service-uninstall" I got the correct message).
Thanks for the feedback. In our case, the service does not install on the system at all. We used process monitor and noticed the --service-install command returned error code 1 but unfortunately cannot find an actual error message that would help diagnose the issue further. Any thoughts?
Does it make any difference if you try to install it from cmd.exe
started with administrative privileges? It's not required as the process will try to elevate its privileges when installing itself as a service, but please give it a try :)
Hello,
I am a bit stumped at this time and am hoping i could get assistance with the problem i am facing. I have a task to setup a redis server alongside a cluster and am currently having issues running the redis-server --service-install function. Steps outlined below:
OS: windows server 2012 R2
At this point the command executes but does not return an error or anything as per the screen shot. There is no information in the event log nor redis server_log pertaining to this issue.
Any assistance would be appreciated!