*** FATAL CONFIG FILE ERROR *** Reading the configuration file, at line 308 >>> 'replica-serve-stale-data yes

Hello

Has anyone overcome redis-server issue? Thank you

/usr/bin/redis-server /etc/redis/redis-openvas.conf

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 308
>>> 'replica-serve-stale-data yes'
Bad directive or wrong number of arguments

Environment

LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
dpkg -l | grep redis
ii  libhiredis-dev:amd64                       0.13.3-2.2                                      amd64        minimalistic C client library for Redis (development files)
ii  libhiredis0.13:amd64                       0.13.3-2.2                                      amd64        minimalistic C client library for Redis
ii  python3-redis                              3.3.11-2                                        all          Persistent key-value database with network interface (Python 3 library)
ii  redis-server                               5:4.0.9-1ubuntu0.2                              amd64        Persistent key-value database with network interface
ii  redis-tools                                5:4.0.9-1ubuntu0.2                              amd64        Persistent key-value database with network interface (client)

Installation method: source

Solution:

replica-serve-stale-data yes is available in the redis server that is compatible with rejson

wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
make install
2 Likes

Welcome to the forum @gvme

Glad it worked out and thank you for posting the solution! :grinning:

2 Likes