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
1 answer
29 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
user avatar
0 votes
0 answers
54 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?
user avatar
0 votes
1 answer
364 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; ...
user avatar
0 votes
0 answers
223 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 ...
user avatar
  • 111
0 votes
1 answer
38 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 ...
user avatar
  • 305
0 votes
1 answer
1k views

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

I want to install redis-server with specific version.
user avatar
1 vote
0 answers
880 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....
user avatar
12 votes
1 answer
5k 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 ...
user avatar
1 vote
1 answer
2k views

Running multiple instances of redis with redis-server@.service

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 ...
user avatar
  • 123
0 votes
0 answers
22 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 -...
user avatar
0 votes
2 answers
8k 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?
user avatar
  • 879
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; ...
user avatar
  • 900
11 votes
6 answers
21k 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 ...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
  • 477
1 vote
0 answers
330 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 ...
user avatar
1 vote
1 answer
2k 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: ...
user avatar
3 votes
1 answer
4k 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 ...
user avatar
  • 895
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-...
user avatar
  • 131
0 votes
1 answer
336 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 ...
user avatar
  • 1,367
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 ...
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.
user avatar
  • 41
1 vote
1 answer
970 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]...
user avatar
4 votes
3 answers
2k 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 ...
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 ...
user avatar
0 votes
2 answers
481 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 └─┬ redis@2.8.0 ├── double-...
user avatar
  • 1,030
2 votes
1 answer
3k views

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

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 ...
user avatar
  • 133
7 votes
2 answers
16k 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 ...
user avatar
  • 305
2 votes
1 answer
1k 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 ...
user avatar
5 votes
1 answer
7k 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 ...
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 -...
user avatar
  • 101
21 votes
1 answer
60k 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 --...
user avatar
  • 651
2 votes
3 answers
14k 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 ...
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....
user avatar
14 votes
2 answers
26k 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 ...
user avatar
  • 143
1 vote
0 answers
1k 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:...
user avatar
1 vote
1 answer
566 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?
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 #...
user avatar
16 votes
11 answers
63k 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 ...
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 ...
user avatar
71 votes
5 answers
132k 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 ...
user avatar
  • 4,425
12 votes
5 answers
34k 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 ...
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/...
user avatar
3 votes
1 answer
8k views

How to install redis desktop manager in ubuntu 16.04?

I have redis 3.0.6 installed which gave this output. redis-server 4671:C 23 Jun 05:52:53.351 # Warning: no config file specified, using the default config. In order to specify a config file use redis-...
user avatar
  • 337
0 votes
1 answer
2k views

RedisLabs Enterprise Cluster stopping the service

I am running RedisLabs Enterprise Cluster in my Desktop and Laptop(both running Ubuntu Desktop 14.04.3 LTS). In my desktop - the RedisLabs Enterprise Cluster stops if i restart but in case of my ...
user avatar
  • 3,767
0 votes
1 answer
495 views

ubuntu install latest redis through ppa source

How could I install the latest redis-server through https://launchpad.net/ubuntu/+source/redis I know how could install via ppa, but I don't know the url in this source .
user avatar
  • 101
0 votes
2 answers
4k views

Trouble while installing redis-server

So for some reason it seems that the installation of the redis-server that was serving the sidekiq on one of my machines got removed (How does that happen?). I assume this because commands like which ...
user avatar
  • 119
5 votes
1 answer
3k views

Cannot get or set to Redis on Vagrant guest from host due to "Error: Connection reset by peer"

I tried to forward guest port 6379 to host 6379 and to 16379 but with no luck. I can connect to redis from guest and set and get, and despite I also can connect to redis from host and get help, I ...
user avatar
  • 2,303
14 votes
2 answers
8k views

redis-server - What are the differences between rwky/redis and chris-lea/redis-server?

What are the differences between https://launchpad.net/~chris-lea/+archive/ubuntu/redis-server and https://launchpad.net/~rwky/+archive/ubuntu/redis?
user avatar
2 votes
1 answer
4k views

Ubuntu can't shutdown and the log-out screen just freezes

This is the question I already have an answer, but answering for others. I have been having a problem, whenever I try to shutdown, suspend or restart Ubuntu or Gnome 3, the shut-down screen just ...
user avatar
  • 237
3 votes
3 answers
6k views

Unable to configure port in Redis database

I am trying to configure the ports in Redis database. I have changed the port number to 7778 in the redis.conf file. This file is in /etc/redis.conf and I'm using this command redis-server /etc/...
user avatar