Sphinx搜索new.sph是不可读的。跳绳

时间:2014-12-09 15:19:07

标签: indexing sphinx

我的searchd.log中的每个请求都会出现以下警告:

[Tue Dec  9 17:05:12.468 2014] [ 5493] DEBUG: CheckRotate invoked
[Tue Dec  9 17:05:12.469 2014] [ 5493] DEBUG: conn 127.0.0.1:60103(1378659): got handshake, major v.1, err 0
[Tue Dec  9 17:05:12.469 2014] [ 5493] DEBUG: /sphinx/lib/index_1.new.sph is not readable. Skipping
[Tue Dec  9 17:05:12.469 2014] [ 5493] DEBUG: /sphinx/lib/index_1_delta.new.sph is not readable. Skipping
[Tue Dec  9 17:05:12.469 2014] [ 5493] DEBUG: /sphinx/lib/index_2.new.sph is not readable. Skipping
[Tue Dec  9 17:05:12.469 2014] [ 5493] DEBUG: /sphinx/lib/index_2_delta.new.sph is not readable. Skipping
[Tue Dec  9 17:05:12.469 2014] [ 5493] WARNING: nothing to rotate after SIGHUP ( in queue=0 )

我试图合并索引' es:

/opt/sphinx-2.2.6/bin/indexer --config sphinx.conf --rotate index_1_delta
/opt/sphinx-2.2.6/bin/indexer --config sphinx.conf --rotate --merge index_1 index_1_delta

甚至全部旋转:

/opt/sphinx-2.2.6/bin/indexer --config sphinx.conf --rotate --all

但它没有帮助。有任何想法如何解决这个警告?

1 个答案:

答案 0 :(得分:0)

猜测用户在运行什么' indexer'正在创建正在运行' searchd'由于文件/文件夹权限无法查看。

检查您的权限。

...虽然更好的建议,是确保您运行索引器并搜索为同一用户。 (您也希望将chown文件发送给同一个用户)