配置linux Sphinx服务默认文件修改
By ✿青歌◞
at 2017-12-17
0人收藏 • 1572人看过
一个是官方的https://github.com/lincanbin/Carbon-Forum/blob/master/docker_resources/sphinx.conf 配置文件
一个是sphinx安装以后的文件 官方给的配置文件跟默认安装的文件路径不一样 已经修改了一部分老大看下改的对不对。附件已传
@lincanbin
- 登录后方可回帖
回复#3 @✿青歌◞ :
你ps里能看到Sphinx的进程吗?
回复#4 @lincanbin :
PID TTY TIME CMD
4868 pts/0 00:00:00 bash
5708 pts/0 00:00:00 vim
6619 pts/0 00:00:00 vim
6736 pts/0 00:00:00 vim
6829 pts/0 00:00:00 vim
6870 pts/0 00:00:00 vim
7003 pts/0 00:00:00 vim
15356 pts/0 00:00:00 ps
好像没有9312
回复#7 @✿青歌◞ :
不在这个库。
回复#8 @lincanbin :
那是在那个库?
回复#10 @lincanbin :
# /usr/local/sphinx/bin/searchd --config /usr/local/sphinx/etc/sphinx.conf
Sphinx 2.2.11-id64-release (95ae9a6)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file '/usr/local/sphinx/etc/sphinx.conf'...
WARNING: key 'sql_query_info' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'charset_type' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'max_matches' was permanently removed from Sphinx configuration. Refer to documentation for details.
FATAL: failed to lock pid file '/usr/local/sphinx/var/log/searchd.pid': Resource temporarily unavailable (searchd already running?)
打开进程就出现这个
回复#12 @✿青歌◞ :
太长了没办法看。
source kms_db
{
type = mysql
sql_host = localhost
sql_user = hz
sql_pass = 12
sql_db = wk
sql_port
这个kms_db 是什么意思 是随便写的 还是数据库