Questions tagged [redis]
The redis tag has no usage guidance.
45
questions
1
vote
1
answer
384
views
Installing redis-server-stack on MacOsx (load command 0x80000034 is unknown) error
I have redis-server running fine. I cant run redis-server-stack. The modules don't seem to be loading.
41188:M 21 Oct 2023 16:35:10.184 # Module /usr/local/Caskroom/redis-stack-server/7.2.0-v4/lib/...
0
votes
0
answers
179
views
Memory optimization of redis-server in an embedded Linux distribution
I'm trying to optimize a redis-server version 6.0.5 installed in an embedded Linux distribution with 2 GByte of RAM.
At the moment there aren't particular failure of the redis-server.
The output of ...
2
votes
0
answers
171
views
Is it possible to use explicit huge pages in redis
I know that Redis does not work well with THB (Transparent Huge Pages),
but is it possible to run Redis using explicit 2MB or 1GB HugePages?
Unfortunately googling the issue always gives a ton of info ...
0
votes
0
answers
113
views
How to cross-compile REDIS for ppc_85xxDP?
When I try to compile redis source code for ppc_85xxDP , I'm getting the following errors.
Can someone help me in solving this error ?
export TNAME=ppx_85xxDP
export ARCH=powerpc
export ...
1
vote
1
answer
92
views
Redis is blocked from external connections before getting restarted
In my Ubuntu virtual machine in Hyper-V, I have installed Redis and it runs on startup (by doing sudo systemctl enable redis) and I have configured it to bind 127.0.0.1 192.168.10.100 in the config (...
1
vote
1
answer
292
views
Connect to Redis in Hyper-V guest machine from host
I want to access Redis, and probably other services in the future which are located on my Hyper-V virtual machine (Ubuntu) from my Windows desktop (the host). Only the guest and host should be able to ...
3
votes
1
answer
13k
views
Systemd Refuses to Start Redis Server
I have duplicate redis.conf & /etc/systemd/system/redis.service files on my test and prod servers via scp.
Where prod is able to start and run redis with a unix socket. My test server refuses to ...
10
votes
2
answers
14k
views
How can I install redis server 7 on Ubuntu 22.04?
I'd like to install the newest Redis Server 7 on my Ubuntu 22.04 (I've already installed Redis Server version 6 via standard workflow with apt install).
I tried to use a Snap package from https://...
0
votes
1
answer
1k
views
Ansible playbook hangs in interactive mode
If I run the command (redis-cli --cluster create 192.168.1.10:6379 192.168.1.11:6379 192.168.1.15:6379) from the host(192.168.1.10) it prompts me for "yes" and it's working but in ansible ...
0
votes
1
answer
1k
views
Meaning of IPTABLE duplicate values
I'm new to IPTABLES and when I execute the following command
/sbin/iptables --list -n | grep 16381
I could see multiple entries as shown below :
ACCEPT tcp -- a.b.c.d 0.0.0.0/0 ...
0
votes
1
answer
4k
views
Error: connect ECONNREFUSED 127.0.0.1:6379[nodemon app crashed]
Hi I’m working on a typescript project(express, PostgreSQL) on m1 and I installed Redis to yarn and started the local server (nodemon) and the error was happen. Before I implemented the Redis to my ...
0
votes
1
answer
245
views
Redis mass insert is not working in windows
Am trying to use mass insert feature of redis using a simple command as below. This is the one i have in text file input.
"*3\r\n$3\r\nSET\r\n$3\r\nkeys\r\n$5\r\nvalues\r\n"
And then i run ...
0
votes
1
answer
775
views
redis-server run multiple times binds multiple listening sockets on the same port?
On Windows Server 2019, under WSL I ran by mistake redis-server a 2nd time, and it didn't report a failure in binding the listening socket. Here's the output of netstat:
C:\Users\Administrator>...
0
votes
0
answers
1k
views
Receiving "Failed to start A high performance web server and a reverse proxy server." after redis installation
I received the following error:
Processing triggers for ureadahead (0.100.0-21) ...
N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename
I ...
1
vote
0
answers
404
views
Start 3 redis instances via systemd
I'd like to start 3 instances of Redis 6 via systemd.
System info:
root@ubnt:/home/test11# uname -a Linux ubnt 4.15.0-88-generic #88-Ubuntu
SMP Tue Feb 11 20:11:34 UTC 2020 x86_64 x86_64 x86_64 GNU/...
1
vote
0
answers
49
views
difference bwtween redis force failover and automatic failover caused by a master down
I want to use go-redis NewFailoverClinet as a client to set data into my database(redis-3.2.6) in a loop.
Result shows using command sentinel failover <MasterName> to trigger failover could ...
1
vote
2
answers
3k
views
docker: Error response from daemon: driver failed programming external connectivity on endpoint redis-redisjson
I wonder if anyone can help. I tried to install reJSON using Docker on a Raspberry PI but got some errors. Then as I couldn't figure out what to do about the errors tried a few things but nothing ...
0
votes
2
answers
1k
views
How do I get a channel layer from Django-Channels lib to communicate with Redis in Oracle VM using Docker Toolbox?
I am using Django Channels and am trying to make sure that a channel layer can communicate with Redis. However, I have Windows 10 Home edition which means I had to use Docker Toolbox to create an ...
0
votes
1
answer
677
views
My production server was breached and I found this script. Is it a decoy?
A few days ago my VPS came under heavy load from spammers trying ssh attacks and script injections. I have since added new fail2ban regexps and new security measures for REDIS where it looks like they ...
2
votes
0
answers
7k
views
Could not connect to Redis at 127.0.0.1:6379: Cannot assign requested address
I tried connect to redis server but I can't.
$ redis-cli
Could not connect to Redis at 127.0.0.1:6379: Cannot assign requested address
$ telnet localhost 6379
Trying 127.0.0.1...
telnet: Unable to ...
1
vote
1
answer
1k
views
How do I open a port on Linux Mint (VirtualBox guest) for the Redis Server?
FWIW, I posted a related programming question on Stack Overflow over here.
I installed a Linux Mint on the VirtualBox to test a Redis Server I installed on.
The Linux machine is linked with the ...
1
vote
0
answers
56
views
Docker: Is there a way I can check if Redis is being used as a cache for PostgreSQL server?
I have a set of docker containers communicating over a network via Docker Compose (one of them is redis and one of them is postgreSQL). I did a Wireshark capture on the communicating containers and I ...
4
votes
0
answers
5k
views
Redis : Can't handle RDB format version 9 Ubuntu 18.04
Following the indications in here: Redis-QuickStart I installed in my Ubuntu 18.04.01 Server Edition the latest stable Redis release : download.redis.io/redis-stable.tar.gz
and tested the result of ...
1
vote
0
answers
1k
views
Redis cluster failing over too frequently
Out of 12 masters, 4 masters failed over same time not sure about the reasons. Couldn't find much from slowlog. We have configured only 1 slave whenever fail-over happens master link status will be ...
0
votes
1
answer
5k
views
Redis fails to start after reboot ("Can't open the log file: Permission denied")
I've ran into a problem with my Redis 4.09 installation on Ubuntu 18.04.
Each time I reboot the machine the /var/log/redis/redis-server.log ends up being owned by www-data:www-data:
# namei -l /var/...
0
votes
1
answer
2k
views
Why does redis need write permissions for redis.conf?
I just installed redis on an Ubuntu server. When I examined its file permissions, I saw
-rw-r----- 1 redis redis 59124 Jan 11 02:24 /etc/redis/redis.conf
Why does the redis user need write access to ...
0
votes
1
answer
602
views
Original Redis Master does not become "good" slave after failover
I have setup a 3 node HA redis cluster with Sentinel monitors on each of the nodes.
I have the following configuration:
RedisA - Master
RedisB - Replica
RedisC - Replica
with 3 Sentinels watching the ...
1
vote
1
answer
6k
views
Can not uninstall redis-server in Ubuntu?
I was trying to install Redis on Ubuntu using:
sudo apt install redis-server
The process partially installed and timed-out and the redis-service was not installed.
After that I tried to remove the ...
2
votes
0
answers
349
views
Redis rdb persistence quite slow
My two nodes in a Redis cluster have quite different persistence performance. The master node is always much faster than the slave one when saving data to disk.
Here is the persistence info for master:...
1
vote
1
answer
1k
views
Redis socket permissions caught between /var/run and http
I'd like my PHP web application (run as user apache) to connect to redis via a UNIX socket. So I thought of running redis as user apache as well and the socket permissions can be 0700 owned by apache. ...