Questions tagged [redis-server]

Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

http://redis.io/

126 questions
265
votes
21 answers

Could not connect to Redis at 127.0.0.1:6379: Connection refused with homebrew

Using homebrew to install Redis but when I try to ping Redis it shows this error: Could not connect to Redis at 127.0.0.1:6379: Connection refused Note : I tried to turn off firewall and edit conf file but still cannot ping. I am using macOS…
bufei
  • 2,661
  • 2
  • 9
  • 4
37
votes
5 answers

How to start redis-server on a different port than the default port 6379 in ubuntu

How to start redis-server on a different port than the default port 6379 in Ubuntu? I have used the following steps to install the redis: sudo add-apt-repository ppa:rwky/redis sudo apt-get update sudo apt-get -y install redis-server I installed…
klee
  • 1,554
  • 2
  • 19
  • 31
27
votes
4 answers

Redis's huge files won't delete?

I'm using Redis-server for windows ( 2.8.4 - MSOpenTech) / windows 8 64bit. It is working great , but even after I run : I see this : (and here are my questions) When Redis-server.exe is up , I see 3 large files : When Redis-server.exe is down…
Royi Namir
  • 144,742
  • 138
  • 468
  • 792
24
votes
3 answers

Using Redis as a cache storage for for multiple application on the same server

I want to use Redis as a cache storage for multiple applications on the same physical machine. I know at least two ways of doing it: by running several Redis instances on different ports; by using different Redis databases for different…
Behrooz
  • 2,437
  • 3
  • 21
  • 31
18
votes
2 answers

Running multiple instance of Redis on Centos

I want to run multiple instance of Redis on Centos 7. Can anyone point me to proper link or post steps here. I googled for the information but I didn't find any relevant information.
Ashish Sinha
  • 194
  • 1
  • 1
  • 10
17
votes
5 answers

cannot install redis-server on ubuntu 18.04

I have upgraded to ubuntu 18.04 from 17.10. The redis-server package cannot be fully installed. I looked at /var/log/syslog and it says ==> /var/log/syslog <== Jun 3 13:04:10 qaz-mko systemd[1]: redis-server.service: Can't open PID file…
Dan
  • 2,209
  • 3
  • 23
  • 44
14
votes
1 answer

How to fix 'unknown user 'redis' in statoverride file'

I'm installing redis, everytime I run this command sudo apt install redis-server I got an unrecoverable fatal error I already tried many solutions to completly remove redis, redis-server, but nothing worked, this is the error dpkg: unrecoverable…
ELTA
  • 1,474
  • 2
  • 12
  • 25
11
votes
4 answers

trouble in setting celery tasks backend in Python

I followed all the steps given in [ http://docs.celeryproject.org/en/latest/getting-started/first-steps-with-celery.html ] This is the code: from __future__ import absolute_import from celery import Celery #app = Celery('tasks',…
Aida
  • 2,174
  • 2
  • 16
  • 33
9
votes
0 answers

Copy redis database (.rdb file) from a remote server to local

I was given a Redis server that is set up remotely. I can access data in that and I can do CRUD operation with that server. But I want the replica of the same database in my local. I have Redis desktop manager setup in my local. And also…
abhi
  • 115
  • 1
  • 8
8
votes
5 answers

Celery connecting to rabbitmq-server instead of redis-server

I have a Django application which I want to configure it celery to run background tasks. Packages: celery==4.2.1 Django==2.1.3 Python==3.5 Redis-server==3.0.6 Configuration of celery in settings.py file is: CELERY_BROKER_URL =…
Reema Parakh
  • 1,347
  • 3
  • 19
  • 46
8
votes
3 answers

How to configure Redis to persist data after reboot on Linux?

I installed Redis on Ubuntu 16.04. I couldn't find Redis directory nor redis.conf file (tried with: sudo find redis.conf). My application depends on some data pulled from third party APIs. I store the (processed) data in Redis. My problem is, after…
giliev
  • 2,938
  • 4
  • 27
  • 47
7
votes
3 answers

how to autostart redis-server in ubuntu 20 desktop

I'm currently running Redis-server in my local development environment Ubuntu 20.04. Every time I open my desktop computer I always use this Redis-server --daemonize yes to start the Redis server. Is there a way to make it autostart when the desktop…
7
votes
4 answers

redis: ReplyError: ERR DB index is out of range

I ran redis using Docker like so: docker run --rm -p '6379:6379' -v "$redis_data_dir:/data" --name my_redis_server -d redis redis-server --appendonly 'yes' in the past this worked fine, but now I get this error: { ReplyError: ERR DB index is out…
user11810894
6
votes
4 answers

address already in use with redis-server

When running the redis server, it shows address already in use This is the stacktrace: 45546:C 12 Jul 2019 10:04:41.888 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 45546:C 12 Jul 2019 10:04:41.888 # Redis version=5.0.5, bits=64, commit=00000000,…
gina
  • 61
  • 1
  • 1
  • 9
6
votes
1 answer

Redis sentinel - How to take a server out of loop?

I had following deployment of sentinel - 3 redis instances on different servers, 3 sentinels on each of these servers. Now, I realized that the current master does not have much memory, so I stopped sentinel and redis instance on this particular…
Tarun
  • 152
  • 1
  • 15
1
2 3
8 9