我正在尝试启动Sphinx Search,但它似乎没有启动。我不确定我的配置文件是否不正确,因为当我启动它时,不会显示任何错误。这看起来好吗?
index stories{
type = rt
path = /usr/share/sphinxsearch/data/stories
rt_attr_uint = story_id
rt_field = title
rt_field = description
}
searchd{
listen = 9312
listen = 9306:mysql41
log = /usr/share/sphinxsearch/log/searchd.log
query_log = /usr/share/sphinxsearch/log/query.log
read_timeout = 5
max_children = 30
pid_file = /usr/share/sphinxsearch/log/searchd.pid
sql_sock = /var/run/mysqld/mysqld.sock
max_matches = 1000
seamless_rotate = 1
preopen_indexes = 1
unlink_old = 1
workers = threads # for RT to work
binlog_path = /usr/share/sphinxsearch/data
}
这是我正在运行的命令:
root@largedbapi:/usr/share/sphinxsearch# service sphinxsearch start
sphinxsearch stop/pre-start, process 29399
root@largedbapi:/usr/share/sphinxsearch# pidof sphinxsearch
root@largedbapi:/usr/share/sphinxsearch#