当我尝试命令searchd时,它显示:
using config file '/usr/local/etc/sphinx.conf'...
WARNING: compat_sphinxql_magics=1 is deprecated; please update your application and config
listening on all interfaces, port=9312
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
FATAL: bind() failed on 0.0.0.0: Address already in use当我netstat -nlp的时候,在那个端口已经有searchd了。
发布于 2012-07-16 14:21:10
当我~# netstat -nlp时,该端口已经有了"searchd“。
那么,如果您已经在运行搜索,为什么还要开始另一个搜索呢?
如果您确实想运行两个实例(为什么?),那么您应该将它们安排在不同的端口上--每个实例都需要一个单独的配置文件。
发布于 2012-07-16 17:00:29
可能您没有权限或直接访问地址0.0.0.0:9312,或者它已经被另一个进程使用了。
尝试将sphinx searchd配置listen选项更改为另一个地址,或确保地址可用。
https://stackoverflow.com/questions/11504995
复制相似问题