首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >"searchd“显示”致命: bind()在0.0.0.0:已在使用的地址上失败“

"searchd“显示”致命: bind()在0.0.0.0:已在使用的地址上失败“
EN

Stack Overflow用户
提问于 2012-07-16 13:06:47
回答 2查看 8K关注 0票数 3

当我尝试命令searchd时,它显示:

代码语言:javascript
复制
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了。

  • 冲突?
  • 我该怎么办?
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2012-07-16 14:21:10

当我~# netstat -nlp时,该端口已经有了"searchd“。

那么,如果您已经在运行搜索,为什么还要开始另一个搜索呢?

如果您确实想运行两个实例(为什么?),那么您应该将它们安排在不同的端口上--每个实例都需要一个单独的配置文件。

票数 5
EN

Stack Overflow用户

发布于 2012-07-16 17:00:29

可能您没有权限或直接访问地址0.0.0.0:9312,或者它已经被另一个进程使用了。

尝试将sphinx searchd配置listen选项更改为另一个地址,或确保地址可用。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11504995

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档