简体   繁体   English

无法将redis作为后台程序运行…ubuntu服务器,redis 2.6.0

[英]Unable to run redis as a daemon … ubuntu server, redis 2.6.0

Ack, this should be doable... 确认,这应该可行...

I have redis 2.6 installed, and it works fine if I kick it from a prompt. 我已经安装了redis 2.6,如果我从提示中踢它,它可以正常工作。 listens, is accessible and all that. 聆听,可访问等等。

When I use the steps here: http://ijonas.com/software-development/nosql/412/ 当我在这里使用步骤时: http : //ijonas.com/software-development/nosql/412/

to run it as a daemon... there are no untoward symptoms... the command: 将该程序作为守护程序运行...没有不正常的症状...命令:

sudo /etc/init.d/redis-server start sudo /etc/init.d/redis-server启动

appears to work... but redis-server is not in the ps-aux list, and it is not listening on a port... it isn't running! 似乎工作......但Redis的服务器是不是在PS-辅助列表,它不是端口上监听......它没有运行!

Nothing is logged... I changed the log level in the conf to verbose... zero in the log. 什么都没有记录...我将conf中的日志级别更改为详细...日志中为零。

How to trace / solve? 如何追踪/解决?

Thank you! 谢谢!

Didier is correct: The 2.2 config will not work with 2.6. 迪迪埃是正确的:2.2的配置不会与2.6工作。 A diff of the two configs shows very little has changed, but it is clearly enough. 两种配置的差异显示变化很小,但这显然足够。

On the one hand, I want to say "can't redis at least log what it didn't like in the config instead of shutting down silently?" 一方面,我想说“不能至少重新记录配置中不想要的内容,而不是默默关闭吗?”

But I know, I know. 但是我知道,我知道。 What do I expect from FOSS? 我对FOSS有什么期望? Redis is a gift. Redis是礼物。 Even with the hassle and confusion, it is a gift. 即使有麻烦和混乱,它也是一种礼物。

And I am grateful. 我很感激。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM