Article ID: 128284, created on Feb 10, 2016, last review on Feb 10, 2016

  • Applies to:
  • Operations Automation 6.0

Symptoms

Apache log files are not getting updates for webspaces hosted on NG web server.

The following error is logged to /var/log/messages continuously:

Feb 10 10:49:51 ngweb1 /usr/sbin/log-dumper[548274]: Error on communication with redis: READONLY You can't write against a read only slave.

Cause

redis package has been updated on the NG web host(s) from a foreign repository, which brought the read-only configuration.

[root@ngweb1 ~]# grep read-only /etc/redis.conf
# Since Redis 2.6 by default slaves are read-only.
slave-read-only yes

Resolution

Disable all foreign repositories, the only YUM repos to be left are:

cloudlinux-x86_64-server-6
pa-central-repo

Downgrade redis package:

# yum downgrade redis

Note: make sure /etc/redis.conf file contains slave-read-only setting set to "no" afterwards.

Search Words

Error on communication with redis: READONLY You can't write against a read only slave.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF