网站建设技巧讠金手指排名26,郑州专业制作网站费用,网站开发工程师英文简历,在那个网站做义工好最新sphin问题比较多#xff0c;生成主索引后无法连接上sphinx的#xff0c;需要重启searchd进程#xff0c;为了方便管理sphinx#xff0c;参考网上资料#xff1a;http://blog.csdn.net/yagas/article/details/6718532 修改一个适合自己的sphinx管理脚本。[codesyntax…最新sphin问题比较多生成主索引后无法连接上sphinx的需要重启searchd进程为了方便管理sphinx参考网上资料http://blog.csdn.net/yagas/article/details/6718532 修改一个适合自己的sphinx管理脚本。[codesyntax langbash]#!/bin/bash. /etc/rc.d/init.d/functionsappNameSphinxcoreseek_dir/usr/local/coreseekconfig/usr/local/coreseek/etc/csft.confstop(){${coreseek_dir}/bin/searchd -c ${config} --stop /dev/null 21ret$?if [ $ret -eq 0 ]; thenaction $Stoping $appName: /bin/trueelseaction $Stoping $appName: /bin/falsefireturn $ret}start(){${coreseek_dir}/bin/searchd -c ${config} /dev/null 21ret$?if [ $ret -eq 0 ]; thenaction $Starting $appName: /bin/trueelseaction $Starting $appName: /bin/falsefireturn $ret}indexer(){${coreseek_dir}/bin/indexer -c ${config} --all /dev/null 21ret$?if [ $ret -eq 0 ]; thenaction $$appName making index: /bin/trueelseaction $$appName making index: /bin/falsefireturn $ret}case $1 inrestart)stopstart;;indexer)stopindexerstart;;stop)stop;;start)start;;esacexit 0[/codesyntax]