思考 Sphinx:rake ts:start、ts:stop 和 ts:rebuild 都给出错误,searchd 仍在运行吗?
在我运行 rake ts:index 并尝试启动 sphinx 服务器后,我的所有命令都出现这些错误:
$ rake ts:start
rake aborted!
searchd is already running.
$ rake ts:stop
rake aborted!
execution expired
$ rake ts:rebuild
rake aborted!
execution expired
我已经尝试了这些线程中的内容:
Thinking Sphinx Rake 中止,searchd 正在运行重建或启动/停止 ts 时。索引工作正常
有什么想法为什么要思考 Sphinx Rake 任务没有运行?
但是我的系统无法识别这些命令,例如 searchd --stop
并且我不确定首先如何在我的系统上使用这些命令地方。
我该如何解决这个问题?
After I run rake ts:index
and try to start the sphinx server I get these errors for all of my commands:
$ rake ts:start
rake aborted!
searchd is already running.
$ rake ts:stop
rake aborted!
execution expired
$ rake ts:rebuild
rake aborted!
execution expired
I tried what was in this these threads already:
Thinking Sphinx Rake aborted, searchd is running while rebuilding or start/stop ts. Index works fine
Any ideas why Thinking Sphinx Rake tasks are not running?
But those commands aren't recognized on my system e.g. searchd --stop
and I am not to sure how I would use those commands on my system in the first place.
How do I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我第一次安装 gem 时,它看起来好像出了问题。我使用
bundle install 切换到
。我还重新安装了 Sphinx 只是封装。gem 'thinking-sphinx', '2.0.9'
并返回到gem 'thinking-sphinx', '2.0.10'
Looks like something was wrong with the gem when I installed it the first time. I switch to
gem 'thinking-sphinx', '2.0.9'
and back togem 'thinking-sphinx', '2.0.10'
usingbundle install
. I also reinstalled Sphinx just encase.