对于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但这并不管用。有什么办法解决这个警告吗?
发布于 2014-12-10 01:03:17
根据猜测,运行'indexer‘的用户正在创建由于文件/文件夹权限而运行'searchd’的用户无法看到的文件。
检查您的权限。
..。尽管更好的建议是确保您以相同的用户身份运行indexer和searchd。(您可能还希望将这些文件chown到同一用户)
https://stackoverflow.com/questions/27382454
复制相似问题