首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用国产软件安装和运行redis

使用国产软件安装和运行redis
EN

Stack Overflow用户
提问于 2018-01-10 21:53:49
回答 1查看 3.2K关注 0票数 1

我已经安装了redis

brew install redis

然后我就从

brew services start redis

然而,当运行时

redis-cli ping

我得到:

Could not connect to Redis at 127.0.0.1:6379: Connection refused

当我跑的时候

brew services list

我得到:

Name Status User Plist redis started clint /Users/clint/Library/LaunchAgents/homebrew.mxcl.redis.plist

但是当我在system.log中查看Console.app时,我每10秒就会看到这个:com.apple.xpc.launchd[1] (homebrew.mxcl.redis[85774]): Service could not initialize: 17C205: xpcproxy + 11572 [1522][1729AB5E-4591-3F1B-AC72-36700ABA4F74]: 0xd com.apple.xpc.launchd[1] (homebrew.mxcl.redis): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

有什么想法吗?

EN

回答 1

Stack Overflow用户

发布于 2018-01-10 22:00:17

当我查看/Users/clint/Library/LaunchAgents/homebrew.mxcl.redis.plist时,我发现它指向/usr/local/var/log上的日志。该文件夹的权限是错误的。做完chown -R $USER:admin /usr/local/**后,红色立即启动。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48196717

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档