TECHZEN Zenoss User Community ARCHIVE  

Unable to start Redis service

Subject: Unable to start Redis service
Author: [Not Specified]
Posted: 2015-06-22 05:01

Hi,

I'm on Zenoss 5.0.3 and redis is unable to start.
The Helath Check fail and the error is about the metrics.

Below the redis log:

[794] 22 Jun 09:51:24.376 # Server started, Redis version 2.8.14
`-.__.-'
|`-._`-._ `-.__.-' _.-'_.-'|
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
( ' , .-` | `, ) Running in stand alone mode
.-`` .-```. ```\/ _.,_ ''-._
_._
_.-`` `. `_. ''-._ Redis 2.8.14 (00000000/0) 64 bit
`-._ `-._ `-./ _.-' _.-'
| `-._ `._ / _.-' | PID: 794
_.-``__ ''-._
I0622 09:51:24.369079 00001 instance.go:79] about to execute: /bin/sh , [-c exec /usr/bin/redis-server /etc/redis.conf][2]
W0622 09:51:23.413996 00001 controller.go:785] Health check redis_answering timeout.
2015-06-22T09:51:13 INFO ZenUtils.ZopeRequestLogger Trying to reconnect to redis
------
`-._ _.-'
[783] 22 Jun 09:51:14.368 # Short read or OOM loading DB. Unrecoverable error, aborting now.
[783] 22 Jun 09:51:14.368 # Server started, Redis version 2.8.14
`-.__.-'
`-._ `-.__.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
|`-._`-._ `-.__.-' _.-'_.-'|
`-._ `-._ `-./ _.-' _.-'
| `-._`-._ _.-'_.-' | http://redis.io
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
`-._ `-._`-.__.-'_.-' _.-'
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
| `-._ `._ / _.-' | PID: 783
.-`` .-```. ```\/ _.,_ ''-._
_.-`` `. `_. ''-._ Redis 2.8.14 (00000000/0) 64 bit
_.-``__ ''-._
( ' , .-` | `, ) Running in stand alone mode
_._
I0622 09:51:14.361682 00001 instance.go:79] about to execute: /bin/sh , [-c exec /usr/bin/redis-server /etc/redis.conf][2]
W0622 09:51:06.849873 00001 controller.go:785] Health check redis_answering timeout.
[772] 22 Jun 09:51:04.360 # Short read or OOM loading DB. Unrecoverable error, aborting now.

I've tried to move the "dump.rdp" file into another folder, as suggested by another user, but the problem persist.

Does someone have any suggestion

Thanks

D.



Subject: The same problem
Author: [Not Specified]
Posted: 2016-01-11 04:45

I have same CC version and same problem.... Anyone have a suggestion to solve this problem What and Where is the filedump.rdp

collectorredis container is restarting continuosly .... I have tried to assig 2 GB of RAM memory to the instance (by CC form -- Edit Service) but it doesn't resolve the problem.



Subject: I have remove the file dump
Author: [Not Specified]
Posted: 2016-01-11 05:11

I have remove the file dump.rdb and it's work for me.... I founded the description here:

http://stackoverflow.com/questions/19700404/short-read-or-oom-loading-db-unrecoverable-error-aborting-now

"

Cause of this error might be similar to a known one.

Your disk is full so when redis tries to create a db file it fails because there is no space left on the disk and it creates zero sized db file. Starting redis fails because of zero sized db file, in CentOS db file path is like this

/var/lib/redis/dump.rdb

In newer versions of redis this bug is fixed, if you use older version of redis simply removing dump.rdb will work for you. But do this ifdump.rdbfile size is zero, otherwise do not because you might lose data.

"



< Previous
Zenoss Core 5 High Availability Cluster
  Next
IIS Service xxxxxxxxxxxx is in Running state
>