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
1answer
31 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 ...
0
votes
0answers
31 views

Systemd service keeps timing out

This question follows on in many ways from one I had asked a while ago and to which I had got an excellent answer from @alexandre-teles. The Context I am in the process of creating a mobile app that ...
0
votes
0answers
52 views

looking for advice running multiple redis

I have four redis running on my server and everything works fine, redis are answering to the requests but when I restart one redis, rest of my redis servers stop working for 1min here is my systemd [...
0
votes
1answer
261 views

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

I want to install redis-server with specific version.
0
votes
0answers
35 views

Redis stats on Ubuntu server

I have a Wordpress site on Ubuntu server. I installed Redis for object caching 4 days ago. Below are the current stats related to memory. I try to understand if there is any problem but I was not able ...
0
votes
0answers
342 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....
0
votes
0answers
11 views

How to estimate Redis server needed resources to handle PHP sessions of multiple web servers?

I am looking into storing the PHP sessions of a load balanced web server environment into a Redis server but I am not sure what VM resources should I need or how to calculate them and estimate them ...
6
votes
0answers
3k 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
20 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 -...
0
votes
1answer
5k 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?
2
votes
0answers
1k 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; ...
10
votes
5answers
15k 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 ...
2
votes
1answer
2k 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 ...
0
votes
0answers
175 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 ...
1
vote
1answer
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: ...
3
votes
1answer
2k 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 ...
2
votes
0answers
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-...
0
votes
1answer
265 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 ...
0
votes
1answer
3k 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 ...
2
votes
4answers
3k 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.
1
vote
1answer
661 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]...
4
votes
3answers
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 ...
3
votes
1answer
5k 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 ...
0
votes
2answers
448 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-...
1
vote
1answer
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 ...
5
votes
2answers
11k 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 ...
2
votes
1answer
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 ...
5
votes
1answer
4k 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 ...
0
votes
0answers
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 -...
17
votes
1answer
46k 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 --...
2
votes
3answers
11k 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 ...
0
votes
1answer
992 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....
12
votes
2answers
19k 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 ...
1
vote
0answers
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:...
1
vote
1answer
407 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?
1
vote
1answer
3k 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 #...
14
votes
10answers
56k 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 ...
2
votes
0answers
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 ...
70
votes
5answers
125k 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 ...
11
votes
5answers
33k 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 ...
2
votes
0answers
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/...
3
votes
1answer
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-...
0
votes
1answer
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 ...
0
votes
1answer
470 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 .
0
votes
2answers
3k 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 ...
5
votes
1answer
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 ...
14
votes
2answers
7k 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?
2
votes
1answer
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 ...
3
votes
3answers
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/...