狮身人面像search死亡,但子宫locking

我已经在狮身人面像上configuration了一切。 它在使用Putty的命令行界面中工作正常。 即使我能够在下面的命令行界面中进行search,

[root@phpsalzer sphinx]# search -i gplay 'toy' Sphinx 2.0.4-id64-release (r3135) Copyright (c) 2001-2012, Andrew Aksyonoff Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com) using config file '/etc/sphinx/sphinx.conf'... index 'gplay': query 'toy ': returned 1 matches of 1 total in 0.000 sec displaying matches: 1. document=2, weight=1883, app_id=com.disney.ToyStorySmashIt.goo, app_title=Toy Story: Smash It!, app_ratings=4.500000 words: 1. 'toy': 1 documents, 4 hits 

但问题是,我想用PHP获得相同的结果。 但它返回错误,如“ ERROR: Query failed: connection to 172.16.1.77:9312 failed (errno=13, msg=Permission denied).

最后,看到我的狮身人面像端口不在LISTEN后,检查下面的命令,

 service searchd status 

输出结果是: searchd dead but subsys locked

 netstat -tulpen | grep :9312 

输出什么都没有。

请帮助我,接下来我应该怎么做?

尝试先删除binlog文件,然后启动searchd

 rm -f /var/lib/sphinx/binlog.* 

正如Adalbert在http://sphinxsearch.com/forum/view.html?id=7445上所build议的那样

在sphinx conf上试试这个:

binlog_path =#

然后服务searchd重启和服务searchd状态。