I added password requirepass in the conf file and now I cant stop the server.
sudo /etc/init.d/redis_6379 stop
Stopping ...
(error) ERR operation not permitted
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...
How to I resolve?
Thanks
Ciao,
Salvatore
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.
>
--
Salvatore 'antirez' Sanfilippo
open source developer - VMware
http://invece.org
"We are what we repeatedly do. Excellence, therefore, is not an act,
but a habit." -- Aristotele
I modified the below in the init.d script. Now I get the below error.
CLIEXEC=/usr/local/bin/redis-cli -a password
./redis_6379 stop
./redis_6379: line 5: -a: command not found
Stopping ...
./redis_6379: line 32: -p: command not found
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...
Try the following (might or might not work depending on the script):
CLIEXEC="/usr/local/bin/redis-cli -a password"
--
Kosma Moczek
http://www.kosma.pl/