Questions tagged [redis]

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. Ask any questions about redis installation and use on Ubuntu.

Filter by
Sorted by
Tagged with
0 votes
0 answers
120 views

Fail to start redis-server as system service

I uninstall redis and reinstall it on my ubuntu 20.04.6 LTS. Got this error in sudo apt-get install redis. Reading package lists... Done Building dependency tree Reading state information... Done The ...
Tony's user avatar
  • 101
0 votes
0 answers
71 views

Run redis without interactive WSL shell

I'm moving my development environment to a new laptop and cannot get redis installed the same way as the old machine. To avoid XY, my goal is to have redis server run locally in WSL and I not need an ...
mlhDev's user avatar
  • 101
0 votes
0 answers
234 views

How to install redis 7.2 with igbinary and zstd compression on Ubuntu 22.04

I tried to install redis by: sudo add-apt-repository ppa:redislabs/redis sudo apt update Installed also: pecl install igbinary apt install libzstd-dev But don't know how to add that to redis.
user3429079's user avatar
0 votes
0 answers
64 views

Failover issue for Redis Sentinel on docker-compose

I want to prepare basic setup for Redis Sentinel on docker. Everything looks fine, replication is working as expected, however, failover doesn't work. In order to test it I created some simple python ...
tstr's user avatar
  • 141
0 votes
0 answers
397 views

Is it possible to install Redis 5.0.3 on Ubuntu 22.04?

How can I install Redis 5.0.3? I'm running Ubuntu 22.04.
Pratik Ashok Yadav's user avatar
0 votes
0 answers
160 views

How to free these ports on Ubuntu-18.04

I am installing Redis Enterprise on Ubuntu 18.04 and it requires these ports to be opened for Redis cluster. I have created a new VM but not sure why these ports are opened and how can I make these ...
Dragon's user avatar
  • 101
0 votes
0 answers
87 views

Redis 7 Offline Installation Best Practices

Im looking to install the latest Redis version on Ubuntu 18 and found the deb packages in this link : https://launchpad.net/~redislabs/+archive/ubuntu/redis/+build/25404032 which look legitimate. Is ...
Etienne's user avatar
  • 11
0 votes
1 answer
353 views

after a reinstall I'm having issues with OPcache Memcache Redis when Nextcloud tries to run cron

I had issues with mysql not being able to be updated. I ended up having to uninstalling it, which uninstalled a lot of other files and unfortunately I did autoremove. Anyways I did save a copy of what ...
John Orion's user avatar
  • 2,781
0 votes
1 answer
55 views

what does this command do: sed -i "s/bind .*/bind 127.0.0.1/g" /etc/redis/redis.conf

I'm new to redis database and I want to know in the process of redis configuration what this command do: sed -i "s/bind .*/bind 127.0.0.1/g" /etc/redis/redis.conf
Moez Ben Rebah's user avatar
0 votes
0 answers
604 views

Offline Redis 7 install

I am trying to install Redis 7 on Ubuntu 20.04 with a no internet connection, but I am not able to find the .deb file. Is there any repo where I can download it?
Adrian Moldovan's user avatar
0 votes
1 answer
1k views

Multiple redis ubuntu 20.04 LTS

Can who explain, what's wrong with redis?) # systemctl status m1-redis ● m1-redis-server.service - Advanced key-value store Loaded: loaded (/lib/systemd/system/m1-redis-server.service; enabled; ...
Tsunani's user avatar
1 vote
0 answers
876 views

Unable to shutdown redis-server even after uninstall

After uninstalling: > ps aux | grep redis-server root 147242 0.7 0.0 52968 7824 ? Ssl 16:58 0:00 /snap/redis/137/usr/bin/redis-server *:6379 stavalfi 147321 0.0 0.0 17672 ...
Stav Alfi's user avatar
  • 141
0 votes
1 answer
52 views

On two different servers, different services will not start, but if they are restarted, start successfully

