Windows services Sphinx致命:无法分析配置文件
我正在尝试将Sphinx作为Windows启动:Windows services Sphinx致命:无法分析配置文件,windows-services,sphinx,Windows Services,Sphinx,我正在尝试将Sphinx作为Windows启动: searchd.exe --install --config c:\develop\sphinx\cs.config --servicename CSSearch 它已正确安装 但是,当我尝试开始服务时。我得到错误1067。在系统日志中: FATAL:未能分析配置文件“c:\develope\sphinx\cs.config” 当我尝试执行searchd.exe时: searchd.exe --config c:\develop\sphinx\
searchd.exe --install --config c:\develop\sphinx\cs.config --servicename CSSearch
它已正确安装
但是,当我尝试开始服务时。我得到错误1067。在系统日志中:
FATAL:未能分析配置文件“c:\develope\sphinx\cs.config”代码>
当我尝试执行searchd.exe时:
searchd.exe --config c:\develop\sphinx\cs.conf
没关系
如何正确启动searchd作为Win服务
我的cs.conf:
searchd
{
listen = 127.0.0.1:9306:mysql41
pid_file = c:\Develop\sphinx\data\searchd.pid
log = c:\Develop\sphinx\log\sphinx.log
#query_log = c:\Develop\sphinx\log\query.log
binlog_path = c:\Develop\sphinx\data\binlog\
workers = threads
compat_sphinxql_magics = 0
mysql_version_string = 5.5.21
seamless_rotate = 0
}
index address
{
type = rt
dict = keywords
path = c:\Develop\sphinx\data\index\address_index
min_infix_len = 1
enable_star = 1
rt_field = country
rt_field = region
rt_field = city
rt_field = street
}
index bank_detail
{
type = rt
dict = keywords
path = c:\Develop\sphinx\data\index\bank_detail_index
min_infix_len = 1
enable_star = 1
rt_field = bank_name
rt_field = customer_name
rt_field = settlement_account
}
--配置c:\develope\sphinx\cs.config
及
--配置c:\develope\sphinx\cs.conf
它们似乎是不同的文件名 索引的来源在哪里?