Symptoms

While ordering subscription for NG, hosting task "Dump webspace data to redis" fails with

Sync webspace to redis failed: Connection refused. Check service redis.<some number>

Cause

Needed Redis server instance on MN is stopped or not listening needed port

Resolution

In task output find number of Redis instance (e.g. "redis.5393"). Check status and config for this instance on the POA Management Node:

~# ll /etc/redis.*
-rw-r--r-- 1 root root 20983 Oct 30 07:17 /etc/redis.34.conf
-rw-r--r-- 1 root root 20991 Nov 13 16:07 /etc/redis.5393.conf
-rw-r--r-- 1 root root 20971 Oct 30 07:17 /etc/redis.conf

~# grep port /etc/redis.5393.conf | grep -v ^#
port 6381

~# /etc/init.d/redis.5393 status
redis-server is stopped

Start it:

~# /etc/init.d/redis.5393 start
Starting redis-server for poa.osscore                [  OK  ]

Check if it is listening:

~# netstat -lpnt | grep redis | awk '{print $4,$7}'
0.0.0.0:6380 6088/redis-server
0.0.0.0:6381 29752/redis-server

Re run the task.

Internal content