Indexing Sphinx Search new.sph不可读。跳过

Indexing Sphinx Search new.sph不可读。跳过,indexing,sphinx,Indexing,Sphinx,my 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:

my 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 )
我已尝试合并索引:

/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

但这没用。您知道如何解决此警告吗?

猜测一下,运行“indexer”的用户正在创建由于文件/文件夹权限而运行“searchd”的用户无法查看的文件

检查您的权限


。。。尽管更好的建议是确保您以同一用户的身份运行indexer和searchd。(您可能希望
chown
将文件也发送给同一个用户)

这很奇怪,但整个目录和所有文件都是由同一个用户发送的,cron通过该用户组运行这些命令。权限位于某些文件上-rw------,rw-r--r--。搜索也在同一用户上运行。即使没有索引器进程,也会发生这些错误,这很奇怪。