gpt4 book ai didi

indexing - 认为Sphinx Rake已中止,正在重建或开始/停止ts时searchd正在运行。索引工作正常

转载 作者:行者123 更新时间:2023-12-04 13:35:08 25 4
gpt4 key购买 nike

当我调用rake ts:rebuild RAILS_ENV=production时,我得到以下信息:

(in /var/www/abc.com/public/abc/releases/20101008073517)
** Erubis 2.6.6
Stopped search daemon (pid 22531).
Generating Configuration to /var/www/abc.com/public/abc/releases/20101008073517/config/production.sphinx.conf
Sphinx 1.10-beta (r2420)
Copyright (c) 2001-2010, Andrew Aksyonoff
Copyright (c) 2008-2010, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/var/www/abc.com/public/abc/releases/20101008073517/config/production.sphinx.conf'...
indexing index 'spot_core'...
collected 6 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 6 docs, 4622 bytes
total 0.016 sec, 278316 bytes/sec, 361.29 docs/sec
skipping non-plain index 'spot'...
indexing index 'trip_core'...
collected 3 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 3 docs, 52 bytes
total 0.004 sec, 11326 bytes/sec, 653.45 docs/sec
skipping non-plain index 'trip'...
total 12 reads, 0.000 sec, 6.9 kb/call avg, 0.0 msec/call avg
total 24 writes, 0.000 sec, 7.8 kb/call avg, 0.0 msec/call avg
rake aborted!
searchd is already running.

(See full trace by running task with --trace)

每当我尝试启动/停止时,它总是说
rake aborted!
searchd is already running.

即使当我手动停止searchd并再次运行时,它仍然显示相同的内容:
searchd --config /path/to/app/current/config/production.sphinx.conf--stop

最佳答案

用命令sudo设法停止searchd !!!然后重新运行重建,现在一切都很好。

sudo searchd --stop

关于indexing - 认为Sphinx Rake已中止,正在重建或开始/停止ts时searchd正在运行。索引工作正常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4040995/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com