系统环境
ubutu12.04 redis3.0.0 redislive python 2.7.3
启动redislive:
./redis-monitor.py
报错:
Traceback (most recent call last):
File "./redis-monitor.py", line 297, in <module>
monitor.run(duration)
File "./redis-monitor.py", line 247, in run
redis_servers = settings.get_redis_servers()
File "/usr/local/src/redislive/src/api/util/settings.py", line 14, in get_redis_servers
config = get_settings()
File "/usr/local/src/redislive/src/api/util/settings.py", line 10, in get_settings
return json.load(config)
File "/usr/lib/python2.7/json/__init__.py", line 278, in load
**kw)
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
求大神指导!!!!!!!!!!!!!!!!
配置文件:
{
"RedisServers": [ { "server": "127.0.01", "port" : 6379 }, ], "DataStoreType" : "redis", "RedisStatsServer": { "server" : "127.0.0.1", "port" : 6379 }, "SqliteStatsStore" : { "path": "/usr/local/src/redislive/src/db/redislive.sqlite" }
}
付费偷看金额在0.1-10元之间
一周热门 更多>