coreseek安装遇到的错误
coreseek安装遇到的错误
1.问题:
wtm@wtm-OEM:/usr/local/coreseek/etc$ /usr/local/coreseek/bin/indexer --all
Coreseek Fulltext 3.2 [ Sphinx 0.9.9-release (r2117)]
Copyright (c) 2007-2011,
Beijing Choice Software Technologies Inc (http://www.coreseek.com)
using config file '/usr/local/coreseek/etc/csft.conf'...
indexing index 'documentsindex'...
FATAL: failed to open /usr/local/coreseek/var/data/documentsindex.spl: Permission denied, will not index. Try --rotate option.
解决:
把报错/usr/local/coreseek/var/data/documentsindex.spl中的data权限chmod 777 data
2.问题:
wtm@wtm-OEM:/usr/local/coreseek/etc$ /usr/local/coreseek/bin/indexer --all
Coreseek Fulltext 3.2 [ Sphinx 0.9.9-release (r2117)]
Copyright (c) 2007-2011,
Beijing Choice Software Technologies Inc (http://www.coreseek.com)
using config file '/usr/local/coreseek/etc/csft.conf'...
indexing index 'documentsindex'...
Unigram dictionary load Error
段错误 (核心已转储)
解决:
字典目录不对,charset_dictpath改成uni.lib目录,如:charset_dictpath=/usr/local/mmseg3/etc/
3.问题:
root@wtm-OEM:/usr/local/coreseek# /usr/local/coreseek/bin/indexer -c etc/csft.conf --all --rotate
Coreseek Fulltext 3.2 [ Sphinx 0.9.9-release (r2117)]
Copyright (c) 2007-2011,
Beijing Choice Software Technologies Inc (http://www.coreseek.com)
using config file 'etc/csft.conf'...
indexing index 'documentsindex'...
ERROR: source 'mysql': unknown type 'mysql'; skipping.
ERROR: index 'documentsindex': failed to configure some of the sources, will not index.
total 0 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 0 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
解决:
正在解决,先记下错误