On two different servers I have redis and postgresdb installed. Neither will start successfully on boot, but will start if they are manually started/restarted. The error for both are the same (failure ...
Bryant's user avatar
  • 325
1 vote
1 answer
2k views

How to install redis-server with version 5.0.7 on ubuntu 18.04?

I want to install redis-server with specific version.
Asif Mulani's user avatar
3 votes
1 answer
2k views

Redis doesn't automatically start after reboot in systemd even if it's enabled

I want to enable automatic start of redis database with systemd after boot. I got weird issues with x86 Ubuntu on ec2: systemd claims that service is enabled. ubuntu@:~$ systemctl status redis ● redis....
deathangel908's user avatar
13 votes
2 answers
12k views

A stop job is running for Advanced key-value store (X / no limit)

so after installing redis onto my ubuntu 20.04 server. Whenever I reboot. A stop job appears for Advanced key-value store. I believe this is part of redis but I don't know why it keeps appearing and ...
Soulfire J. Backblaze's user avatar
1 vote
1 answer
3k views

Running multiple instances of redis with [email protected]

A redis-cluster involves at least 6 instances of redis. A reasonable minimum size for a failover cluster is 3 nodes. Thus, I want to run 2 instances of redis on the same node (but never the same redis ...
aphid's user avatar
  • 123
0 votes
0 answers
23 views

Docker-compile instruction to command

redis: image: redis:latest command: redis-server --appendonly yes volumes: - $RESOURCES_FOLDER/redis:/data elasticsearch: image: elasticsearch:2.4 command: elasticsearch -...
william007's user avatar
1 vote
2 answers
13k views

How to install Redis-Server 6.0.1 in Ubuntu 20.04?

I have Redis version 5.0.7 in my system, is there any command to update to 6.0.1?
Thirumal's user avatar
  • 969
2 votes
0 answers
2k views

Redis service won't restart after reboot

After an upgrade of my server (Ubuntu 18.04.4 LTS). The Redis service refused to start: ● redis.service - Redis In-Memory Data Store Loaded: loaded (/etc/systemd/system/redis.service; enabled; ...
COil's user avatar
  • 900
11 votes
6 answers
27k views

My Ubuntu server has been infected by a virus kdevtmpfsi

My Ubuntu server has been infected by a virus kdevtmpfsi, I have already done serveral steps to solve this problem, like all of these: https://github.com/docker-library/redis/issues/217. But it is ...
Fábio Sousa's user avatar
2 votes
1 answer
4k views

Running a PHP script at startup AFTER other services have started

To get regular weather updates into my Redis database the scheme I am trying to use is as follows I have a PHP script that fetches the weather from the relevant weather API. It goes something like ...
DroidOS's user avatar
  • 497
1 vote
0 answers
442 views

redis bind address localhost with (double colon) ::1

This may be the noobiest question ever, but can someone tell me what the ::1 means in redis configuration for bind? E.g.: bind 127.0.0.1 ::1 In a docker image made my colleagues, this was the set ...
Nick Rolando's user avatar
1 vote
1 answer
3k views

Redis-cli not connecting

I have a redis-server instance running, everything works fine if I try to connect to it via code e.g python. The problem is, redis-cli tool doesn't connect. Here's what I get when I run redis-cli: ...
Wafula Samuel's user avatar
3 votes
1 answer
5k views

Where is the config for redis-cli?

I have installed redis client (without the server) on one of my servers: sudo apt install redis-tools I would like to use redis-cli to connect to a central server where redis is installed. But ...
Houman's user avatar
  • 965
2 votes
0 answers
16 views

Why does apt install, install an older version of Redis? [duplicate]

I am learning Ubuntu and I am installing Redis. When I use the following guide, an older version of Redis is installed. 4.0.x https://www.digitalocean.com/community/tutorials/how-to-install-and-...
Cazineer's user avatar
  • 131
1 vote
1 answer
1k views

redis and redis-server packages

I would like to install redis server on Ubuntu 18.04 LTS. I noticed there are two packages: redis and redis-server. Some documentation (DigitalOcean for example) suggests to use the redis-server ...
Asarluhi's user avatar
  • 1,527
0 votes
1 answer
4k views

Can't upgrade to Redis Server 4.x

Why is my system telling me version 3.x is the latest when clearly there's a version 4 and even 5? $ sudo apt-get install redis-server Reading package lists... Done Building dependency tree ...
JasonGenX's user avatar
  • 279
4 votes
4 answers
4k views

Ubuntu 18.04 update stuck at "Setting up redis-server (5:4.0.9-1ubuntu0.1) ..."

Whenever I update my Ubuntu software or run the command sudo dpkg --configure -a, it gets stuck at the line Setting up redis-server (5:4.0.9-1ubuntu0.1) .... I don't know why this is happening.
Ham Ar's user avatar
  • 41
1 vote
1 answer
1k views

systemd rqworker service

Systemd service, I want to create but it fails. This is my service i have created. [Unit] Description=rqworker daemon After=network.target [Service]...
Rajat jain's user avatar
4 votes
3 answers
3k views

Partial installation of redis-server causes apt-get to hang

I'm still very much a novice when it comes to Linux as a whole, and I have no clue what's happening here. I tried to install redis-server in order to integrate BLAST into my JBrowse install (program ...
eng050599 's user avatar
3 votes
1 answer
6k views

Install Redis-Server on Ubuntu 16.04 LTS minimal

I have got a question and hope that somebody can help me. I own a vServer on a OpenVZ basis (I hate the kernel limitation) and can't install Redis. What do I do: Clean install Ubuntu 16.04. LTS ...
Firehead's user avatar
0 votes
2 answers
514 views

cannot use npm to install redis and moment

I need to use npm to install packages redis & moment on my system but it's not happening, I'm getting this instead: $ npm install redis;npm install moment /home/ron └─┬ [email protected] ├── double-...
stdcerr's user avatar
  • 1,060
2 votes
2 answers
5k views

how do I make "/sys/kernel/mm/transparent_hugepage/defrag" never status to close the THP warning [duplicate]

reboot the linux (ubuntu 16.04 redis 4.011) /var/log/redis.log shows # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage ...
robspin's user avatar
  • 133
7 votes
2 answers
22k views

18.04 server - unable to locate package redis-server [duplicate]

I installed a fresh install of 18.04 server. The package redis-server does not seem to be installable. I'm not sure why: $ sudo apt install redis-server Reading package lists... Done Building ...
Bryant's user avatar
  • 325
2 votes
1 answer
2k views

Install Redis using a bash script, setting configuration files

I want to create a bash script, that automatically install redis: My issues is to change lines in 2 files: #Install Redis sudo apt install redis-server sudo nano /etc/redis/redis.conf I need to ...
user3541631's user avatar
5 votes
1 answer
10k views

ubuntu error : Errors were encountered while processing: redis-server

I am getting error when I run sudo apt-get upgrade output error : Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 ...
Behnam Rasouli's user avatar
0 votes
0 answers
1k views

How to install Redis Desktop Manager on ubuntu 16.04

I follow the instructions on http://docs.redisdesktop.com/en/latest/install/ I have error: source /opt/qt59/bin/qt59-env.sh && make && sudo make install g++ -c -pipe -g -std=gnu++0x -...
Piotr's user avatar
  • 101
28 votes
1 answer
84k views

Uninstall Redis after manual Installation

I followed this guide to install Redis "How To Install and Configure Redis on Ubuntu 16.04". However, now I want to remove the Redis from my server (Ubuntu 16.04). The command sudo apt-get purge --...
yaylitzis's user avatar
  • 721
2 votes
3 answers
18k views

redis-server.service: Failed with result 'timeout'. - More errors listed inside

Update: This appears to be mostly fixed. I'm not 100% sure what I did, but it's running and also my sites are loading with it properly. However, I'm still having error #1 about the PID not being ...
TheNoob's user avatar
  • 21
0 votes
1 answer
1k views

Error: build-essential : Depends: g++ (>= 4:4.4.3) but it is not going to be installed

I'm trying to install build-essential using sudo apt-get install build-essential command. I get this error: The following packages have unmet dependencies: build-essential : Depends: g++ (>= 4:4.4....
Red Bottle's user avatar
14 votes
2 answers
35k views

Error when starting Redis server: "Address already in use"

I am trying to install redis, according to the instructions here : https://redis.io/download, but getting the error : Creating Server TCP listening socket *:6379: bind: Address already in use ...
Nomi's user avatar
  • 143
1 vote
0 answers
2k views

Error when starting Redis server

When I try to start redis, I get this error. I know about the port one, but what about the others? How do I fix them? 15418:C 14 Aug 18:57:28.924 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 15418:...
John Cena's user avatar
1 vote
1 answer
752 views

How do I save standard output to a different text file everyday with file name as ( dd-mm-yy.txt )? [closed]

In redis, the data is stored in one log file and it keeps getting bigger and bigger. Its size has increased to few GB. How can I store the log file as several files instead of one sorted by date?
Manoj's user avatar
  • 11
1 vote
1 answer
4k views

Why does redis-server service keep starting even after update-rc.d remove command?

I installed redis-server on Ubuntu 16.04 using apt. It seems to auto-start at every boot-up by default I don't like this, so I've tried the below commands: sudo update-rc.d -f redis-server remove #...
user3523935's user avatar
16 votes
11 answers
66k views

Failed to start Redis Datastore Server (Ubuntu 16.04.1 LTS)

i just installed redis and it doesnt work at all when trying to start service with command: sudo service redis-server start this is result of journalctl -xe: Subject: Unit redis-server.service has ...
Kakashi's user avatar
  • 331
2 votes
0 answers
2k views

Redis default password

I am trying to maintain a Redis instance running on a Ubuntu server. I explicitly set no password and turned the protected mode off. Yeah it is dangerous, but it is exactly what I need. The Redis ...
Diligent Key Presser's user avatar
70 votes
5 answers
136k views

How to install Redis on Ubuntu 16.04?

I am working with Laravel but i have installed all on my own (php, mysql, composer, nginx) and now i need to install Redis and configure it so i could use it for queue driver in Laravel. How to ...
lewis4u's user avatar
  • 4,786
12 votes
5 answers
35k views

16.04.01 LTS on AWS - Redis no longer working

We've been running redis-server on a number of AWS EC2 Ubuntu instances (14.04.4 LTS) with no problems. I spun up a test server to try the upgrade to Ubuntu 16.04.1 LTS, and now redis won't work. If ...
John Feltz's user avatar
2 votes
0 answers
9k views

Unable to start and stop redis server

I used the following commands to install redid from source: sudo apt-get update sudo apt-get install build-essential sudo apt-get install tcl8.5 cd /usr/local/src wget http://download.redis.io/...
Daniel Viglione's user avatar